Posted By:
Raji_Sriram
Posted On:
Wednesday, January 16, 2002 02:12 PM
I have an application where, on submitting the form, I need all the data inside the select box. But the form bean stores just the ones that were selected. If I select all explicitly, everything gets highlighted which does not give a good look. Is there a work around? One solution I thought of is to have a hidden select box that would duplicate the original select box and in the Action class, we could take the values of the hidden one. But, I think there should be a better way to do it. Thanks in advance for any help you may provide.
More>>
I have an application where, on submitting the form, I need all the data inside the select box.
But the form bean stores just the ones that were selected.
If I select all explicitly, everything gets highlighted which does not give a good look.
Is there a work around?
One solution I thought of is to have a hidden select box that would duplicate the original select box
and in the Action class, we could take the values of the hidden one.
But, I think there should be a better way to do it.
Thanks in advance for any help you may provide.
<<Less