THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
@Persist private intoint value; |
Flash Strategy
The flash strategy stores information in the session as well, just for not very long. Values are stored into the session, but then deleted from the session as they are first used to restore a page's state.
...
Code Block | ||
---|---|---|
| ||
@Persist(PersistenceConstants.FLASH) private intoint value; |
Client Strategy
The field is persisted onto the client; you will see an additional query parameter in each URL (or an extra hidden field in each form).
...
Code Block | ||
---|---|---|
| ||
@Persist(PersistenceConstants.CLIENT) private intoint value; |
Persistence Strategy Inheritance
...