org.apache.tapestry5.annotations
Annotation Type Id


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

Optional annotation, used with Inject, which exists to provide the id of an object when it can not be determined by other means (such as from the field name). Currently, this is used when injecting a Block.


Required Element Summary
 String value
          The id.
 

Element Detail

value

public abstract String value
The id.



Copyright © 2003-2012 The Apache Software Foundation.