Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
andrew ronchi
Ranch Hand
Posts: 48
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"/>
</logic:equal>
</logic:iterate>
</logic:iterate>
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic