You see the Properties window for a Hidden Field
component when you select
the component in the Navigator window.
The Hidden Field 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: String
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: MethodBinding
(null)
, no validator is called.
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.
validator
property. If you define your own validate method, do not separately change the value of the validator
property, or you could lose the connection to your validate method.component-id_processValueChange
, where component-id is the value of the id
property. 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
Type: MethodBinding
valueChange
property above, which provides an easier way to set this property's value. The valueChangeListener
property is the MethodBinding
that underlies the valueChange
event property. The valueChangeListener
property is updated when you set the method for the valueChange
event property.
If you click the ellipsis button next to the valueChange
property, you can use that property's property editor to choose an existing method to bind to, or you can create a new method or unbind an existing method. If you are an expert, instead of using the valueChange
property, you can type a MethodBinding
expression directly into this valueChangeListener
property, for example, if you want to call a method that is not in the page bean.