Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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
`java.lang.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 java.lang.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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2012 The Apache Software Foundation.