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)
Hi Williams
vikasg18
I need to include my own method in the BirtParameterDialog.js similar to '__neh_change_select' with my code, that is invoked when clicking on list box in the Report Viewer window.
and i need to know what JS file does what.(I mean JS files/methods responsible to handle which events).
could u pls help me in knowing the files....????
-Vikas
Find more posts tagged with
Comments
vikasg18
If possible, could u pls look into the issue at the earliest?
mwilliams
Hi Vikas,
After downloading the BIRT runtime, you can find all the JSP files for the parameters in the following location:
C:birt-runtime-2_3_0WebViewerExamplewebcontentbirtpagesparameter
Hope this helps.
vikasg18
I have found out the JS file which i was looking for.<br />
The method '__neh_change_select' from the file BirtParameterDialog.js <br />
is invoked whenever we select a value from the list box in the report viewer window.<br />
Now, i have made a new js file with a method similar to __neh_change_select, but with additional logic by extending BirtParameterDialog.js<br />
Now the prob is, when i extend AbstractParameterDialog.js, the method in my new js file executes and runs fine, but when i extend BirtParameterDialog.js i get an error saying <br />
<br />
this.__instance is undefined<br />
<a class='bbc_url' href='
http://localhost:8080/WebViewerExample/webcontent/birt/ajax/ui/dialog/AbstractBaseDialog.js'>http://localhost:8080/WebViewerExample/webcontent/birt/ajax/ui/dialog/AbstractBaseDialog.js</a><br
/>
Line 40<br />
<br />
this.initialize is undefined<br />
<a class='bbc_url' href='
http://localhost:8080/WebViewerExample/webcontent/birt/ajax/lib/prototype.js'>http://localhost:8080/WebViewerExample/webcontent/birt/ajax/lib/prototype.js</a><br
/>
Line 24<br />
<br />
Pls look into this issue and help me to resolve asap.<br />
<br />
-Vikas
vikasg18
I am able to fix the above issue.
I will get intouch with u, if there are any other unresolved issues.
-Vikas