Menu
Date

January 2013

Accessing Session Scope and Request Scope objects in ADF

ADF By Jan 22, 2013 No Comments

We can access the session Scope objects in ADF by using ADFContext class. The syntax for this is: ADFContext.getCurrent().getSessionScope().get(obj); Where obj is the object name configured in the session scope. In the same way, we can also access the objects in request scope by using the below syntax: ADFContext.getCurrent().getRequestScope().get(obj);

Fetching values of a list object of ADF bindings from Java

ADF By Jan 16, 2013 No Comments

Before giving the solution, let me explain my scenario. I have JSF binding object “internalProfile” which is a list of a class. The definition of the object is like below. List<KeyValue> internalProfile=new ArrayList<KeyValue>(); KeyValue is a bean with two String properties key and value. A binding is created for the “internalProfile” and input fields are created for its values as…

Invoking Application Module from Java

ADF By Jan 09, 2013 No Comments

Below code snippet will allow us to access the application module from java class. In this code, I was trying to get records from the table. For this, I have got the view object from the application module and applied a view criteria on the view object through which I got the records row. /*Accessing Application Module*/         AppModuleImpl appModule…

Invoking actions before loading the JSF or JSFF page

ADF By Jan 09, 2013 No Comments

If we want to invoke the operations like Create or CreateInsert of a data control while loading the page, we can achieve this by doing below Open JSF or JSFF page, go to bindings tab In the “Executables”, click on “+” symbol to add, select InvokeActions options from the given list Enter some ID to the action and select Binds…

Assign DBSequence to a property in Entity Object

ADF By Jan 08, 2013 No Comments

I want to add a sequence to the user_id field in user_info table of my database. For which I have followed the below procedure. Create a db sequence named “userid” Create sequence userid start with 10000000001 Open the Entity Attribute, “user_id” in the Entity Object of the application Select Type as Integer and  click on Value type “Expression” radio button…

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.