struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aur Gal <>
Subject RE: Dynamic form and checkboxes
Date Thu, 19 Oct 2000 17:28:53 GMT
I'm not sure but I think in this case you would use the struts:multibox.

-----Original Message-----
From: Pierre []
Sent: Thursday, October 19, 2000 12:15 PM
Subject: Dynamic form and checkboxes

Subject: Dynamic form and checkboxes


I forgot to follow the 'dynamic form' thread when the subject was hot, and
now I can't retrieve the posts to pick some ideas...

Here is my 'dynamic form' problem. I must create a form with a collection of
checkboxes to allow the user to choose various options. The checkboxes will
be generated by an application tag, the number and types depending on the

How can I have a dynamical ActionForm class to manage all these checkboxes?
Should I create a *big* class with all setOptionNNN/getOptionNNN functions,
order to support all checkboxes combination or can I write generic get/set
functions using indexed properties? Or is there a better alternative...

Thanks for any hint.
Pierre Metras

View raw message