Package org.apache.tapestry5.annotations
Annotation Type InjectPage
-
@Target(FIELD) @Documented @Retention(RUNTIME) @UseWith({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 Description 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).
-
-
-
Element Detail
-
value
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:
- ""
-
-