You see the Properties window for a Drop Down List Component when you select the component on a page that you are editing in the Visual Designer after adding the component to the page.
This component has the following properties.
Type: String
id
attribute. In the page bean, this property's value is the name of the DropDown
object. Type: boolean
navigateToValue
property to respond to a user selection by navigating to another page. Type: String
label
property is not as flexible as the Label component. You can use the Label component if you want more control over the label's appearance, such as positioning of the label relative to the component. Type: int
label
property is set. Type: boolean
Type: boolean
com.sun.rave.web.ui.model.OptionGroup
class. This property is selected by default. 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
style
property description for an explanation of why a class added to this property might appear to have no effect on the component. The defaulttheme CSS style classes for this component are:
css_master.css .MnuJmpOptGrp, .MnuStdOptGrp {color:#000} .MnuStdOpt, .MnuStdOptSel, .MnuStd {color:#333} .MnuJmpOptSep, .MnuJmpOptDis, .MnuStdOptSep, .MnuStdOptDis, .MnuJmpDis, .MnuStdDis {color:#848687} .MnuJmp {color:#035899; border-bottom-color:#666; border-right-color:#666} .MnuJmpDis, .MnuStdDis {background-color:#E1E4E5;color:#848687} .MnuJmpOpt, .MnuJmpOpt:hover {color:#035899} .MnuJmpOpt:hover {text-decoration:underline} .MnuStd {border-bottom-color:#666; border-right-color:#666}
Type: Converter
selected
property. Type: Object
com.sun.rave.web.ui.model.Option
. Type: boolean
for
property to this component, an error message will be displayed if the user tries to submit the page without selecting an item.
Type: Object
null
if nothing is selected.
Type: MethodBinding
(null)
, no validator is called. If you choose a validator, also select the required
property to ensure that the validator is used.
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 will lose the connection to your validate method.component-id_processValueChange
, where component-id is the value of the component's id
property.
Type: boolean
readOnly
property concerning the effects of using the disabled
property versus the effects of using the readOnly
property. Type: boolean
disabled
property, JavaServer Faces does not detect that any value at all was submitted. Type: String
Type: boolean
rendered
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: boolean
Type: boolean
visible
property instead of this property.
You can bind this property to a JavaBeans property that determines when the component does get rendered. For example, an airline reservation form might show a component for frequent flyers and not show it for the general public. To bind this property, click the ellipsis button (...) to the right of the property and choose Use Binding in the dialog box.
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.