You see the Properties window for a Hidden Field
component when you select
the component in the
This JavaServer Faces 1.2 component has the following properties.
Type: String
Type: Converter
value
property. The component will pick the correct converter for the value
property if one is available, making it unnecessary to set this property in most cases. If the value
property is bound to a value whose type is not on the list of converters, you have to supply your own converter and set this property. Type: Object
text
property of a hidden field is to pass data between pages when a form has more than one page. To be able to pass data, this field must be bound to a property of one of the managed beans, such as the Request Bean or the Session Bean. Type: MethodExpression
Choose a validator from the drop down list. If you choose (null)
, no validator is called.
Type: boolean
Type: boolean
The most common example of an immediate action is a Cancel button. You make it immediate so that the normal validation and update steps can be skipped, but the action handler can still do whatever is necessary. Typically, the action handler will navigate back to some previous page. In some designs the action handler might also enqueue an informational message like "Transaction cancelled". It is possible to do more: for example, an application might record the fact that the user cancelled the current operation.
Type: boolean
component-id_processValueChange
, where component-id is the value of the id
property.component-id_validate
, where component-id is the value of the component's id
property. When you define this method in this way, the validator
and validate
properties are automatically set for you.
validatorExpression
property. If you define your own validate method, do not separately change the value of the validatorExpression
property, or you could lose the connection to your validate method.