public class FlashPersistentFieldStrategy extends AbstractSessionPersistentFieldStrategy
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 and Description |
|---|
FlashPersistentFieldStrategy(Request request) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
didReadChange(Session session,
String attributeName)
Called after each key is read by
AbstractSessionPersistentFieldStrategy.gatherFieldChanges(String). |
convertApplicationValueToPersisted, convertPersistedToApplicationValue, discardChanges, gatherFieldChanges, postChangepublic FlashPersistentFieldStrategy(Request request)
protected void didReadChange(Session session, String attributeName)
AbstractSessionPersistentFieldStrategyAbstractSessionPersistentFieldStrategy.gatherFieldChanges(String). This implementation does nothing,
subclasses may override.didReadChange in class AbstractSessionPersistentFieldStrategysession - the session from which a value was just readattributeName - the name of the attribute used to read a value5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.