[jboss-user] [JBoss Seam] - Re: Validation: @NotNull && required=true
tony.herstell@gmail.com
do-not-reply at jboss.com
Sat May 12 08:15:27 EDT 2007
I think thisis what you are after:
| javax.faces.component.UIInput.CONVERSION Conversion error occurred
| javax.faces.component.UIInput.REQUIRED required
| javax.faces.component.UISelectOne.INVALID Value is not a a valid option
| javax.faces.component.UISelectMany.INVALID Value is not a valid option
| javax.faces.validator.NOT_IN_RANGE Specified attribute is not between the expected values of {0} and {1}
| javax.faces.validator.DoubleRangeValidator.MAXIMUM Value is greater than allowable maximum of '{0}'
| javax.faces.validator.DoubleRangeValidator.MINIMUM Value is less than allowable minimum of '{0}'
| javax.faces.validator.DoubleRangeValidator.TYPE Value is not of the correct type
| javax.faces.validator.LengthValidator.MAXIMUM Value is greater than allowable maximum of '{0}'
| javax.faces.validator.LengthValidator.MINIMUM Value is less than allowable minimum of '{0}'
| javax.faces.validator.LongRangeValidator.MAXIMUM Value is greater than allowable maximum of '{0}'
| javax.faces.validator.LongRangeValidator.MINIMUM Value is less than allowable minimum of '{0}'
| javax.faces.validator.LongRangeValidator.TYPE Value is not of the correct type
|
|
put into a file in my War Src area.
I refer to it in my faces.config
| <!-- My Messages Please -->
| <application>
| <message-bundle>nz.co.risingstars.i18n.jsfstandarderrors</message-bundle>
| </application>
|
This is on top of the messages you put into the messages.properies in the jar.
(there are a LOT more message that just this list!):
| javax.faces.component.UIInput.CONVERSION error
| javax.faces.component.UIInput.CONVERSION_detail = invalid
| javax.faces.component.UIInput.REQUIRED required
| javax.faces.convert.DateTimeConverter.CONVERSION = must be a valid date
| #javax.faces.convert.DateTimeConverter.CONVERSION_detail = value must be a datetime
|
| #javax.faces.component.UISelectOne.INVALID Value is not a a valid option
| #javax.faces.component.UISelectMany.INVALID Value is not a valid option
| #javax.faces.validator.NOT_IN_RANGE Specified attribute is not between the expected values of {0} and {1}
| #javax.faces.validator.DoubleRangeValidator.MAXIMUM Value is greater than allowable maximum of '{0}'
| #javax.faces.validator.DoubleRangeValidator.MINIMUM Value is less than allowable minimum of '{0}'
| #javax.faces.validator.DoubleRangeValidator.TYPE Value is not of the correct type
| #javax.faces.validator.LengthValidator.MAXIMUM Value is greater than allowable maximum of '{0}'
| #javax.faces.validator.LengthValidator.MINIMUM Value is less than allowable minimum of '{0}'
| #javax.faces.validator.LongRangeValidator.MAXIMUM Value is greater than allowable maximum of '{0}'
| #javax.faces.validator.LongRangeValidator.MINIMUM Value is less than allowable minimum of '{0}'
| #javax.faces.validator.LongRangeValidator.TYPE Value is not of the correct type
|
| #javax.faces.convert.DateTimeConverter.CONVERSION = Conversion Error
| #javax.faces.convert.DateTimeConverter.CONVERSION_detail = "{1}": xxSpecified value is not a valid date/time.
| #javax.faces.converter.DateTimeConverter.DATE=value must be a date
| #javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date, eg. {1}
| #javax.faces.converter.DateTimeConverter.TIME=value must be a time
| #javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time, eg. {1}
| #javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and time
| #javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a date and time, eg. {1}
| #javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type attribute must be specified to convert the value
| #JSF 1.1:
| #javax.faces.convert.BigDecimalConverter.CONVERSION = value must be a number
| #javax.faces.convert.BigDecimalConverter.CONVERSION_detail = value must be a number
| #javax.faces.convert.BigIntegerConverter.CONVERSION = value must be an integre
| #javax.faces.convert.BigIntegerConverter.CONVERSION_detail = value must be a number
| #javax.faces.convert.BooleanConverter.CONVERSION = value must be true or false
| #javax.faces.convert.BooleanConverter.CONVERSION_detail = value must be true or false
| #javax.faces.convert.ByteConverter.CONVERSION = value must be a byte
| #javax.faces.convert.ByteConverter.CONVERSION_detail = value must be a byte
| #javax.faces.convert.CharacterConverter.CONVERSION = value must be a character
| #javax.faces.convert.CharacterConverter.CONVERSION_detail = value must be a character
| #javax.faces.convert.DoubleConverter.CONVERSION = value must be a number
| #javax.faces.convert.DoubleConverter.CONVERSION_detail = value must be a number
| javax.faces.convert.FloatConverter.CONVERSION = value must be a number
| javax.faces.convert.FloatConverter.CONVERSION_detail = value must be a number
| #javax.faces.convert.IntegerConverter.CONVERSION = value must be an integer
| #javax.faces.convert.IntegerConverter.CONVERSION_detail = value must be an integer
| #javax.faces.convert.LongConverter.CONVERSION = value must be an integer
| #javax.faces.convert.LongConverter.CONVERSION_detail = value must be a long integer
| javax.faces.convert.NumberConverter.CONVERSION = value must be a number
| javax.faces.convert.NumberConverter.CONVERSION_detail = value must be a number
| #javax.faces.convert.ShortConverter.CONVERSION = value must be an integer
| #javax.faces.convert.ShortConverter.CONVERSION_detail = value must be a short integer
|
and you can in8l them of course.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045187#4045187
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045187
More information about the jboss-user
mailing list