myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan-Kees van Andel (JIRA)" <>
Subject [jira] Commented: (MYFACES-2798) javax.faces.VALIDATE_EMPTY_FIELDS default should be 'true'
Date Thu, 08 Jul 2010 13:38:50 GMT


Jan-Kees van Andel commented on MYFACES-2798:

The corresponding section from the JSF spec (chapter 11.1.3 Application Configuration Parameters):

"... If the param is not set, the system must behave as if the param was set with the value
"auto". ..."

> javax.faces.VALIDATE_EMPTY_FIELDS default should be 'true'
> ----------------------------------------------------------
>                 Key: MYFACES-2798
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 2.0.2-SNAPSHOT
>         Environment: Win XP, JDK, Maven 2.2.1, MyFaces trunk 
>            Reporter: Oliver Bayer
> First I thought the validation tags like e.g. <f:validateRequired /> or <f:validateLength
/> aren't working. But during debugging I found out that the respective validation classes
are called if at least one char is inserted.
> At the myfaces homepage (
I've found that the default is "auto".
> I think it would be better to set the default to "true" because one would expect to get
an exception if he leaves a required field blank which isn't the case if it's set to "auto".

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message