agreed. push at the beginning of the invocation and pop at the end.
Antonio Petrelli wrote:
2007/2/5, David H. DeWolf <[EMAIL PROTECTED]>:
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