|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.record.AbstractPrefixedClientPropertyPersistenceScope
org.apache.tapestry.record.PageClientPropertyPersistenceScope
public class PageClientPropertyPersistenceScope
Defines the 'page' scope for persisting client properties. Persist the properties only if the current page name is the same as that of the property.
ClientPropertyPersistenceScope
Constructor Summary | |
---|---|
PageClientPropertyPersistenceScope()
|
Method Summary | |
---|---|
boolean |
shouldEncodeState(ServiceEncoding encoding,
IRequestCycle cycle,
java.lang.String pageName,
PersistentPropertyData data)
Returns true if the active page name matches the page for this property. |
Methods inherited from class org.apache.tapestry.record.AbstractPrefixedClientPropertyPersistenceScope |
---|
constructParameterName, extractPageName, isParameterForScope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageClientPropertyPersistenceScope()
Method Detail |
---|
public boolean shouldEncodeState(ServiceEncoding encoding, IRequestCycle cycle, java.lang.String pageName, PersistentPropertyData data)
encoding
- identifies the service, URL and base set of parameterscycle
- current requestpageName
- the page for which data is potentially to be encoded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |