wood burning stoves 2.0*
The moose likes Struts and the fly likes Accessing value from bean:write in value attribute of logic:equal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Accessing value from bean:write in value attribute of logic:equal" Watch "Accessing value from bean:write in value attribute of logic:equal" New topic
Author

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

andrew ronchi
Ranch Hand

Joined: Nov 03, 2011
Posts: 38

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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing value from bean:write in value attribute of logic:equal
 
Similar Threads
Iterate Hashmap through struts
logic:iterate & DTO Problem
logic:match , logic:notEqual not working
Nested:iterate
logic:iterate problem