com.ibm.websphere.samples.pbw.war
Class ValidatorUtils
java.lang.Object
com.ibm.websphere.samples.pbw.war.ValidatorUtils
public class ValidatorUtils
- extends Object
Simple helper class for JSF validators to handle error messages.
Method Summary |
protected static void |
addErrorMessage(javax.faces.context.FacesContext context,
String message)
|
protected static void |
addErrorMessage(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorUtils
public ValidatorUtils()
addErrorMessage
protected static void addErrorMessage(javax.faces.context.FacesContext context,
String message)
addErrorMessage
protected static void addErrorMessage(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Copyright © 2011. All Rights Reserved.