Indexed properties fail to be set to null or empty 
(DefaultActionBeanPropertyBinder problem)  
----------------------------------------------------------------------------------------------

                 Key: STS-577
                 URL: http://www.stripesframework.org/jira/browse/STS-577
             Project: Stripes
          Issue Type: Bug
          Components: Validation
    Affects Versions: Release 1.4
         Environment: Windows, Java 1.5, Tomcat 6
            Reporter: Mohammed Shafiq


Hi,

When using indexed properties in the JSP, these cannot be set to empty as this 
is ignored and no binding to the property. 

The problem points to the following class 
DefaultActionBeanPropertyBinder.validateRequiredFields(...).  This method 
removes any indexed properties where value is set to null or empty. Therefore 
the resulting binding to the property never occurs and the value is unaffected.

Thanks
Shaf.

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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to