Hi,

I'm becoming mad ...

Explain : to handle ActionForm boolean properties with HTML checkbox, we
"need"
To initialize the property as "false" in the reset() method of the
ActionForm .. Ok

Now, if the Action form is defined in the session scope in the
struts-config file
The first time the action is called, the bean is put in session scope.

The next time (eg submit of another form on the same page), the bean is
readed from session scope (RequestProcessor.processActionForm) ... ok
After that, the reset() method is called
(RequestProcessor.processPopulate)

So it's impossible to keep the boolean property as "true" ....

How can I store the form bean in the session scope with a "true" boolean
property ?
Or maybe is there a way to not initialize the boolean properties as
"false" (and update them with checkboxes )

Is my problem understandable ??

Thanks ...

Franck Lefebure
equipe web http://www.orangecaraibe.com
collaborateur http://www.synaxis-partner.com
mailto:[EMAIL PROTECTED]
 


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

Reply via email to