@Target(value=FIELD) @Retention(value=RUNTIME) @Documented @UseWith(value=PAGE) public @interface ActivationRequestParameter
Link
(via the EventConstants.DECORATE_COMPONENT_EVENT_LINK
or
EventConstants.DECORATE_PAGE_RENDER_LINK
events).
The field may be of any type; a ValueEncoder
(from the ValueEncoderSource
) will be used to convert
between client-side and server-side representations. Null values are not added as query parameters (just non-null).
When a page is activated, the mapped fields will receive their values before an activate event handler method is invoked.
This annotation is an alternative to Persist
.
Fields annotated with ActivationRequestParameter are not considered persistent (its a process parallel to the one
related to the Persist
annotation). Invoking ComponentResources.discardPersistentFieldChanges()
will
not affect annotated fields, only assigning them back to null will.RequestParameter
,
ValueEncoder
public abstract String value
public abstract boolean required
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.