org.apache.tapestry.record
Class AppClientPropertyPersistenceScope
java.lang.Object
org.apache.tapestry.record.AbstractPrefixedClientPropertyPersistenceScope
org.apache.tapestry.record.AppClientPropertyPersistenceScope
- All Implemented Interfaces:
- ClientPropertyPersistenceScope
public class AppClientPropertyPersistenceScope
- extends AbstractPrefixedClientPropertyPersistenceScope
Defines the 'app' scope for persisting client properties. Persist the properties in all cases.
- Since:
- 4.0
- Author:
- Mindbridge
- See Also:
ClientPropertyPersistenceScope
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppClientPropertyPersistenceScope
public AppClientPropertyPersistenceScope()
shouldEncodeState
public boolean shouldEncodeState(ServiceEncoding encoding,
String pageName,
PersistentPropertyData data)
- Always returns true.
- Parameters:
encoding
- identifies the service, URL and base set of parameterspageName
- the page for which data is potentially to be encodeddata
- The data to check.
- Returns:
- true if state should be encoded into the encoding, false otherwise
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.