|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy
org.apache.tapestry5.internal.services.FlashPersistentFieldStrategy
public class FlashPersistentFieldStrategy
The "flash" strategy stores data inside the session
, just like SessionPersistentFieldStrategy
, but also removes the values from the session on first use. In this way, a short-term
value (such as an error message) will "survive" from an action request to a render request and then disappear.
Constructor Summary | |
---|---|
FlashPersistentFieldStrategy(Request request)
|
Method Summary | |
---|---|
protected void |
didReadChange(Session session,
java.lang.String attributeName)
Called after each key is read by AbstractSessionPersistentFieldStrategy.gatherFieldChanges(String) . |
Methods inherited from class org.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy |
---|
convertApplicationValueToPersisted, convertPersistedToApplicationValue, discardChanges, gatherFieldChanges, postChange |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlashPersistentFieldStrategy(Request request)
Method Detail |
---|
protected void didReadChange(Session session, java.lang.String attributeName)
AbstractSessionPersistentFieldStrategy
AbstractSessionPersistentFieldStrategy.gatherFieldChanges(String)
. This implementation does nothing,
subclasses may override.
didReadChange
in class AbstractSessionPersistentFieldStrategy
session
- the session from which a value was just readattributeName
- the name of the attribute used to read a value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |