You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alessandro Badin <ja...@gmail.com> on 2011/02/17 13:11:12 UTC
Re: T5: onActivate called before onSuccessFrom
Hello guys,
What about I have something like this:
Object onActivate() {
condition = service.findSomething();
return (condition == null) ? OtherPage.class : null;
}
Thanks.
Alessandro Badin
--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-onActivate-called-before-onSuccessFrom-tp2430026p3389328.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: onActivate called before onSuccessFrom
Posted by jqzone <jq...@gmail.com>.
I met this problem before , I change the onActivatereturn type to void .
2011/2/17 Alessandro Badin <ja...@gmail.com>
>
> Hello guys,
>
> What about I have something like this:
>
> Object onActivate() {
> condition = service.findSomething();
> return (condition == null) ? OtherPage.class : null;
> }
>
> Thanks.
> Alessandro Badin
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-onActivate-called-before-onSuccessFrom-tp2430026p3389328.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>