well...to solve this I try to add my pattern to the StripesResources.properties. thus I add this line:
stripes.dateTypeConverter.formatStrings=dd MM yyyy and in debug mode I saw Stripes don't get my pattern and when attempts to parse the input String to convert it to Date..it fails!because the pattern I added doesn't exist in the DateTypeConverter.formatStrings! Couls someone help me?? thanks luther blisset wrote: > > Hi folk! > I've a problem with the validation. I've a form where the user can set a > date formatted with pattern dd/mm/yyyy. > I haven't set any validation for my domain model but Stripes > 'automatically' validate this field and gives me an error saying me that > the input date is not in the correct form (the error is > converter.date.invalidDate). > I tried also to put the @DontValidate annotation but Stripes validation > keeps occuring. > But what I found very strange is that I've the same ActionBean with the > same jsp in other project and it works correctly! > I'm thinking is some configuration stuff but I've no idea how to solve it. > I hope the problem was well-explained.. > cheers > -- View this message in context: http://www.nabble.com/Validation-problem-tp21743667p21745714.html Sent from the stripes-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
