Thrown when a token generated by the Cancel tag is found in the request, but the cancellable property for the Action Mapping is not set.
48495051525354555657
boolean invalidState = (cancelled && !cancellable); if (invalidState) { actionCtx.setCancelled(Boolean.FALSE); actionCtx.setFormValid(Boolean.FALSE); throw new InvalidCancelException(); } return cancelled; }
107108109110111112113114115116117
log.debug(" Cancelled transaction, skipping validation"); } return (true); } else { request.removeAttribute(Globals.CANCEL_KEY); throw new InvalidCancelException(); } } // Call the form bean's validation method if (log.isDebugEnabled()) {
116117118119120121122123124125126
68697071727374757677