def __call__(self): order = IOrder(self.context, None) if order is not None: order.rebuild() self.request.response.redirect('context.html')