You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by dr...@apache.org on 2010/01/11 20:50:43 UTC
svn commit: r898031 -
/tapestry/tapestry5/trunk/src/site/apt/guide/persist.apt
Author: drobiazko
Date: Mon Jan 11 19:50:43 2010
New Revision: 898031
URL: http://svn.apache.org/viewvc?rev=898031&view=rev
Log:
TAP5-810: Improve documentation of @Persist annotation
Modified:
tapestry/tapestry5/trunk/src/site/apt/guide/persist.apt
Modified: tapestry/tapestry5/trunk/src/site/apt/guide/persist.apt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/apt/guide/persist.apt?rev=898031&r1=898030&r2=898031&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/apt/guide/persist.apt (original)
+++ tapestry/tapestry5/trunk/src/site/apt/guide/persist.apt Mon Jan 11 19:50:43 2010
@@ -57,6 +57,11 @@
The flash is typically used to store temporary messages that should only be displayed to the user
once.
+
++----+
+ @Persist(PersistenceConstants.FLASH)
+ private String message;
++----+
* client strategy
@@ -73,7 +78,11 @@
Use client persistence with care, and store a minimal amount of data. Try to store the identity (that is,
primary key) of an object, rather than the object itself.
-
+
++----+
+ @Persist(PersistenceConstants.CLIENT)
+ private String message;
++----+
Persistence Search