org.apache.tapestry.valid
Class ValidationStrings
java.lang.Object
org.apache.tapestry.valid.ValidationStrings
public final class ValidationStrings
- extends Object
Constants used for accessing validation message patterns.
- Author:
- Paul Ferraro
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUIRED_FIELD
public static final String REQUIRED_FIELD
- See Also:
- Constant Field Values
INVALID_DATE
public static final String INVALID_DATE
- See Also:
- Constant Field Values
INVALID_NUMBER
public static final String INVALID_NUMBER
- See Also:
- Constant Field Values
INVALID_EMAIL
public static final String INVALID_EMAIL
- See Also:
- Constant Field Values
REGEX_MISMATCH
public static final String REGEX_MISMATCH
- See Also:
- Constant Field Values
PATTERN_MISMATCH
public static final String PATTERN_MISMATCH
- See Also:
- Constant Field Values
VALUE_TOO_SHORT
public static final String VALUE_TOO_SHORT
- See Also:
- Constant Field Values
VALUE_TOO_LONG
public static final String VALUE_TOO_LONG
- See Also:
- Constant Field Values
VALUE_TOO_SMALL
public static final String VALUE_TOO_SMALL
- See Also:
- Constant Field Values
VALUE_TOO_LARGE
public static final String VALUE_TOO_LARGE
- See Also:
- Constant Field Values
DATE_TOO_EARLY
public static final String DATE_TOO_EARLY
- See Also:
- Constant Field Values
DATE_TOO_LATE
public static final String DATE_TOO_LATE
- See Also:
- Constant Field Values
INVALID_FIELD_EQUALITY
public static final String INVALID_FIELD_EQUALITY
- See Also:
- Constant Field Values
getMessagePattern
public static String getMessagePattern(String key,
Locale locale)
- Fetches the appropriate validation message pattern from the appropriate localized resource.
This method should be called with the locale of the current request.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.