|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface IValuePersister
Wicket users and developers should not need to care about where or how form values are saved. An implementer of IValuePersister persister is responsible for storing and retrieving FormComponent values. Different means of storing values for form components may be implemented. CookieValuePersister, for example, uses an HTTP cookie to persist the value of a form component. Other implementations may instead persist form values to server-side storage for security reasons.
Method Summary | |
---|---|
void |
clear(FormComponent<?> formComponent)
Deprecated. Remove the key/value associated witht the formComponent |
void |
clear(String key)
Deprecated. Remove the key/value pair |
void |
load(FormComponent<?> formComponent)
Deprecated. Retrieve the persisted value and if found update the form components model |
String |
load(String key)
Deprecated. Retrieve the key from the persistence store |
void |
save(FormComponent<?> formComponent)
Deprecated. Convenience method for FormComponent. |
void |
save(String key,
String value)
Deprecated. Saves the key/value pair |
Method Detail |
---|
void save(String key, String value)
key
- The key to identify the entryvalue
- The valuevoid save(FormComponent<?> formComponent)
formComponent
- String load(String key)
key
- The key to identify the entry
void load(FormComponent<?> formComponent)
formComponent
- void clear(String key)
key
- The key to identify the entryvoid clear(FormComponent<?> formComponent)
formComponent
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |