[
https://jira.jboss.org/jira/browse/JBSEAM-3208?page=com.atlassian.jira.pl...
]
Pete Muir commented on JBSEAM-3208:
-----------------------------------
How about writing a blog or posting a tutorial on the Seam Knowledge Base?
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