You need to iterate the list with an status variable and produce
hidden fields of the following form:

<s:hidden name="resend.ids[%{#status.index}]" />

2008/4/23, Steve Akins <[EMAIL PROTECTED]>:
> I have a List called "ids" which contains 4 Strings "22030", "6496",
> "6457", "6448"
>
> When the following tag is used:
> <s:hidden name="resend.ids" />
>
> It produces the following HTML:
>
> <input type="hidden" name="resend.ids" value="[22030, 6496, 6457,
> 6448]" id="/test/resend_resend_ids"/>
>
>
> When the form is submitted the "ids" List is populated with one String
> "[22030, 6496, 6457, 6448]" instead of 4 Strings "22030", "6496",
> "6457", "6448".
>
>
> This looks like a problem with how the XWorkBasicConverter is working
> or I have just not figured out how to do this yet.
>
> I would have thought that there's support for passing a List through a
> form without the need for creating a custom converter for this.
>
> Does anyone have any ideas on how to overcome this problem?
>
>
> Regards,
> Steve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to