Cordenier Christophe a écrit :
In fact, this is a better solution if you have an activation context.
So to achieve this, we still may use the "ComponentResources" class and its
"createPageLink" method
Christophe.
Thanks all, it works great now :
@ApplicationState
private SimExplorerSt
vendredi 14 mars 2008 12:05
À : Tapestry users
Objet : Re: Redirect on login
I would recommend to store a Link (which can contain the page name and
the context of the request) and return this link in the success method.
Stephane
Cordenier Christophe a écrit :
> Why do you not store the page
ndais [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 14 mars 2008 11:36
À : Tapestry users
Objet : Redirect on login
Hi,
when a user try to connect to my app, it checks if user is logged.
I'm trying to redirect him to page is was trying to access, but I don't
know how to do it in Tapestry
state
resources.getPageName();
Hope this helps
Christophe.
-Message d'origine-
De : Gabriel Landais [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 14 mars 2008 11:36
À : Tapestry users
Objet : Redirect on login
Hi,
when a user try to connect to my app, it checks if user is logged
2008 11:35
Bitte antworten an
"Tapestry users"
An
Tapestry users
Kopie
Thema
Redirect on login
Hi,
when a user try to connect to my app, it checks if user is logged.
I'm trying to redirect him to page is was trying to access, but I don't
know how to do it in Tapestry
Hi,
when a user try to connect to my app, it checks if user is logged.
I'm trying to redirect him to page is was trying to access, but I don't
know how to do it in Tapestry way. With plain old sendRedirect of
servlet response it works, but not as clean as it should.
All pages inherits of this p