hi experts,
When I tried to add ImmutableResourceBundle and tried to run the
example file i got error like
ERROR] Line 27: No source code is available for type
com.MyApp.resourcebundle.MyResourceBundle; did you
forget to inherit a required module?
The steps i did is as follows..
1) <inherits name='com.google.gwt.libideas.ImmutableResources'/>
added in my .gwt.xml file
2) Create an interface like
public interface MyResourceBundle extends ImmutableResourceBundle
{
public static final MyResourceBundle INSTANCE =
(MyResourceBundle )
GWT.create(MyResourceBundle .class);
/** @gwt.resource css/mycss.css */
public TextResource css();
}
3)tried to call from onmoduleload
Window.alert(MyResourceBundle .INSTANCE.css().getText());
is there any additional steps i missed
pls help
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---