Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing value from bean:write in value attribute of logic:equal  RSS feed

andrew ronchi
Ranch Hand
Posts: 50
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
m having header_id and header in heeaderList.In second iterate,i want to check the value of header_id from FAQDataList with current
header_id of the first iterate.....but m unable to do....what should i write in value attribute(???)......?

<logic:iterate id="headers" name="faqdataForm" property="headerList">
<bean:write name="headers" property="header" />

<logic:iterate id="data" name="faqdataForm" property="FAQDataList">
<logic:equal name="data" property="header_id" value=???>
<bean:write name="data" property="question"/>
<bean:write name="data" property="answer"/>
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!