Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boolean value = (result != null) ? true : false;
- if (!value) {
- String message = JSFUtils.getResourceBundle("ValidationMessages").getString(INVALID);
- throw new ValidatorException(new FacesMessage(FacesMessage.SEVERITY_ERROR, null, message));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement