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