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
 java.lang.String value
          The persistence strategy, defaulting to "session" (meaning, in the HttpSession, as a session attribute).
 

value

public abstract java.lang.String value
The persistence strategy, defaulting to "session" (meaning, in the HttpSession, as a session attribute). Tapestry includes another strategy, "client", and additional strategies can be defined.

Default:
"session"