private OfflineRenderer renderOrderPage() {
   return render(ORDER_TEMPLATE).from(WebRoot.pages());
 }
Esempio n. 2
0
 private OfflineRenderer renderItemsPage() {
   return render(ITEMS_TEMPLATE)
       .with("items", itemAvailable)
       .and("in-stock", !itemAvailable.isEmpty())
       .from(WebRoot.pages());
 }