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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to