@Target(value=FIELD) @Documented @Retention(value=RUNTIME) @UseWith(value={COMPONENT,MIXIN,PAGE}) public @interface Persist
Session
.
In most cases, the value will be omitted and will default to the empty string. This forces a search for the correct
strategy. Starting with the component (or mixin) itself, a check is made for the meta data property
tapestry.persistence-strategy
. If a value is found, it is used, otherwise the search continues up the
inheritance hierarchy, towards the page. If not found, then the "session" strategy is used.
In this way, the session persistence strategy for a component and all of its sub-components can be controlled by the
containing component.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.