Validator doesnot trim the value entered before doing validation 
-----------------------------------------------------------------

                 Key: STS-394
                 URL: http://mc4j.org/jira/browse/STS-394
             Project: Stripes
          Issue Type: Bug
          Components: Validation
         Environment: All browsers, Operating System - Window XP.
            Reporter: Pratap Thakare
         Assigned To: Tim Fennell


We have a text box and for that value provided a default validation saying 
(required=true), in this case non-null, non-empty value must be submitted for 
the field. When we donot provide a value proper validation happens and error 
message is dispalyed. But if we provide blank spaces and submit the form; no 
validation error is submitted.
In the above case if proper trimmig is done then proper validation will be done.
So I guess before validating  'Trimming' of value has also to be done. 

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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to