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.

THanks in advantage

Rudi

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to