| Author |
hi friend
|
lee anthony
Ranch Hand
Joined: Jan 23, 2004
Posts: 35
|
|
i am facing promelem when iam replacing the scriplet with logic :equal I mean array indexes needs to be properly mapped between both the independent beans if we are using struts <logic:iterate> tag. that is my problem. unfortunately we can use scriplets in view please do rely lee
|
 |
lee anthony
Ranch Hand
Joined: Jan 23, 2004
Posts: 35
|
|
<% String catCatId; %> <logic:iterate id="category" name="categories"> <% catCatId = category.getId(); %> Place rest for <bean:write > and HTML here for category <logic:iterate id="idea" name="ideas" > <% if (catCatID.equals(idea.getCatId())) { %> Place rest for <bean:write > and HTML here for idea <% } %> </logic:literate> </logic:literate>
|
 |
 |
|
|
subject: hi friend
|
|
|