how to get the iterator binding of an adf RichTable
import oracle.adf.model.binding.DCIteratorBinding; import oracle.adf.view.rich.component.rich.data.RichTable; import oracle.jbo.uicli.binding.JUCtrlHierBinding; import org.apache.myfaces.trinidad.model.CollectionModel;
public static DCIteratorBinding getDciteratorFromTable(RichTable table) {
CollectionModel model = (CollectionModel)table.getValue();
JUCtrlHierBinding treeBinding = (JUCtrlHierBinding)model.getWrappedData();
return treeBinding.getDCIteratorBinding();
}
Comments