[Oracle MAF 2.3.1]
Below is a code snippet helps to get the current object of a binding iterator from Java program in Oracle Mobile Application Framework (MAF).
AmxIteratorBinding ib = (AmxIteratorBinding)
AdfmfJavaUtilities.evaluateELExpression("#{bindings.listIncidetnsIterator}");
oracle.adfmf.dc.bean.ConcreteJavaBeanObject obj=
(oracle.adfmf.dc.bean.ConcreteJavaBeanObject)ib.getCurrentRow();
IncidentVORow row=(IncidentVORow) obj.getInstance();
-- Where
Below is a code snippet helps to get the current object of a binding iterator from Java program in Oracle Mobile Application Framework (MAF).
AmxIteratorBinding ib = (AmxIteratorBinding)
AdfmfJavaUtilities.evaluateELExpression("#{bindings.listIncidetnsIterator}");
oracle.adfmf.dc.bean.ConcreteJavaBeanObject obj=
(oracle.adfmf.dc.bean.ConcreteJavaBeanObject)ib.getCurrentRow();
IncidentVORow row=(IncidentVORow) obj.getInstance();
-- Where
- #{bindings.listIncidetnsIterator} is binding iterator expression for a list of Incident objects
- IncidentVORow is a bean class of incident object
- "row" contains the current row of the iterator binding