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 | Class and Description |
|---|---|
| public static class | View.
Supports inline instantiation of the |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| value | back to summary |
|---|---|
| public 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 (seeActionSource#setActionExpression(jakarta.
| |
View annotation.
| Modifier and Type | Field and Description |
|---|---|
| public static final View. | |
| private static final long | |
| private final String |
| INSTANCE | back to summary |
|---|---|
| public static final View. Instance of the | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides jakarta. | |
| value | back to summary |
|---|---|
| private final String value | |
| Literal | back to summary |
|---|---|
| private Literal(String value) | |
| of | back to summary |
|---|---|
| public static View. | |
| value | back to summary |
|---|---|
| public String value() Implements jakarta. Doc from jakarta. 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 (seeActionSource#setActionExpression(jakarta.
| |