Skip to main content



      Home
Home » Archived » BIRT » Enabling client-side JavaScript
Enabling client-side JavaScript [message #740390] Tue, 18 October 2011 09:06 Go to next message
Eclipse UserFriend
How can I enable client-side JavaScript in Preview/Web Viewer? After adding a single text with
<script>alert(new Date());</script>

it only appears in "View as HTML". Obviously it can be done by modifying the viewer and calling setJavascriptEnabled(true). But is it possible without doing this?

[Updated on: Tue, 18 October 2011 09:29] by Moderator

Re: Enabling client-side JavaScript [message #740642 is a reply to message #740390] Tue, 18 October 2011 14:39 Go to previous messageGo to next message
Eclipse UserFriend
Set the preferences to use an external browser.

window->preferences->Report Design->Preview
check box Always use external browsers

Jason

On 10/18/2011 9:06 AM, Alexey Romanov wrote:
> How can I enable client-side JavaScript in Preview/Web Viewer? After
> adding a single text with <script>alert(new Date());</script> it only
> appears in "View as HTML". I am willing to modify the viewer if necessary.
Re: Enabling client-side JavaScript [message #740659 is a reply to message #740642] Tue, 18 October 2011 15:00 Go to previous message
Eclipse UserFriend
Thanks!
Previous Topic:webservice error
Next Topic:ORA-02089 only in BIRt
Goto Forum:
  


Current Time: Tue Jul 22 19:37:58 EDT 2025

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

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

Back to the top