This content has been marked as final. Show 4 replies
in order to get the current row,use the viewIterator object
where is viewIterator define
Another adf0994 thread without to much information given to answer the quesation...
Which jdev version?
Where do you want to get the iterator and why?
He is on JDev 22.214.171.124 if i'm not mistaking.
Here is some sample code on how to get the current row from an iterator in a backing bean.
EmployeesView1Iterator should be replaced by the name of your iterator.
DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry(); DCIteratorBinding iterBind = (DCIteratorBinding)dcBindings.get(“EmployeesView1Iterator”); Row row = iterBind.getCurrentRow();
You can find this name by going to the bindings tab of your page.