org.riotfamily.forms
Class ErrorUtils

java.lang.Object
  extended by org.riotfamily.forms.ErrorUtils

public class ErrorUtils
extends Object


Field Summary
static String ERROR_REQUIRED
           
 
Method Summary
static boolean hasErrors(Element element)
           
static void reject(Editor editor, String errorCode)
           
static void reject(Editor editor, String errorCode, Object arg)
           
static void reject(Editor editor, String errorCode, Object[] args)
           
static void rejectRequired(Editor editor)
           
static void removeErrors(Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_REQUIRED

public static final String ERROR_REQUIRED
See Also:
Constant Field Values
Method Detail

reject

public static void reject(Editor editor,
                          String errorCode,
                          Object[] args)

reject

public static void reject(Editor editor,
                          String errorCode,
                          Object arg)

reject

public static void reject(Editor editor,
                          String errorCode)

rejectRequired

public static void rejectRequired(Editor editor)

removeErrors

public static void removeErrors(Element element)

hasErrors

public static boolean hasErrors(Element element)