This dialog box opens when you right-click a component that you have added to a Visual Web JSF page and choose Property Bindings.
The dialog box enables you to create an association between a property of a component and a property of a JavaBeans object or data provider that is visible from the current page. Many component properties are bindable: They can be attached to other values in the application, such as to other components, component properties, or to hosted services such as databases or web services, and be dynamically changed when the application runs.
text
property, choose Bind to Data instead. A Bind to Data dialog box will open that is appropriate for the type of component and might aid you in making a good choice for the binding. For more information, see Binding Component Properties. A typical use of this dialog box is to bind a component property to a property of a managed bean, like SessionBean1. You might also use this dialog box to bind the selected
property of a list component like Drop Down List to an object that picks up its value when the user makes a selection. But there are many possibilities for binding properties and enabling them to dynamically change at runtime.
The dialog box has two lists:
If you click the Apply button, you can also see if the selection was permitted. For example, the items
property of a JavaServer Faces 1.2 Drop Down List must be bound to a property representing array, a java.util.Collection
, or a java.util.Map
of com.sun.webui.jsf.model.Option
objects. If you bind it to some other type of property and click Apply, you see a Component Error message in the Visual Designer. Read the help topic for the component's Properties window to see if there are limits on the type of bindings you can do with a property.
com.sun.rave.web.ui.model.Option
.