Skip to main content



      Home
Home » Archived » BIRT » chart interactivity : URL evaluation
chart interactivity : URL evaluation [message #173856] Tue, 27 June 2006 12:09 Go to next message
Eclipse UserFriend
Hi there,
I got this error, about my interactivity settings in a barchart. What am I
doing wrong, this time ?

There are errors evaluating script
"http://213.139.103.9/TpsSupervision/barChart_NJ.do".
Error.ScriptEvaluationError ( 24 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: There are
errors evaluating script
"http://213.139.103.9/TpsSupervision/barChart_NJ.do".

Thanks in advance, Thomas.
Re: chart interactivity : URL evaluation [message #173890 is a reply to message #173856] Tue, 27 June 2006 13:22 Go to previous messageGo to next message
Eclipse UserFriend
Probably you forgot to quote the url?

If it's a javascript expression, string values must be quoted.

Thanks,

David


"Thomas Escolan" <thomas_escolan@yahoo.fr> wrote in message
news:657e9a53dce72cae930f2d91d2a07f36$1@www.eclipse.org...
> Hi there,
> I got this error, about my interactivity settings in a barchart. What am I
> doing wrong, this time ?
>
> There are errors evaluating script
> "http://213.139.103.9/TpsSupervision/barChart_NJ.do".
> Error.ScriptEvaluationError ( 24 time(s) )
> detail : org.eclipse.birt.report.engine.api.EngineException: There are
> errors evaluating script
> "http://213.139.103.9/TpsSupervision/barChart_NJ.do".
>
> Thanks in advance, Thomas.
>
Re: chart interactivity : URL evaluation [message #173976 is a reply to message #173890] Wed, 28 June 2006 03:25 Go to previous messageGo to next message
Eclipse UserFriend
This is what I have :

<BaseUrl>&lt;structure name=&quot;action&quot;>&#xD;
&lt;property name=&quot;linkType&quot;>hyperlink&lt;/property >&#xD;
&lt;expression
name=&quot;uri&quot;>http://213.139.103.9/TpsSupervision/barChart_NJ.do&lt;/expression>&#xD;
&lt;property name=&quot;targetWindow&quot;>_self&lt;/property >&#xD;
&lt;/structure>&#xD;
</BaseUrl>

After changing this (add quotes) within chart edit dialog, copying the
library files from workspace to viewer's lib directory, re-adding AND
refreshing the files in the Library Explorer, THEN refreshing the
libraries in my report and previewing it... it worked !

Thanks David. But, don't you think this is obviously complicated ? Where
this quoting tip is documented ??
Are there bugs produced in order to fix the refresh libraries questions ?
Re: chart interactivity : URL evaluation [message #173977 is a reply to message #173890] Wed, 28 June 2006 03:42 Go to previous messageGo to next message
Eclipse UserFriend
OK, seen and understood : it need to be a string because it can be
scripted.
If I there add a parameters like this :
"http:\\...\myServlet.do?date=" + params["date"]

Does the Category name adder understand that a "&" is to be used then ?
Re: chart interactivity : URL evaluation [message #173978 is a reply to message #173977] Wed, 28 June 2006 03:46 Go to previous messageGo to next message
Eclipse UserFriend
Yes, it does ! Congratulations.
Re: chart interactivity : URL evaluation [message #173980 is a reply to message #173977] Wed, 28 June 2006 03:53 Go to previous message
Eclipse UserFriend
Yes. I double-checked the code.

Thanks,

David

"Thomas Escolan" <thomas_escolan@yahoo.fr> wrote in message
news:f99455bf1b290d55907c5433af3893ad$1@www.eclipse.org...
> OK, seen and understood : it need to be a string because it can be
> scripted.
> If I there add a parameters like this :
> "http:\\...\myServlet.do?date=" + params["date"]
>
> Does the Category name adder understand that a "&" is to be used then ?
>
Previous Topic:null engine instance
Next Topic:Building RC5
Goto Forum:
  


Current Time: Fri Jul 18 00:43:39 EDT 2025

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

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

Back to the top