org.apache.tapestry.annotations
Annotation Type Persist


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface Persist

Allows a property to be marked as persistent (and, optionally, provide control over how the property is persisted).

Since:
4.0
Author:
Howard M. Lewis Ship

Optional Element Summary
 String value
          The persistence strategy, defaulting to "session", as defined on the org.apache.tapestry.default-property-persistence-strategy property (meaning, in the HttpSession, as a session attribute).
 

value

public abstract String value
The persistence strategy, defaulting to "session", as defined on the org.apache.tapestry.default-property-persistence-strategy property (meaning, in the HttpSession, as a session attribute). Tapestry includes another strategy, "client", and additional strategies can be defined.

Default:
""


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.