[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3208) validateAll ignores @NotNull and @NotEmpty

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Sep 28 06:14:20 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-3208.
-----------------------------

    Resolution: Won't Fix


I'm not really prepared to put this hack into Seam. JSF2 will address this properly.

> validateAll ignores @NotNull and @NotEmpty
> ------------------------------------------
>
>                 Key: JBSEAM-3208
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3208
>             Project: Seam
>          Issue Type: Bug
>          Components: JSF Integration
>    Affects Versions: 2.0.2.SP1
>         Environment: jboss-4.2.2.GA
> win xp pro
>            Reporter: Hajo Krabbenhöft
>         Attachments: diff.txt
>
>          Time Spent: 1 day
>  Remaining Estimate: 1 hour
>
> when i use s:valiadateAll and put a text field inside where the matching hibernate field has @NotEmpty set, no validation error will be raised if i submit without entering text.
> this is because JSF ignores the validators because the field is empty and not marked as required.
> therefore the ValidateAllRenderer will need to check for these validators and call evt.setRequired(true) as needed.

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

       




More information about the seam-issues mailing list