org.apache.tapestry5.annotations
Annotation Type Path


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

Used in conjunction with the Inject annotation to inject an Asset based on a path.


Required Element Summary
 String value
          The path to the resource; if prefixed (say with "classpath:") then its a complete path within the identified namespace; otherwise it's a relative path from the class containing the annotation.
 

Element Detail

value

public abstract String value
The path to the resource; if prefixed (say with "classpath:") then its a complete path within the identified namespace; otherwise it's a relative path from the class containing the annotation. Symbols will be expanded.



Copyright © 2003-2012 The Apache Software Foundation.