Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Enabling client-side JavaScript
Enabling client-side JavaScript [message #740390] Tue, 18 October 2011 09:06 Go to next message
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
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]

Report message to a 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
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

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
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
Thanks!
Previous Topic:webservice error
Next Topic:ORA-02089 only in BIRt
Goto Forum:
  


Current Time: Tue Jul 29 13:12:10 EDT 2014

Powered by FUDForum. Page generated in 0.01677 seconds