google-code-export / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 1 forks source link

SoundResourse don't work #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I tried to realize the example described here:
http://code.google.com/p/google-web-toolkit-incubator/wiki/SoundResource

I have wrote the class ImmutableResourceBundle and I have create the class
on the client in this manner:

  try {    
            Suoni suoni = (Suoni) GWT.create(Suoni.class);
            Window.alert("Sound "+suoni.beep().getName()+"
"+suoni.beep().isReady());
        } catch (Throwable e) {
            Window.alert("Exception " + e);
        }

But when GWT.create(Suoni.class) is executed on the client is throw this
exception: com.google.gwt.core.client.JavaScriptException: JavaScript Error
exception: Trying to add unsupported property on scriptable plugin object!

Windows Xp - Firefox 3.0beta5 IE7

Thank's

Original issue reported on code.google.com by daniele.renda on 11 Apr 2008 at 9:57

GoogleCodeExporter commented 9 years ago

Original comment by gwt.team...@gmail.com on 21 Apr 2008 at 3:16