--- Marcos Mendonça <[EMAIL PROTECTED]> wrote:
> Say I want to generate input fields and name them
> according to the iterator value. How would I do
that?
> 
> <s:generator val="%{getTamanhoGrupo()}" separator=""
> count="%{getTamanhoGrupo()}">
>         <s:iterator value="%{top}">
>                   <s:textfield name="dynaField.area" size="2"
> value="11">
>                   </s:textfield>
>         </s:iterator>
> </s:generator>

You'd probably just want to use the "status" attribute
of the <s:iterator...> tag and use it to build the
name of the text field, although you might want to
consider using array/map notation to clean things up
on the action side.

d.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to