Hello,
I attached a proposal for the persist page in the guide.
Flash and Client scope didn't have a code sample. I needed to search to
find out how to fill the value parameter in the annotation.
--
Best Regards / Viele Grüße
Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de
Index: src/site/apt/guide/persist.apt
===================================================================
--- src/site/apt/guide/persist.apt (Revision 800829)
+++ src/site/apt/guide/persist.apt (Arbeitskopie)
@@ -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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org