I am having a bit of a problem getting to grips with checking dynamically generated multiboxes by default, and any pointers would be very much appreciated.
I understand that in order to check a multibox option, the value of the multibox item should be inlcuded in the array of values for the multibox (this is explained quite nicely at http://husted.com/struts/tips/007.html
In order to check a value by default as I understand it, the value could be added to the array in the Form's constructor.
My problem is that I am creating the multibox items on the fly, and so do not know the values to add to the array when I construct the Form bean. How can I get around this?
Again, any insight appreciated.
[ December 05, 2004: Message edited by: Jon Entwistle ]