You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Luciano Costa <mo...@gmail.com> on 2007/07/02 20:53:30 UTC
[S2] Why is it so difficult ?
Hi all,
I'm still trying to get binded these "poll.pollOptions[]" in my Action:
I think this should be easy.. but I'm suffering to get this working..
<@s.textfield name="poll.name" id="poll.name" />
<#assign rowIndex = 0>
<@s.iterator value="poll.pollOptions" >
<@s.textfield name="poll.pollOptions[#{rowIndex}].option" />
<#assign rowIndex = rowIndex + 1>
</...@s.iterator>
The form is loaded correctly, but I can't get array data on pollOptions
after form submission.
Please help!
Thanks,
Luciano
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org