Package jakarta.faces.annotation
Annotation Type View
- 
 @Target({TYPE,METHOD,PARAMETER,FIELD}) @Retention(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. - Since:
- 4.0
 
- 
- 
Element Detail- 
valueString 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)- Returns:
- the Faces View Id pattern
 - Default:
- ""
 
 
- 
 
-