public class PageClientPropertyPersistenceScope extends AbstractPrefixedClientPropertyPersistenceScope
ClientPropertyPersistenceScope
Constructor and Description |
---|
PageClientPropertyPersistenceScope() |
Modifier and Type | Method and Description |
---|---|
void |
setRequestCycle(IRequestCycle requestCycle) |
boolean |
shouldEncodeState(ServiceEncoding encoding,
java.lang.String pageName,
PersistentPropertyData data)
Returns true if the active page name matches the page for this property.
|
constructParameterName, extractPageName, isParameterForScope
public PageClientPropertyPersistenceScope()
public boolean shouldEncodeState(ServiceEncoding encoding, java.lang.String pageName, PersistentPropertyData data)
encoding
- identifies the service, URL and base set of parameterspageName
- the page for which data is potentially to be encodedpublic void setRequestCycle(IRequestCycle requestCycle)