Skip to main content



      Home
Home » Archived » BIRT » M2 report not working in M3: visibility, formatting date with <value-of>
M2 report not working in M3: visibility, formatting date with <value-of> [message #98010] Fri, 09 December 2005 13:03 Go to next message
Eclipse UserFriend
I've discovered that formatting dates is not working the same way in M2
and M3. Here is code that I had in M2 report that doesn't work in M3 in
HTML/Dynamic Text:

<VALUE-OF format="MM/dd/yyyy">row["effectiveDate"]</VALUE-OF>-<value-of
format="MM/DD/YYYY">row["expirationDate"]</value-of>

This code was to take two dates and show them like this:

08/31/2005 - 08/31/2006

Deleting the code noted above eliminates the following error:

Error happened while running report.

I've also discovered that visibility options set with javascript
conditions do not appear to work as they did in M2. I've posted to Bug
120093.

Any comments would be appreciated.

Jett Hanna
Re: M2 report not working in M3: visibility, formatting date with <value-of> [message #98099 is a reply to message #98010] Fri, 09 December 2005 14:06 Go to previous messageGo to next message
Eclipse UserFriend
A little more on the odd behavior of the <value-of> statement. If you
eliminate the "dash" in the code, you get no error but the second
<value-of> tag evaluates to "false" rather than the date value.
Re: M2 report not working in M3: visibility, formatting date with <value-of> [message #98159 is a reply to message #98099] Sat, 10 December 2005 00:04 Go to previous message
Eclipse UserFriend
After further work, the difference between M2 and M3 concerning the
<value-of> tag is that you must surround text with a tag of some sort when
working with HTML/Dynamic text. This was not required before.

Visibility problem is already pending as bug 119839.
Previous Topic:Reports Global Properties
Next Topic:BIRT 2.0M3 installation looks for "org.eclipse.datatools.connectivity.oda"
Goto Forum:
  


Current Time: Wed Apr 23 23:09:43 EDT 2025

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

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

Back to the top