You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Abhinav (Cognizant)" <Ab...@cal.cognizant.com> on 2003/05/29 17:00:30 UTC
Simple problem.
<logic:iterate id="el" name="<%= l_strFormName %>" property="results" indexId="index">
<html:text property="primKey[bean:write name="index"/>]"/>
</logic:iterate>
primKey is an Array in the Fom Bean. So I have to Index it in the <html:text .. tag.
My html output is <html:text property="primKey[0]"/>
<html:text property="primKey[1]"/>
. . .
Surprisingly,
When I hardcode indices such as
<html:text property="primKey[0]"/>, the proper value is fetched from the Form Bean.
Any Help.
Thanx