public void redirect(IRequestCycle cycle, String anchor) { workflow.setCurrentEntry(this); ILink link = workflowService(cycle).getLink(false, this); throw new RedirectException(link.getURL(anchor, true)); }
public void activate(IRequestCycle cycle) { workflow.setCurrentEntry(this); DataContext.bindThreadDataContext(dataContext); cycle.getPage(pageName).validate(cycle); cycle.activate(pageName); }