if (validator instanceof SipxValidationDelegate) { SipxValidationDelegate sipxValidator = (SipxValidationDelegate) validator; String msg = StringUtils.defaultIfEmpty(getSuccessMsg(), getMessage("user.success")); sipxValidator.recordSuccess(msg); }
    public void onApply(IRequestCycle cycle) {        IValidationDelegate validator = TapestryUtils.getValidator((AbstractComponent) getPage());        IActionListener adapter = new TapestryContext.UserExceptionAdapter(validator, getListener());        adapter.actionTriggered(this, cycle);    }