Hi all,
When I tried to to run the sample program of HelloGadgets its showing
error like


ERROR] Failed to create an instance of
'com.myApp.client.HelloPreferences' via deferred binding
com.google.gwt.core.client.JavaScriptException: (TypeError): Object
expected
 number: -2146823281
 description: Object expected
        at com.google.gwt.gadgets.client.impl.PreferencesUtil
$.nativeInitPrefs(Native Method)
        at com.google.gwt.gadgets.client.UserPreferences
$Preference.<init>(UserPreferences.java:50)
        at
com.google.gwt.gadgets.client.EnumPreference.<init>(EnumPreference.java:
34)
        at com.MyApp.client.HelloPreferencesUserPreferencesImpl
$1.<init>(transient source for
com.myApp.client.HelloPreferencesUserPreferencesImpl:8)
        at
com.myApp.client.HelloPreferencesUserPreferencesImpl.<init>(transient
source for com.myApp.client.HelloPreferencesUserPreferencesImpl:8)
        at com.google.gwt.core.client.GWT.create(GWT.java:97)
        at com.myApp.client.HelloGadgetsGadgetImpl.<init>(transient source
for com.myApp.client.HelloGadgetsGadgetImpl:8)

any idea, whats missing from my side.
My class is like this..
public class HelloGadgets extends Gadget<HelloPreferences> ..{..}

and hellopreference is like public interface HelloPreferences extends
UserPreferences {...}

its working fine when my HelloGadgets extends Gadget<UserPreferences>
directly,insted of using interface.

pls help me
thanx in advance
zujee
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to