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
 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 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:
""


Copyright © 2003-2012 The Apache Software Foundation.