Oracle ADF- How to Programmatically access an attribute value-Techartifact

How to access binding to read and write values from and to business service.Sometimes you require to read the value of custName binding and convert it to lowercase.

public void buttonPressBinding (ActionEvent actionEvent)  {

//add event code here.................

AttributeBinding attr = (AttributeBinding)getBindings().getControlBinding("custName");

String selectCust =(String)attr.getInputvalue();



getControlBinding() – this method name get the binding by the name passed into as parameter.

AttributeBinding – is used to reference an attriubute binding to custName.


I am an Oracle ACE in Oracle ADF/Webcenter. Sr Java Consultant-working on Java/J2EE/Oracle ADF/Webcenter Portal/ content and Hibernate for several years. I'm an active member of the OTN JDeveloper/Webcenter forum. Passionate about learning new technologies. I am here to share my knowledge. Give your views and suggestion on [email protected] .

More Posts - Website

Follow Me:
TwitterLinkedInGoogle PlusYouTube