• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

custom tags, nested

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??
 
reply
    Bookmark Topic Watch Topic
  • New Topic