[ http://jira.andromda.org/browse/BPM-208?page=comments#action_11822 ] Walter Itamar MourĂ£o commented on BPM-208: ------------------------------------------
>>like I already explained: we cannot rely on the usage of Dates only >> because this would render the client-side validation completely >>useless .. the validation framework requires us to use String instances It's not true. I thought this way too, but now I know we can use any type in forms, since we configure the (apache commons) converters and (sometimes) do some customization in the validator. Sometime ago I sent you a small project working with dates and times in forms, with the client (and server) validation working fine. > Server side date and time validation are ignored > ------------------------------------------------ > > Key: BPM-208 > URL: http://jira.andromda.org/browse/BPM-208 > Project: Bpm4Struts Cartridge > Type: Bug > Reporter: Chad Brandon > Assignee: Wouter Zoons > > There's a bug in the server side date validation...what happens is that when > you convert the date to a string on the form, you already format the date or > the string gets set to null if there is an error parsing it by the date > formatter; this means that when the server side validator kicks in, the date > string is already null, therefore it can't validate it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Andromda-devel mailing list Andromda-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-devel