Setting Properties of ADF Bindings in Expressions

The design time exposes runtime-specific properties of the ADF binding objects that you create when you insert a UI component from the Data Control Palette or create the binding explicitly from the UI Model view of the Structure window.

You can access these runtime properties when you write EL-expressions. The Expression Language gives you direct access to the accessor methods of each binding's implementing class.

In a web application, you access the properties of the binding object using an expression like this:

${bindings.MyBindingObject.propertyName.attributeName}

You can work with the property value using JSTL tags like this:

<c:out value="${bindings.MyBindingObject.propertyName.attributeName}"></c:out>

To obtain the list of runtime properties for a specific binding:

  1. Use the Data Control Palette to insert the UI component into your web page or Java panel .

  2. With the UI component displayed in the Visual Editor, choose View | Structure.

  3. Click UI Model tab icon (UI Model) in the Structure window toolbar and expand the node to display the list of bindings.

  4. Select the node for the databound UI component's binding and press F1 to view Help for the binding.

    You can also view the javadoc for the binding's implementing class. Right-click the node and choose Go to Javadoc from the context menu.

To view the list of properties available for all binding types, see About the Properties of the ADF Bindings.

Notes:

For JSP pages JDeveloper provides Code Insight for Expression Languages in the Code Editor. When editing the source code in the Code Editor type the leading characters of an EL expression, "${", pause for a moment, and code completion will be invoked.

For JSP and UIX pages, JDeveloper also provides Expression Language support in the Property Inspector. Select the dropdown list in the Property Inspector value column and select an available expression. This same EL support is available in the tag editor.


To read about data bindings:

About the Oracle ADF Bindings

For information about the role of data bindings in Oracle ADF:

About Oracle ADF Data Controls

 

 

Copyright © 1997, 2004, Oracle. All rights reserved.