Menu

Oracle MAF: How to get the current row object of an binding iterator programmatically

MAF, OracleMobile By Mar 16, 2018 No Comments
[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

  • #{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

No Comments

Leave a comment

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.