class OrderDetailsController implements IGTVGController {

    
    public OrderDetailsController() {
        super();
    }
    
    
    public void process(final IWebExchange webExchange, final ITemplateEngine templateEngine, final Writer writer)
            throws Exception {<FILL_FUNCTION_BODY>}

}

        
        final Integer orderId = Integer.valueOf(webExchange.getRequest().getParameterValue("orderId"));
        
        final OrderService orderService = new OrderService();
        final Order order = orderService.findById(orderId);
        
        final WebContext ctx = new WebContext(webExchange, webExchange.getLocale());
        ctx.setVariable("order", order);
        
        templateEngine.process("order/details", ctx, writer);
        
    
<no_super_class>