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

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element | Description
    --- | --- | ---
    `java.lang.String` | `value` | The activation context value, case sensitive.

- - ### Element Detail

    - #### value

          java.lang.String value

      The activation context value, case sensitive. Empty values or ones with spaces are forbidden.