[ http://jira.andromda.org/browse/BPM-171?page=comments#action_11806 ]
     
Wouter Zoons commented on BPM-171:
----------------------------------

before I restart trying to fix this issue one small question: when using the 
date field in the validwhen constraint, didn't it work to just reference the 
myDate field instead of the myDateAsDate ?

what was the reason ? I remember us talking about this but I don't remember the 
fine points

> validwhen doesn't work with java.util.Date
> ------------------------------------------
>
>          Key: BPM-171
>          URL: http://jira.andromda.org/browse/BPM-171
>      Project: Bpm4Struts Cartridge
>         Type: Bug
>     Reporter: Walter Itamar MourĂ£o
>     Assignee: Wouter Zoons
>  Attachments: testestruts.zip
>
> The validwhen validation doesn't work with the java.util.Date, since the 
> validator uses the toString method, and the java.util.Date.toString() doesn't 
> return a string suitable for comparison. Besides that, bpm4struts uses the 
> sufix AsDate in date fields, so the validwhen tries to use the String version 
> of the form attribute, which isn't suitable for comparison too.

-- 
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

Reply via email to