Re: multibox checkbox in Logic iterator
Tuesday, April 4, 2006 12:20 PM
I think mutlibox or checkbox always returns a boolean value.
In my application I handled the similar situation by creating vector of objects(each object contains stringMultibox, registoCCB and bflag(boolean) properties) in my action class and set that vector to formbean.
In the reset method of formbean you must set the boolean(bflag) property to false.
so ur jsp looks like this:
You must write get/set method to ccbsVector in Form-bean.
In the action class get the vector and iterate through vector to get the selected checkboxes based on bflag.