com.ibm.websphere.samples.pbw.war
Class ValidatorUtils

java.lang.Object
  extended by com.ibm.websphere.samples.pbw.war.ValidatorUtils

public class ValidatorUtils
extends Object

Simple helper class for JSF validators to handle error messages.


Constructor Summary
ValidatorUtils()
           
 
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
 

Constructor Detail

ValidatorUtils

public ValidatorUtils()
Method Detail

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.