What Is an Iterator?

Data access for attributes in a binding, as well as most operations and method bindings, requires iterators. You can think of an iterator as a current record pointer on a collection; for example, the expression #{bindings.EmployeeId.inputValue} actually evaluates to “the Employee Id of whatever record in EmployeesUpdateable1 collection is currently pointed to by the Employees Updateable 1 Iterator.” This link from EmployeeId to EmployeesUpdateable1Iterator is defined in the PageDef file.

In normal circumstances, a particular collection of records would maintain a single iterator to track the row currency (record marked as current) in the user interface. However, secondary iterators on the same collection are possible and ...

Get Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.