How to refer Bind variable in JSF using expression language
We can refer bind variable in JSF using expression language. The expression language format would be like below
bindingVariable >> By default it is bindings, it references the binding container of the current page
BindingObject >> It is the name of the Binding object in the Page Definition file. Example: PhoneNumber
PropertyName: >> is a variable that determines the default display characteristics of each data bound UI component and sets properties for the binding object at runtime. For example, inputValue is the property for text element and collectionModel is the property of table element.
Create an EL expression
Open your JSF file >> Double click on a UI element in Structure panel >> Click on the text box in the property editor >> Click the Gear icon that appears on the right side >> Click Expression Builder >> Expand ADF Bindings >> Bindings >> Expand a DC Binding >> Select a property
>> Click Ok
View the Binding property
You can Right click on a UI component & Click Go to property (or) click the Source tab of the JSF file to view the binding property
The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.
Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
Latest posts by Govind
- JSF Login Logout Form Authentication Example - October 16, 2017
- How to Bookmark URL in JSF using GET method and ViewParam – example - October 14, 2017
- JSF Dynamic Navigation and how to use wildcard in navigation - October 12, 2017