org.apache.tapestry5.annotations

## Annotation Type Environmental

-     @Target(value=FIELD)
       @Documented
       @Retention(value=RUNTIME)
       @UseWith(value={COMPONENT,MIXIN,PAGE})
      public @interface Environmental

  Defines a field of a component class that is replaced at runtime with a read-only value obtained from the `Environment` service. Most commonly, the field will be of type `JavaScriptSupport`, `Heartbeat` or `FormSupport`, though many other options are possible.

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `value` The value determines if the environmental service to be injected is required or not.

- - ### Element Detail

    - #### value

          public abstract boolean value

      The value determines if the environmental service to be injected is required or not. In most cases, it is, so the default is true.
      Default:
        true

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.