This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Collection in logic iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Collection in logic iterate" Watch "Collection in logic iterate" New topic

Collection in logic iterate

Miguel Flecha
Ranch Hand

Joined: Jun 23, 2004
Posts: 85
Hi, what kind of Collection do you use with logic iterate?
I've tried a Vector and it doesn't work.
Pankaj Narang
Ranch Hand

Joined: Jun 07, 2004
Posts: 81
hi flecha

Logic:iterate only works on collection objects other than string , i mean the collection of objects which have properties defined in them(setter and getter method in them) because you can only use bean:write tag to display the values in the collection which requires property tag.

best Regards
Miguel Flecha
Ranch Hand

Joined: Jun 23, 2004
Posts: 85
I don't understand you, could you please give me an example?
I agree. Here's the link:
subject: Collection in logic iterate
It's not a secret anymore!