thanks rob and danny.

i was curious is i can turn on/off the @ValidFiled validators programatically from my java code?


From: Robert Zeigler <[EMAIL PROTECTED]>
Reply-To: "Tapestry users" <[email protected]>
To: Tapestry users <[email protected]>
Subject: Re: order of listeners on rewind
Date: Fri, 15 Jul 2005 15:54:45 -0500

Quick clarification:
  As Danny Mandel pointed out, only one submit button listener will be
called.
However, you can have a listener on a button and a listener on the form.
The "Hidden" component also takes a listener, which is always invoked on
form rewind.

Robert

Robert Zeigler wrote:
> Can't say for tap4, but, yes, that is true for tap3.
> Listeners are always called in the order in which their components
> appear on the page.
> In tap4, there is a "deferred" parameter which, I believe, defaults to
> true.  In this case, listener execution is delayed until the end of the
> form processing.  I don't know whether deferred listener execution order
> is preserved or not (but I assume it is...)
>
> Robert
>
> Dan   wrote:
>
>>does the page always rewind in a specific order?
>>
>>like
>>
>><form>
>><input type="submit" jwcid="@Submit" listener="ognl:listeners.callA"
>>value="Submit"/>
>><input type="submit" jwcid="@Submit" listener="ognl:listeners.callB"
>>value="Submit"/>
>></form>
>>
>>i notice that callA() is always called b4 callB(). Can i rely on this
>>sequence, always, ie callA will be called always before callB! There is
>>a complex form page i have and relying on the rewind sequence can
>>"really" ease my app logic :)
>>
>>thanks!
>>
>>_________________________________________________________________
>>FREE pop-up blocking with the new MSN Toolbar – get it now!
>>http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>>
>>
>>---------------------------------------------------------------------
>>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]


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


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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

Reply via email to