Hi Rudi,
Am 28.01.2009 um 19:16 schrieb Rudi1:
Hi.
I do have 2 lists in my formbean, one for the checkoxtypes[A,B,C,D]
and one
for knowing which checkbox is on / off [checkboxstate]
In my jsp I do iterate over the checkboxtypes List and for every
checkboxtype I generate a struts:checkbox with property set to
checkboxstate[index] and value = 1 ; All works fine except that I'm
facing
prolem when checkbox isn't checked in my formbean. Then there are of
course
only 2 elements in my checkboxstate list which means that indexes
aren't in
the right order anymore [when for example 2nd box was
unchecked... ] ..
So in short, is there an easy workaround for this problem. I do have
to show
the user checked and unchecked buttons ?
I'm completely new to struts, that's why I'm asking.
Please post questions like this to the struts-user mailing list. This
list is for the development for struts itself. For more information see
http://struts.apache.org/mail.html
Bye,
-Ralf
THanks in advantage
Rudi
--
View this message in context:
http://www.nabble.com/Struts-checkboxes-tp21711540p21711540.html
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org