Package org.apache.tapestry5.annotations

# Annotation Type Path

@Target({FIELD,PARAMETER}) @Documented @Retention(RUNTIME) @UseWith({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
  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 Details

  - ### value

    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.