Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Struts logic:iterate indexId Question

843838Mar 30 2006 — edited Mar 30 2006
i hava 3 iterations like this
<logic:iterate id="categoryRes" name="categoryRs" property="rows" indexId="i" >
<bean:write name="categoryRes" property="DESCR" />
<bean:define id="itemRs" property="SCORINGITEM_RS" name="categoryRes"/>
<logic:iterate id="itemRes" name="itemRs" property="rows" indexId="j" >
<bean:write name="itemRes" property="LABEL" />
<bean:define id="itemValRs" property="SCORINGITEMVALUE_RS" name="itemRes"/>
<logic:iterate id="itemValueRs" name="itemValRs" property="rows" indexId="k" >


<html:radio name="ScoringTestMineForm" property="scoringDescription" value="VALUE" idName="itemValueRs" indexed="true" ></html:radio>

</logic:iterate>
</logic:iterate>
</logic:iterate>

this renders the radio button in html with index of the most inner iterate (index k), but i need the radio to get the index of the 2nd inner iterate with index j. Is this possible?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 27 2006
Added on Mar 30 2006
1 comment
258 views