Friday, April 29, 2011

Usefull ADF Blog

http://adf-blogs.blogspot.com/

Sunday, April 10, 2011

ADF Taskflow Return to parent after completing taskflow

Use "Parent Action" component to call control flow of parent
Also in your parent taskflow you should have a control flow for this outcome.
The child will be calling this taskflow using parent action activity.

Thursday, April 7, 2011

ADF TaskFlow Parameters

You will require to pass page flow scope parameters from your current environment into the adf taskflow:

Open the taskflow in overview mode and create a parameter

Open the jspx page or the fragment where you are plcing this taksflow,
go to bindings tab and give the input value for taskflow parameter from you page flow variable as in below image

Thursday, March 31, 2011

PanelCollection set width 100 percent

Select Panel collection in properties set Style Class property to "AFStretchWidth"

Thursday, March 24, 2011

JNDI Connection in jdeveloper

In applicationmodule properties set the database connection to jdbc datasource and the value "jdbc/your_datasource_name"

Wednesday, March 9, 2011

Application Context

In viewcontroller project properties -> Java EE Application. give application name and context name here.

Thursday, March 3, 2011

ADF 11g: Deleting all rows from Viewobject programmatically.

On button event write below code:

DCBindingContainer dc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();

ViewObject myVo= dc.findIteratorBinding("myVoIterator").getViewObject();
RowSetIterator rsI = myVo.createRowSetIterator(null);
while(rsI.hasNext()){
rsI.next().remove();
}
rsI.closeRowSetIterator();