>public Object onSuccess () {
>if (authenticationService.login (login, password) != null) {
>return (Main.class);
>}
>return (Index.class);
>}
>
> }
> --
> View this message in context:
>public Object onSuccess () {
>if (authenticationService.login (login, password) != null) {
>return (Main.class);
>}
>return (Index.class);
>}
>
> }
> --
> View this message in context:
> http://
);
}
return (Index.class);
}
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Reusable-login-component-tp3279297p3280031.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To
Hi, Katia!
On Thu, 25 Nov 2010 06:13:48 -0200, Katia Aresti
wrote:
There are always several ways to do the same thing.
@Thiago Doing with events like this, does not come up to the same to same
thing ? In the end I have to catch the event on my page to decide where
to go. So, why not telli