Tag Archives: ADF Utils

How to add DVT Graph Programmatically

This tutorial is to show how to inject a DVT graph programmatically in Oracle ADF Step 1: Define a List Data Model: Java Code for Data List<Object[]> listObject = null; if (listObject == null) { listObject = new ArrayList<Object[]>(); Object[] … Continue reading

Posted in Oracle, Oracle ADF | Tagged , , , , | Leave a comment

How to add ValueChangeListener Programmatically

Using an EL String, we can add ValueChangeListener in Oracle ADF using the below code: private static MethodBinding getValueChangeListener(String el) { Class[] parms = new Class[] { ValueChangeEvent.class }; MethodBinding mb = FacesContext.getCurrentInstance().getApplication().createMethodBinding(el, parms); return mb; } pass the EL … Continue reading

Posted in Oracle, Oracle ADF | Tagged , , , , | Leave a comment

How to Add an ActionListener programmatically

Using an EL String, we can add ActionListener in Oracle ADF using the below code: private ActionListener getActionListener(String el) { //here Testbean is the name of ManagedBean MethodExpression methodExp = getMethodExpressionForAction(el); return new MethodExpressionActionListener(methodExp); } private MethodExpression getMethodExpressionForAction(String actionName) { … Continue reading

Posted in Oracle, Oracle ADF | Tagged , , , , | Leave a comment

Oracle ADF Certification Dumps

Certification Dumps

Posted in Certification, Oracle ADF | Tagged , , , , , | Leave a comment

How to create your custom ExceptionHandler in Oracle ADF

Steps: Create a Java class that extends oracle.adf.view.rich.context.ExceptionHandler Create a textfile with the name “oracle.adf.view.rich.context.Exceptionhandler” (without the quotes) and store it in .adf\META-INF\services (you need to create the “services” folder) In the file, add the absolute name of your custom … Continue reading

Posted in Oracle ADF | Tagged , , | Leave a comment

Various Scopes in Oracle ADF

Various Scopes in Oracle ADF: Scope Description application The application scope lasts until the application stops. Values that you store in a managed bean with this scope are available to every session and every request that uses the application. Avoid … Continue reading

Posted in Oracle ADF | Tagged , , | Leave a comment

Creating a re-organizable list of Items using Drag and Drop in Oracle ADF

Sometimes the requirement is to create a list of UI Items which can be rearranged using Drag and Drop in Oracle ADF, similar to the one in jQuery. Oracle ADF Drag and Drop doesn’t provide the ability to identify, where … Continue reading

Posted in Oracle ADF | Tagged , , , , , , , | 1 Comment