Hi,
I have made a page with a list of checkboxes. These are created with the '<html:multibox>'-tag.
These checkboxes should be checked when the page is loaded and the user has not given input yet. I can not do this via the corresponding ActionForm. The ActionForm uses a list to register all checked options from the list, but not all items from the list. Somehow I can not load this list with all items.
At this moment I solved the problem by using JavaScript. But JavaScript leads to many unpleasant surprises: for instance, when the page is reloaded, or redirected to the same page, all of the list items return unchecked.
Is it possible to do this using
Struts or plain
Java? I would like to know, because extending the page is becoming increasingly difficult.
Thank you in advance,
Albert