[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1921) Inconsistency between Seam's and JSF RI's message bundles

Ali Sadik Kumlali (JIRA) jira-events at lists.jboss.org
Tue Sep 18 17:57:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1921?page=comments#action_12377493 ] 
            
Ali Sadik Kumlali commented on JBSEAM-1921:
-------------------------------------------

I do not think empty means zero length integer. Following differentiation is more logical to me: 

required=false
 - User may leave the field empty. Empty does not mean zero length integer.
 - User may enter a value. Value must be a signed integer. An integer cannot be zero length.

required=true
 - User must fill in the field with a value. Value must be a signed integer. An integer cannot be zero length.

> Inconsistency between Seam's and JSF RI's message bundles
> ---------------------------------------------------------
>
>                 Key: JBSEAM-1921
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1921
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: Tools
>    Affects Versions: 2.0.0.BETA1
>         Environment: Not relevant
>            Reporter: Ali Sadik Kumlali
>         Assigned To: Pete Muir
>            Priority: Minor
>         Attachments: JBSEAM-1921.patch
>
>
> Hi,
> Some of the messages existing in seam-gen/resources/messages.properties does not match to messages found in JSF RI's Messages.properties  file (http://fisheye5.cenqua.com/browse/~raw,r=1.53/javaserverfaces-sources/jsf-ri/src/javax/faces/Messages.properties)
> By examining the JSF RI's Messages.properties, I thought that the following replacements had to be done:
> 1)
> javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed integer number consisting of ZERO more digits
> javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed integer number consisting of ONE or more digits
> 2)
> javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum OR from the enum that contains the constant {1}
> javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum from the enum that contains the constant {1}
> 3)
> javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum OR from the enum, but no enum class provided
> javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum from the enum, but no enum class provided
> 4)
> javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an enum OR from the enum, but no enum class provided
> javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an enum from the enum, but no enum class provided
> Regards,
> Ali Sadik Kumlali

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list