You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2011/01/02 20:53:24 UTC

[Tapestry Wiki] Trivial Update of "SessionPagePersistence" by BobHarner

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.

The "SessionPagePersistence" page has been changed by BobHarner.
The comment on this change is: outdated note.
http://wiki.apache.org/tapestry/SessionPagePersistence?action=diff&rev1=6&rev2=7

--------------------------------------------------

+ || NOTE: This is outdated information that applies only to Tapestry 4. For current information on page-level persistence, see http://tapestry.apache.org/persistent-page-data.html ||
+ 
  Tapestry's session persistence is great, but some times you just want a value to work like a "session page instance variable" - only around while the user is working within a page (calling listener methods on that page, but not rendering any other page).  This strategy avoids all the problems of using real instance variables in a page object.
  
  Values are discarded if the last page rendered was not the same as the current page being rendered (see below for another implementation).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org