Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Screen number in letter
ju_lien
Hello
I try to use a javascript function to write numbers in letters. This function doesn't seem to work in birt 2.2.2 and returns me an error (see attached file).
I use it in the initialize part of the script tab.
Could you help me to understand what happened and to fix this problem?
thank in advance
Find more posts tagged with
Comments
bhanley
<blockquote class='ipsBlockquote' data-author="'ju_lien'" data-cid="65762" data-time="1277115732" data-date="21 June 2010 - 03:22 AM"><p>
Hello<br />
<br />
I try to use a javascript function to write numbers in letters. This function doesn't seem to work in birt 2.2.2 and returns me an error (see attached file).<br />
<br />
I use it in the initialize part of the script tab.<br />
<br />
Could you help me to understand what happened and to fix this problem?<br />
<br />
thank in advance<br /></p></blockquote>
<br />
Can you run this script successfully in a standard HTML page running outside of BIRT?<br />
<br />
How are you previewing the report? If you are viewing it inside BIRT, make sure you have JavaScript debugging enabled in IE. That will carry over into the Eclipse run-and-render action. This will help to at least see what line is throwing the error. If you are running from an App Server, use Firefox with Firebug installed to debug a bit.<br />
<br />
Update this thread with a sample report that throws the error and I will dig into it to get things working as well.<br />
<br />
Good Luck!
ju_lien
Hi,<br />
<br />
sorry for this late answer.<br />
<br />
<blockquote class='ipsBlockquote' ><p>Can you run this script successfully in a standard HTML page running outside of BIRT?</p></blockquote>
<br />
Yes i can run this function in a standard html page without any problems.<br />
<br />
<br />
<blockquote class='ipsBlockquote' ><p>How are you previewing the report?</p></blockquote>
<br />
I preview the report directly with the birt preview (view report as html)<br />
<br />
<br />
I just have downloaded firebug and put firefox as my default browser, i will try with this new elements.<br />
<br />
Thanks for your help and i keep you informed.<br />
<br />
bye,<br />
<br />
Julien