How to refer Bind variable in JSF page using EL – Expression Language

Home/ADF/How to refer Bind variable in JSF page using EL – Expression Language

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.BindingObject.propertyName}

Where:

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

 

051816_0129_ReferringBi1 How to refer Bind variable in JSF page using EL - Expression Language

 

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.

Example: #{bindings.EmployeeEOVO1.collectionModel}

#{bindings.EmployeeEOVO1.rangeSize}

#{bindings.FirstName.inputValue}

 

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

 

051816_0129_ReferringBi2 How to refer Bind variable in JSF page using EL - Expression Language

 

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

 

051816_0129_ReferringBi3 How to refer Bind variable in JSF page using EL - Expression Language

pgn How to refer Bind variable in JSF page using EL - Expression Language

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

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 🙂
pgn How to refer Bind variable in JSF page using EL - Expression Language
By | 2017-06-11T16:57:51+00:00 May 17th, 2016|Categories: ADF|Tags: , , , , |0 Comments
Like us on Facebook.
Connect!