[jboss-user] [jBPM] - Re: rich calender for jbpm task variable not working

László van den Hoek do-not-reply at jboss.com
Wed Jul 20 03:05:57 EDT 2011

László van den Hoek [http://community.jboss.org/people/laszlovandenhoek] created the discussion

"Re: rich calender for jbpm task variable not working"

To view the discussion, visit: http://community.jboss.org/message/616291#616291

I'm using the jBPM 3.2.10 packaged with JBoss SOA Platform 5.1, but on all other points you are describing exactly the same problem I'm having. 

The problem does not occur the first time you enter a value in the rich:calendar (that is, you are not overwriting any previously registered process variables). Therefore, I suspect the problem is that jBPM persists this initial Date through the underlying DbPersistenceService, and then the next time you retrieve the value from the database, it is wrapped in a java.sql.Timestamp and rich:calendar trips over it.

This gives rise to two possible solutions: either make the DbPersistenceService return a java.util.Date, or make rich:calendar properly handle java.sql.Timestamp values.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110720/2f4cd3cc/attachment-0001.html 

More information about the jboss-user mailing list