log.debug("TemplateContractChooseAndViewWidget init called");
getFlowCtx().start(new ContractListWidget(false), null, new FlowContext.Handler() {
public void onFinish(Object returnValue) throws Exception {
Long id = (Long) returnValue;
getFlowCtx().start(new ContractViewWidget(id), null, new PassthroughCallContextHandler(getFlowCtx()));
}
public void onCancel() throws Exception {
getFlowCtx().cancel();
}
});