struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luciano Costa" <mont...@gmail.com>
Subject [S2] Why is it so difficult ?
Date Mon, 02 Jul 2007 18:53:30 GMT
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


Mime
View raw message