/** * Action to abandon step by step flow and go directly to a particular step. The flow dictates * that the step to go to must exist within the flow and the step must already have been visited. * * @return the Struts forward of the step to go to. */ @Action("enterFlowStep") public String enterFlowStep() { checkFlowExists(); if (flowStepToGoTo != null) { flow.gotoStep(flowStepToGoTo); } else { throw new IllegalStateException("Must Set a flowStepToGoTo value before calling!"); } return flowStepToGoTo.name(); }