<%--
- Document : order
+ Document : preview
Created on : 04.08.2015, 10:55:10
Author : Roland Haeder
--%>
</thead>
<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.getUnmarkedProducts(session)) {
+ while (iterator.hasNext()) {
+ // Get product instance
+ Product product = iterator.next();
+
+ // Unmark it as ordered
+ app.unmarkProductAsOrdered(product, session);
%>
<tr>
<td>