Skip to main content



      Home
Home » Archived » BIRT » Problem with valueData of type date
Problem with valueData of type date [message #258282] Sun, 14 October 2007 18:28
Eclipse UserFriend
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
Previous Topic:Java - Build Dynamic Table (BIRT) tutorial
Next Topic:Classloader fails when looking for oracle JDBC driver -- at random
Goto Forum:
  


Current Time: Fri Jul 04 22:08:43 EDT 2025

Powered by FUDForum. Page generated in 0.09383 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top