You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ron Piterman (JIRA)" <ta...@jakarta.apache.org> on 2005/08/26 12:33:45 UTC

[jira] Commented: (TAPESTRY-599) Form (and submit) Listeners to enable conditional call, dependant on the form's delegate errors

    [ http://issues.apache.org/jira/browse/TAPESTRY-599?page=comments#action_12320120 ] 

Ron Piterman commented on TAPESTRY-599:
---------------------------------------

as a completion:

Add an extra validation listener, which is called at the end of the rendering, before the listener methods are called (<form jwcid="@Form" validationListener="...">

Then, (optionally if no validation error accured) call the submit listener and the form listener.

So you have three methods, each responsible for: validating, action, flow.




> Form (and submit) Listeners to enable conditional call, dependant on the form's delegate errors
> -----------------------------------------------------------------------------------------------
>
>          Key: TAPESTRY-599
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-599
>      Project: Tapestry
>         Type: Wish
>     Reporter: Ron Piterman

>
> It would be great if Submit and Form listener methods will enable making the method call conditional, dependant on the form's delegate validation errors condition.
> This will enable a further declarative behaviour, and a kind of conditional chaining.
> A Submit's listener can do further validation and perform an action.
> A Form's listener can then do the page flow job, and will also (optionally) only be called if the form has no validation errors.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org