@Target(value={TYPE,METHOD,PARAMETER,FIELD}) @Retention(value=RUNTIME) @Qualifier @Documented public @interface View
The presence of this annotation on a target (type, method, parameter or field) within an application is used to indicate that this target is somehow handling a Faces View Id or Ids.
The exact way in which such view is handled depends on the annotated element in question.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
value
Set the Faces View Id pattern.
|
public abstract java.lang.String value
Set the Faces View Id pattern.
The Faces View Id pattern can represent a single view, such as "/index.xhtml", or a pattern like "/foo/bar/*". Though the exact interpretation of the Faces View Id for a single view is ultimately defined by the annotated element, in general it should align with the return value from an action expression (seeActionSource2.setActionExpression(jakarta.el.MethodExpression)