Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Enabling client-side JavaScript
Enabling client-side JavaScript [message #740390] Tue, 18 October 2011 13:06 Go to next message
Alexey Romanov is currently offline Alexey RomanovFriend
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 13:29]

Report message to a moderator

Re: Enabling client-side JavaScript [message #740642 is a reply to message #740390] Tue, 18 October 2011 18:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
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 19:00 Go to previous message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
Thanks!
Previous Topic:webservice error
Next Topic:ORA-02089 only in BIRt
Goto Forum:
  


Current Time: Fri Apr 26 03:22:18 GMT 2024

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

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

Back to the top