org.apache.tapestry5.annotations

## Annotation Type InjectPage

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

  Allows a a page (really, the root component of the page) to be injected into another component as a read-only field.

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `value` The name of the page to inject, which is used when the field type is not sufficient to identify the page (for example, when the field type is an interface implemented by the page).

- - ### Element Detail

    - #### value

          public abstract String value

      The name of the page to inject, which is used when the field type is not sufficient to identify the page (for example, when the field type is an interface implemented by the page). A non-blank value here overrides the lookup by class name (from the field type).
      Default:
        ""

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.