What are you trying to do? Do you want Stripes to raise a validation error because you have a �...@validate(required=true)? Or do you want Stripes to insert an empty string in that map because is a valid value?
_____ De: Phil Sladen [mailto:[email protected]] Enviado el: lunes, 30 de marzo de 2009 11:04 Para: [email protected] Asunto: [Stripes-users] Mapped property ignored if value is empty?? I have an actionbean property "HashMap<String,String> tagMap" that is used to gather dynamically generated form values from input fields named like "tagMap[propName]". Works fine as long as the value in the form field is not empty. But if it is empty, it appears that DefaultActionBeanPropertyBinder.validateRequiredFields() deliberately ignores the form field. Please can anyone explain such logic and how I can get mapped values to work sensibly even when the values are empty. Thanks.
------------------------------------------------------------------------------
_______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
