aspose file tools
The moose likes Struts and the fly likes Collection in logic iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Collection in logic iterate" Watch "Collection in logic iterate" New topic
Author

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.
Thanks
Miguel
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
Pankaj
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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Collection in logic iterate
 
Similar Threads
How to break from the struts logic:iterate tag ?
struts' html:radio help
Logic:iterate for iterating for value of the counter variable
logic iterate
Passing parameters to a reused table in the same definition page