Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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
`java.lang.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).

### value

    public abstract java.lang.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:
    ""

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2012 The Apache Software Foundation.