You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ryan <cr...@gmail.com> on 2005/05/09 04:45:45 UTC
login component and perstistent properties
I am creating a tapestry application with a login component that is
rendered on every page. If the user chooses to login on any given page
they should be redirected back to the page in the state they were
viewing it in. I am sure just about everyone on the list has done
something like this =)
In an effort to remain stateless as long as possible I would prefer
not to use a persistent property to store the ICallback property
across rendering of the page. What is the recommended approach people
take to solve this problem? Take the bite and use a persistent
property or build client side property persistence into my login
compont to remember the callback?
thanks,
ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: login component and perstistent properties
Posted by Robert Zeigler <ro...@scazdl.org>.
Ryan wrote:
> I am creating a tapestry application with a login component that is
> rendered on every page. If the user chooses to login on any given page
> they should be redirected back to the page in the state they were
> viewing it in. I am sure just about everyone on the list has done
> something like this =)
>
> In an effort to remain stateless as long as possible I would prefer
> not to use a persistent property to store the ICallback property
> across rendering of the page. What is the recommended approach people
> take to solve this problem? Take the bite and use a persistent
> property or build client side property persistence into my login
> compont to remember the callback?
Check out the "Hidden" component, which you could stick into your login
form to store the ICallback in a non-session-dependent manner.
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: login component and perstistent properties
Posted by Patrick Casey <pa...@adelphia.net>.
Can't you just stuff the current page properties into your login
page and persist it there? Then after a successful login, activate the
(previous page) and repersist?
Or are you looking for details on how to specifically achieve this?
--- Pat
> -----Original Message-----
> From: Ryan [mailto:crumley@gmail.com]
> Sent: Sunday, May 08, 2005 7:46 PM
> To: Tapestry users
> Subject: login component and perstistent properties
>
> I am creating a tapestry application with a login component that is
> rendered on every page. If the user chooses to login on any given page
> they should be redirected back to the page in the state they were
> viewing it in. I am sure just about everyone on the list has done
> something like this =)
>
> In an effort to remain stateless as long as possible I would prefer
> not to use a persistent property to store the ICallback property
> across rendering of the page. What is the recommended approach people
> take to solve this problem? Take the bite and use a persistent
> property or build client side property persistence into my login
> compont to remember the callback?
>
> thanks,
> ryan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org