zuban wrote:
Hi,
in a FromBean I have a java.util.List (to populate a <html:optionsCollection
.... />).
If I submit the form the List is set to null. For String datatypes I would
use hidden input fields to solve this. But what should I do by a List?

You can either reload the list each time the action is invoked or, if you really want to manage this state client-side, you can serialize it to a set of N hidden fields, where N is the number of elements in the list. Alternatively, you could put the list into session scope the first time you load it and subsequently reference it from there.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to