cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark H" <mailingli...@markhorgan.com>
Subject RE: Woody - action widget disables validation
Date Fri, 10 Oct 2003 09:54:07 GMT
> 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: users-return-56445-mailinglists=markhorgan.com@cocoon.apache.org
> [mailto:users-return-56445-mailinglists=markhorgan.com@cocoon.apache.org
> ]On Behalf Of Bruno Dumon
> Sent: 09 October 2003 21:45
> To: users@cocoon.apache.org
> 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
> bruno@outerthought.org                          bruno@apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>



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


Mime
View raw message