about blank value of validator required/validwhen
-------------------------------------------------

                 Key: STR-3088
                 URL: https://issues.apache.org/struts/browse/STR-3088
             Project: Struts 1
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.3.8
            Reporter: Masakazu Ikezawa


Hello,

As for validator required/requiredif , the continuous space string (ex. "   ") 
is jugded blank field.

But 'null' of validwhen shows only null or length 0 String .

For ex,'*this* == null' is not hit the continuous space string (ex. "   ").

I think it should be same behavior because 'Validator Guide' described as 
follows:

>  requiredif  - field dependant validator
>Deprecated, use validwhen.

Now, requiredif cannot be replaced validwhen.


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

Reply via email to