I have a variable amount of check boxes with the same name. I want to
submit all of the check boxes weather they are checked or not. Right
now I only get an of array for the ones that are checked.
My form has x number of 'Name' text fields x number of 'Activate'
check boxes for another.
The
Which version of Struts?
S2 has this capability built-in.
S1 can use the same technique by including a hidden
form field.
d.
--- Richard Sayre [EMAIL PROTECTED] wrote:
I have a variable amount of check boxes with the
same name. I want to
submit all of the check boxes weather they are
I am using struts 2. Right now when I submit I only get the values of
the checked boxes by default.
On 10/31/07, Dave Newton [EMAIL PROTECTED] wrote:
Which version of Struts?
S2 has this capability built-in.
S1 can use the same technique by including a hidden
form field.
d.
--- Richard
Default stack?
--- Richard Sayre [EMAIL PROTECTED] wrote:
I am using struts 2. Right now when I submit I only
get the values of
the checked boxes by default.
On 10/31/07, Dave Newton [EMAIL PROTECTED]
wrote:
Which version of Struts?
S2 has this capability built-in.
S1 can use the
I have a variable amount of check boxes with the same name.
I want to submit all of the check boxes weather they are
checked or not. Right now I only get an of array for the
ones that are checked.
Sorry, that's the way HTML works. Checkboxes values are sent only when
the box is checked.
If you're using S2's default stack and the S2 checkbox
tags the hidden fields are created for you.
d.
--- Slattery, Tim - BLS [EMAIL PROTECTED]
wrote:
I have a variable amount of check boxes with the
same name.
I want to submit all of the check boxes weather
they are
checked or not.
6 matches
Mail list logo