[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2019) Param uses an invalid message key when throwing validation error

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Oct 1 17:25:40 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-2019?page=all ]

Dan Allen updated JBSEAM-2019:
------------------------------

    Attachment: JBSEAM-2019-v1.txt

Uploading patch. I will apply this patch if given the word.

> Param uses an invalid message key when throwing validation error
> ----------------------------------------------------------------
>
>                 Key: JBSEAM-2019
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2019
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0.CR1
>            Reporter: Dan Allen
>         Assigned To: Dan Allen
>            Priority: Minor
>             Fix For: 2.0.0.GA
>
>         Attachments: JBSEAM-2019-v1.txt
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> When a required value is missing on a page parameter, the Param class throws a validator exception. When creating the FacesMessage object, it references a non-standard JSF message key for the detail:
> javax.faces.component.UIInput.REQUIRED_detail
> The javax.faces.component.UIInput.REQUIRED key does not have a detail. Instead, the detail should be set to null.
> Instead of getting the required message, the user is getting an exception that the detail key cannot be found.

-- 
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