tiles-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: svn commit: r503628 - in /tiles/framework/trunk: tiles-api/src/main/java/org/apache/tiles/TilesContainer.java tiles-core/src/main/java/org/apache/tiles/impl/BasicTilesContainer.java
Date Mon, 05 Feb 2007 14:01:08 GMT
2007/2/5, David H. DeWolf <ddewolf@apache.org>:
> But wouldn't it be better to simply modify the container to
> appropriately scope the attributes?
> For intance, could there be a stack
> that we pop off when the attributes get out of scope?

I think that you need to call some methods to "push" (at tag's start)
and "pop" (at tags end) the corresponding ComponentContext.
If it is the case, you're right, the solution is cleaner (and
<tiles:insertTemplate> will work better I suppose).

Antonio

Mime
View raw message