Problem with valueData of type date [message #258282] |
Sun, 14 October 2007 18:28 |
Eclipse User |
|
|
|
Hi everyone,
I am trying to use the interactive features in BIRT Charts. I want to
invoke a script when a dataelement in a chart is selected. So I set on
mouse click to invoke script. In the script I can refer to
a) valueData
b) categoryData
c) valueSeriesName
The problem is that my valueData or category data in the DB is of type
DATE. The value in the database is 2007-10-03 for example, however the
valueData turns out to be "SUN OCT 03 00:00:00 CEST 2007". I cant really
handle this string and havent found any way of converting it. I need to
pass on the date to a function that uses it, but I cant use that format.
I believe its a toString() on a java.util.Date object or something like it.
Any ideas how I can get arround this, solve this or at least plug a
peace of javascript or java in so that valueData is not delivered as
such a String but rather the actual raw value.
Any help is appriciated,
thx
Philipp
|
|
|
Powered by
FUDForum. Page generated in 0.03170 seconds