The use "accounts" in s:iterator is wrong. It probably works if you can create
something like "new int [7]".
> Date: Fri, 4 Dec 2009 12:50:36 -0600
> Subject: Re: checkbox : unchecked elements not in list
> From: elephant...@gmail.com
> To: user@struts.apache.
> Ideally I would want the accountStatus list to contains a
> list of "true" or
> "false" strings, however accountStatus list only seems to
> contains only the
> checked
> elements...
It looks like you are processing the submitted params
yourself. If that is the case, the browser only gives
yo
Unchecked checkboxes in html forms don't submit a value. If you want true
vs. false submitted back to the Java action, you'll need to use radio
buttons.
-Brian
On Fri, Dec 4, 2009 at 12:31 PM, akoo wrote:
>
> I have following form
>
>
>
>
>
>
> .
>
>
>
>
>
>
> In my action class I ha
3 matches
Mail list logo