Re: Redirect on login

2008-03-17 Thread Gabriel Landais
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

RE: Redirect on login

2008-03-14 Thread Cordenier Christophe
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

Re: Redirect on login

2008-03-14 Thread Stephane Decleire
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

RE: Redirect on login

2008-03-14 Thread Cordenier Christophe
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

RE: Redirect on login

2008-03-14 Thread Kristian Marinkovic
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

Redirect on login

2008-03-14 Thread Gabriel Landais
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