Package org.apache.tapestry5.annotations
Annotation Type StaticActivationContextValue
-
@Target(PARAMETER) @Retention(RUNTIME) @Documented @UseWith({PAGE,COMPONENT,MIXIN}) public @interface StaticActivationContextValue
Annotation that may be placed on parameters of event handler methods to define them as having a static value. If, in a given request, the activation context value for that parameter doesn't match the static value, the event handler method won't be called. This is particularly useful for REST endpoint event handler methods in pages.- Since:
- 5.8.0