Package org.apache.tapestry5.annotations
Annotation Type PageActivationContext
-
@Target(FIELD) @Documented @Retention(RUNTIME) @UseWith(PAGE) public @interface PageActivationContext
Annotation for a field for which the page activation context handlers (onActivate and onPassivate) should be created. In order to use this annotation you must contribute aValueEncoder
for the class of the annotated property. If using this annotation more than once per page class you must specify unique indexes for each. Indexes must start at 0 and increment by 1 (eg. if 3 annotations are present they must have indexes of 0, 1 and 2)