I learned this mistake the hard way- the behavior I noticed was that it looked 
like my form was being submitted twice.

So I remove the listener reference from the <form> tag and instead just relied 
on the button to submit the form.

-jason

On Sunday 16 October 2005 02:02, Kent Tong wrote:
> Alan Chandler <alan <at> chandlerfamily.org.uk> writes:
> > If I have a listener on a form AND a action listener on a submit button,
> > what happens when the submit button listener returns non null?
>
> Each will be executed at its designed time of execution. They don't know
> about each other.
>
> > Does the form listener get executed?,
>
> Yes.
>
> > or do I get an immediate redirect to the page represented by the return
> > value?
>
> The page you activate will be loaded only after the rewind phase is
> finished and when the render phase is started.
>
> --
> Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Jason L. Buberel -- [EMAIL PROTECTED] -- www.buberel.org
+1.650.483.1989  -- jabber:[EMAIL PROTECTED]

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

Reply via email to