This week's giveaways are in the MongoDB and Jobs Discussion forums. We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line! See this thread and this one for details.
Has anyone tried the logic:iterate over a OrderedMap full of beans? I have a OrderedMap called "catList" in my session. This OrderedMap has a bean called CatBean with GetCatId and GetCatName methods, returning catId and catName respectively. Now, how do I use logic:iterate to iterate over the map?
Please help. Thanks.
Joined: Jul 21, 2004
Its just like other java.util structures,
<logic:iterate id="var" name="formname" property="propname"> // Write the corresponding tags using var </logic:iterate>
Joined: Sep 15, 2005
After all it was not as easy as i thought it would be. Here is a solution that worked :