org.apache.tapestry.annotations
Annotation Type InjectComponent


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface InjectComponent

Annotation for injecting a nested component. The component must be defined in the template or specification; this is effectively a wrapper around IComponent.getComponent(String).

Since:
4.0
Author:
Howard M. Lewis Ship

Required Element Summary
 String value
          The value is the id of the component.
 

Element Detail

value

public abstract String value
The value is the id of the component.



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.