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 InjectComponent

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

Allows components defined in the template to be injected as read-only properties.

Optional Element Summary
`java.lang.String` | `value` The name of the component to inject.

### value

    public abstract java.lang.String value

  The name of the component to inject. Defaults to the name of the annotated field.

  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.