You see the Properties window for a JavaServer Faces Multi Select Listbox component when you select the component on a page that you are editing in the Visual Designer.
Type: String
<head>
section that is to be applied to the labels for disabled checkboxes in the list.Type: String
<head>
section that is to be applied to the labels for enabled checkboxes in the list. Type: text
id
attribute. In the page bean, this property's value is the name of the HtmlSelectManyCheckbox
object. Type: Object
SelectItems
component used to initialize the option. Type: boolean
Type: boolean
Type: int
Type: String
position: absolute; left: 288px; top: 312px
You can enter values directly or click the ellipsis (...) button to use the Style Editor.
For a list of CSS2 style attributes, see the web page at
Type: String
Type: String
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
The Multi Select Listbox component can have more than one value, which has implications about what type of value you can use.
multiSelectListbox.getValue()
is an object array.One way to process the values chosen by the user is to bind this component to an Object
array and check the array values when the user submits the page.
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.null
. You typically define this method in the page bean by right-clicking the component in the Visual Designer and choosing Edit Event Handler > processValueChange. The default name for the method is component-id_processValueChange
, where component-id is the value of the component's id
property. Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
Type: String
accesskey
attribute of the HTML <input>
tag. Type: String
dir
attribute of the HTML <input>
tag.
Values can be:
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: String
lang
attribute of the HTML <input>
tag. To choose a language code, you can click the ellipsis button (...) to open the property editor. Some examples:
ar
- Traditional Arabicde
- Germanen
- Englishes
- Spanishfr
- Frenchja
- Japanese In addition to the codes available in the property editor, you can also enter additional codes using ISO standard names. Some examples:
en-US
- United States Englishja-JP
- Japanesezh-guoyu
- Mandarin or Standard Chinese zh-Hans
- Simplified Chinese scriptzh-HanT
- Traditional Chinese script Type: boolean
Type: String
tabindex
attribute of the HTML <input>
tag. 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.