You see the Properties window for a JavaServer Faces Hidden Field
component when you select
the component in the Navigator window.
The Hidden Field component has the following properties.
Type: text
Type: Converter
Type: boolean
Type: MethodBinding
(null)
, no validator is called. If the conditions defined by the validator are not met, the validator sends a message that you can display in an Inline Message component.
If you choose a validator, you can also select the required
property to ensure that the validator receives a value.
Type: Object
Set the event properties by right-clicking the component in the Visual Designer and choosing Edit Event Handler > eventname.
validator
property, right-click the component and choose Edit Event Handler > validate. The default name for the method is 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. If you define a validator, also select the required
property to ensure that the validator is used.
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
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 got partially through a form and then cancelled it.
Type: boolean
Type: MethodBinding
MethodBinding
property 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.