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

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `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.

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.