• Post Reply Bookmark Topic Watch Topic
  • New Topic

custom tags, nested

 
geeta lalchandani
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a situation where i have a for loop, and then another for loop in the enclosing one. On every iteration of the for loop(inner), i need to evaluate the body.. (i set some parametrs in the pageecontext) amd they are displayed.

Now, the state of both the loops is to be maintained, i cannot use the SimpleTag, will have to use the ClassicTags only.

I extend BodyTagSupport, but then the counter of the inner for loop gets reset, on doAfterBody, any ideas of how can i implement it??
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!