Used inside of the metadata facet of a view, this tag will import a mapping of all constant field values of the given type in the current view.
Constant field values are all public static final
fields of the given type.
The map key represents the constant field name as String
.
The map value represents the actual constant field value.
This works for classes, interfaces and enums.
Info | Value |
---|---|
Component Type | javax.faces.ImportConstants |
Handler Class | None |
Renderer Type | None |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
type | true | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
The fully qualified name of the type to import the constant field values for. |
var | false | java.lang.String |
Name of request scope attribute under which constants will be exposed as a Map. Defaults to the simple name of the given type. |