http://struts.apache.org/2.1.6/docs/ognl-basics.html


senderj wrote:
If I have a text input in my jsp named scoreNdays, I know I should declare my
variable scoreNdays in the struts formbean with getter and setter like
getScoreNdays(). Then it will work with the jsp. Now I have an iternation in
my jsp like
<logic:iterate name="MainControlForm" property="scoreItems" id="score">
<html:checkbox name="score" property="scoreChkBox" indexed="true"/>
<html:text name="score" property="scoreNdays" size="2" readonly="true"
indexed="true"/>
.....

Since the two input are indexed, they generate a web form that post with
parameter like score[1].scoreNdays. Then I don't know how I should declare
the corresponding variables and getter setter in the formbean. Please help.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to