Skip to main content



      Home
Home » Archived » BIRT » Error in Chart Parameter Binding in 2.0RC
Error in Chart Parameter Binding in 2.0RC [message #106716] Tue, 10 January 2006 05:51 Go to next message
Eclipse UserFriend
Originally posted by: andy.lawton.nospam.com

There is an error when trying to use parameters in charts.

Create a data set with a single parameter.
Create a chart and bind this data set as the source for the chart data by
checking the Use Data Set radio button and selecting the data for the series
you want.
Press the Parameters button, and try to use a report parameter instead of
the default value. If you do this, you get the following:


A BIRT exception occurred.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Data Engine
Plug-in ID:org.eclipse.birt.data
Version:2.0.0
Error Code:data.engine.BirtException
Error Message:A BIRT exception occurred: Error evaluating Javascript
expression. Script engine error: ReferenceError: "params" is not defined.
Script source: ParamBinding(STAD), line: 0, text:
params["STAD"]. See next exception for more information.
Error evaluating Javascript expression. Script engine error: ReferenceError:
"params" is not defined.
Script source: ParamBinding(STAD), line: 0, text:
params["STAD"]

This all worked fine in M2. In fact, I can't open reports I created in M2
with 2.0RC.

Andy
Re: Error in Chart Parameter Binding in 2.0RC [message #106806 is a reply to message #106716] Tue, 10 January 2006 08:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

this is a bug that has been fixed in the upcoming release.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=122739.

Cheers ... Jan
Re: Error in Chart Parameter Binding in 2.0RC [message #106959 is a reply to message #106806] Tue, 10 January 2006 10:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andy.lawton.nospam.com

Oh good.

Any idea when this release is? I'm a bit stuck without charts at the moment.

Andy

"Jan H. Scheufen" <jan-hendrik@gmx.net> wrote in message
news:6414326e5d8f0342c1b58cb77105dfef$1@www.eclipse.org...
> Hi,
>
> this is a bug that has been fixed in the upcoming release.
> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=122739.
>
> Cheers ... Jan
>
Re: Error in Chart Parameter Binding in 2.0RC [message #107344 is a reply to message #106959] Wed, 11 January 2006 09:01 Go to previous messageGo to next message
Eclipse UserFriend
Sorry, no idea.

Take a look at the project plan page (which is updated once in a while):

http://www.eclipse.org/birt/index.php?page=project/PlanAndDe liverables.html

As a workaround you can create your chart with default values und when
you're finished you bind the report parameters to it. That way you avoid
those error messages popping up in the chart wizard.

Jan
It's ok [message #107366 is a reply to message #107344] Wed, 11 January 2006 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zhangliang.vip.gmail.com

It happened in the web.xml.

in birt-m3:
----
<servlet>
<servlet-name>ViewerServlet</servlet-name>
<servlet-class>org.eclipse.birt.report.viewer.servlets.ViewerServlet </servlet-class>
</servlet>
----
but in birt-rc1,but in the birt-runtime it's ok.
----
<servlet>
<servlet-name>ViewerServlet</servlet-name>
<servlet-class>org.eclipse.birt.report.viewer.servlet(no
's').ViewerServlet</servlet-class>
</servlet>
----
Re: Error in Chart Parameter Binding in 2.0RC [message #107463 is a reply to message #106959] Wed, 11 January 2006 12:33 Go to previous message
Eclipse UserFriend
The 2.0 release is scheduled for Jan 20th. I think this fix made it in 2.0
RC1. It's difficult to tell as the fix was done the same day as the build
though, but you can give it a try.

Thanks,

David

"Andy" <andy.lawton@nospam.com> wrote in message
news:dq0jlr$bh8$1@utils.eclipse.org...
> Oh good.
>
> Any idea when this release is? I'm a bit stuck without charts at the
> moment.
>
> Andy
>
> "Jan H. Scheufen" <jan-hendrik@gmx.net> wrote in message
> news:6414326e5d8f0342c1b58cb77105dfef$1@www.eclipse.org...
>> Hi,
>>
>> this is a bug that has been fixed in the upcoming release.
>> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=122739.
>>
>> Cheers ... Jan
>>
>
>
Previous Topic:Portlet Support
Next Topic:page break interval
Goto Forum:
  


Current Time: Tue Sep 16 13:41:04 EDT 2025

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

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

Back to the top