> Why should it perform validation? A user will often press an action
> button when the form is not completed yet and will thus obviously be
> full of validation errors.

It's a misunderstanding on my part - I'm used to XMLForms where submit
buttons are kind of actions (the request parameter is prefixed with
cocoon-action).

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> ]On Behalf Of Bruno Dumon
> Sent: 09 October 2003 21:45
> To: [EMAIL PROTECTED]
> Subject: Re: Woody - action widget disables validation
>
>
> On Thu, 2003-10-09 at 16:06, Mark H wrote:
> > Can someone tell me why an action widget disables validation in Woody?
>
> Why should it perform validation? A user will often press an action
> button when the form is not completed yet and will thus obviously be
> full of validation errors.
>
> There is now however a "submit" widget, which is identical to the action
> widget, but also performs validation. You may try that one.
>
> <snip/>
> >     <wd:action id="login" action-command="login">
> >             <wd:label>Login</wd:label>
> >     </wd:action>
> > </wd:form>
> <snip/>
>
> Why are you using an action widget here (instead of a normal form
> submit)?
>
> --
> Bruno Dumon                             http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> [EMAIL PROTECTED]                          [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to