Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hi friend  RSS feed

 
lee anthony
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<% 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>
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!