<tbody class="table_body">
<%
+ // Get Iterator
+ Iterator<Product> iterator = app.getAvailableProducts();
+
// "Walk" through all products and unmark them as ordered
- for (final Product product : app.getProducts()) {
+ while (iterator.hasNext()) {
+ // Get product instance
+ Product product = iterator.next();
+
// Unmark as ordered
app.unmarkProductAsOrdered(product, session);
%>