cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@apache.org>
Subject Re: XMLForms and checkboxes
Date Wed, 15 Jan 2003 04:04:16 GMT

XMLForm handles automatically unchecked check-boxes when the form is session
scope.
Overriding the reset method is the appropriate place to handle them for
request scope.
See this:
http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard-4.htm
l


Ivelin


----- Original Message -----
From: "Mark Horgan" <me@markhorgan.com>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, January 14, 2003 2:26 PM
Subject: XMLForms and checkboxes


> Just checking: is it true that request xmlforms don't handle checkboxes if
> they are unchecked? If so has anybody found a way around this apart from
> changing the scope of the forms to session? Before cocoon I used to send
the
> checkbox element names as hidden elements and compare them with the
request
> parameters when they came through and then update the form model
> accordingly. I'm looking through XMLFormTransformer.java but I don't know
> where to start.
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message