public void onCancel(IRequestCycle cycle) {
invokeIfNotNull(cycle, getCancelListener(), getEndListener());
FlowState currentFlowState = getAttachedFlowState();
String page = currentFlowState.cancelFlow();
FlowWebUtils.activatePageIfNotNull(cycle, page, currentFlowState);
}
public void onPrevious(IRequestCycle cycle) {
invokeIfNotNull(cycle, getPreviousListener());