in the following code i am diplaying message through throwing an exception but i want to display that message without throwing excption in the JSF page.please help me.
Thanks a lot for answer.
Code:
public void uname_validate(FacesContext context, UIComponent component, Object value)
{
if(true)
{
throw new ValidatorException(new FacesMessage("Hello");
}
}
Comment