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