This blog will cover Oracle ADF, Weblogic, Oracle Application Server, Oracle Collaboration Suite etc....
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();
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();
Subscribe to:
Posts (Atom)