Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 // Copyright 2005 The Apache Software Foundation
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// See the License for the specific language governing permissions and
// limitations under the License.
package org.apache.tapestry.record;
Defines how a persistent property is made persistent. The typical implementation is to store the persistent property into the session as a session attribute.

Howard M. Lewis Ship

Stores the new value.

pageName the name of the page containing the property
idPath the path to the component with the property (may be null)
propertyName the name of the property to be persisted
newValue the new value (which may be null)
    void store(String pageNameString idPathString propertyName,
            Object newValue);

Returns a collection of PropertyChanges. These represent prior changes previously stored. The order is not significant. Must not return null. Does not have to reflect changes made during the current request (this method is typically invoked as part of rolling back a page to a prior state, before any further changes are possible).
    Collection getStoredChanges(String pageName);

Invoked to discard any stored changes for the specified page.
    void discardStoredChanges(String pageName);

Invoked by a , the parameters may be modified (added to) to store information related to persistent properties. This method is forwarded to all PropertyPersistenceStrategys.

encoding Service encoding, which indentifies the URL and the query parameters from which the org.apache.tapestry.engine.ILink will be created.
post if true, then the link will be used for a post (not a get, i.e., for a HTML form); this may affect what information is encoded into the link
See also:
            boolean post);
New to GrepCode? Check out our FAQ X