Skip to main content



      Home
Home » Newcomers » Newcomers » [OS X] SWT-Browser ignores the script-tag
[OS X] SWT-Browser ignores the script-tag [message #269888] Wed, 01 April 2009 15:26 Go to next message
Eclipse UserFriend
Hi to all,

I'm new on this portal and I'm not sure, if this is the right group for my
very specific problem. If I'm wrong, lead my to the right group please.

My System:
- OS X 10.5.6
- Eclipse Version: 3.4.2 Build id:M20090211-1700
- Java 1.5.0_16

My application uses the swt-browser. I found out, if the browser gets
an html page with a script-tag to load a javascript file (e.g. <script
type="text/javascript" src="file.js"></script>), the file isn't load.
With Win XP it works as expected.

Because I couldn't test this on another Mac, I would ask, if there is
someone who can confirm this behavior? The really strange thing is,
that is is independent of using the XULrunner or not.

Could this be a bug?

Any hints are welcome.
Thanks a lot.
Regards
Thilo
Re: [OS X] SWT-Browser ignores the script-tag [message #269904 is a reply to message #269888] Thu, 02 April 2009 04:46 Go to previous message
Eclipse UserFriend
Originally posted by: none.domain.invalid

Thilo a écrit :
> Hi to all,
>
> I'm new on this portal and I'm not sure, if this is the right group for
> my very specific problem. If I'm wrong, lead my to the right group please.
>
> My System:
> - OS X 10.5.6 - Eclipse Version: 3.4.2 Build id:M20090211-1700
> - Java 1.5.0_16
>
> My application uses the swt-browser. I found out, if the browser gets
> an html page with a script-tag to load a javascript file (e.g. <script
> type="text/javascript" src="file.js"></script>), the file isn't load.
> With Win XP it works as expected.
>
> Because I couldn't test this on another Mac, I would ask, if there is
> someone who can confirm this behavior? The really strange thing is,
> that is is independent of using the XULrunner or not.
> Could this be a bug?
>
> Any hints are welcome.
> Thanks a lot.
> Regards
> Thilo

If you are using eclipse 3.5M6, you could call
Browser.setJavascriptEnabled(true).

I don't know for previous version.
Previous Topic:Multiple columns in Combo drop down.
Next Topic:How to Use / Configure Eclipse Ganymede to use OC4J in SOA / OAS
Goto Forum:
  


Current Time: Thu May 29 03:53:28 EDT 2025

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

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

Back to the top