Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem loading external resource
Problem loading external resource [message #83858] Tue, 22 April 2008 00:24 Go to next message
Eclipse UserFriend
Originally posted by: kevin.mcdonald.csiro.au

Hi!
I am a newcomer to RAP and Javascript and am having difficulty in loading
a specific Javascript file. The segment which appears to be causing the
problems is:

if (! Object.prototype.inheritsFrom) {
Object.prototype.inheritsFrom = function(oSuper) { for (sProperty in
oSuper) this[sProperty] = oSuper[sProperty]; } }
Re: Problem loading external resource [message #83871 is a reply to message #83858] Tue, 22 April 2008 00:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kevin.mcdonald.csiro.au

Sorry, accidentally posted the message before I had finished it.

I also wanted to add that when this segment is commented out, I am able to
load the rest of the javascript file without problems.

Any help would be greatly appreciated!

Thanks,
Kevin McDonald.
Re: Problem loading external resource [message #83901 is a reply to message #83871] Tue, 22 April 2008 08:16 Go to previous message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Kevin,

welcome to RAP.

It's not easy to analyze your problem from this line of code. First of
all, there is a difference between "normal" Javascript files and those
who use the qooxdoo object model. I could imagine that your Javascript
statement interferes with qooxdoo. You could have a look at
http://qooxdoo.org/documentation/0.7/class_declaration

If this doesn't help, have a look at the Javascript error in the
browser. For example, the Firebug extension for Firefox is a great help
to do so.

Best regards,
Ralf

Kevin McDonald wrote:
> Sorry, accidentally posted the message before I had finished it.
>
> I also wanted to add that when this segment is commented out, I am able
> to load the rest of the javascript file without problems.
>
> Any help would be greatly appreciated!
>
> Thanks,
> Kevin McDonald.
>
Previous Topic:left and right margin of coolbar
Next Topic:You guys are on to it
Goto Forum:
  


Current Time: Tue Apr 16 15:20:12 GMT 2024

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

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

Back to the top