Thank you for your answer;
I tried that before, same problem. The way I wrote this param, on my
case, is took from the i18n GWT sample project.

On 14 oct, 00:38, "Fernando Paz" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> You need to add separated lines fir each locale, something like this:
>
> http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog...
>
> On Tue, Oct 7, 2008 at 11:26 AM, philippe <[EMAIL PROTECTED]>wrote:
>
>
>
> > Hi all,
>
> > I'm using i18n for the first time in a GWT app. When I add the
> > following line in my gwt.xml file :
>
> > <extend-property name="locale" values="en,fr" />
>
> > The app crash in hosted mode (stack trace below). I'm using a noserver
> > configuration (PHP backend). The problem seems to be that GWT can't
> > find the default locale. I tried to specify it in the URL (with ?
> > locale=en), or in the HTML page (with <meta name="gwt:property"
> > content="locale=en">), with no success. I found a couple of threads
> > with the same exception, but none of them really helped me (in both
> > cases the hosted mode was working) : I'm aware it could be beacuse of
> > my noserver configuration, and my nocache files, but I can't find
> > where...
>
> > Thank you for your help.
>
> > the stack trace :
>
> > [ERROR] Error while executing the JavaScript provider for property
> > 'locale'
> > java.lang.RuntimeException: Failed to invoke native method:
> > __gwt_getProperty with 1 arguments.
> >        at com.google.gwt.dev.shell.mac.LowLevelSaf.invoke(LowLevelSaf.java:
> > 160)
> >        at
> > com.google.gwt.dev.shell.mac.ModuleSpaceSaf.doInvoke(ModuleSpaceSaf.java:
> > 98)
> >        at
> > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> > 447)
> >        at
> > com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> > 228)
> >        at
>
> > com.google.gwt.dev.shell.ModuleSpacePropertyOracle.computePropertyValue(Mod 
> > uleSpacePropertyOracle.java:
> > 95)
> >        at
>
> > com.google.gwt.dev.shell.ModuleSpacePropertyOracle.getPropertyValue(ModuleS 
> > pacePropertyOracle.java:
> > 59)
> >        at
>
> > com.google.gwt.i18n.rebind.LocaleInfoGenerator.generate(LocaleInfoGenerator 
> > .java:
> > 88)
> >        at
> > com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> > 51)
> >        at com.google.gwt.dev.shell.StandardRebindOracle
> > $Rebinder.tryRebind(StandardRebindOracle.java:116)
> >        at com.google.gwt.dev.shell.StandardRebindOracle
> > $Rebinder.rebind(StandardRebindOracle.java:61)
> >        at
>
> > com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j 
> > ava:
> > 166)
> >        at
>
> > com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.j 
> > ava:
> > 114)
> >        at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:468)
> >        (...)
>
> > [ERROR] Error while executing the JavaScript provider for property
> > 'locale'
> > java.lang.RuntimeException: Failed to invoke native method:
> > __gwt_getProperty with 1 arguments.
> >        at com.google.gwt.dev.shell.mac.LowLevelSaf.invoke(LowLevelSaf.java:
> > 160)
> >        at
> > com.google.gwt.dev.shell.mac.ModuleSpaceSaf.doInvoke(ModuleSpaceSaf.java:
> > 98)
> >        at
> > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> > 447)
> >        at
> > com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> > 228)
> >        at
>
> > com.google.gwt.dev.shell.ModuleSpacePropertyOracle.computePropertyValue(Mod 
> > uleSpacePropertyOracle.java:
> > 95)
> >        at
>
> > com.google.gwt.dev.shell.ModuleSpacePropertyOracle.getPropertyValue(ModuleS 
> > pacePropertyOracle.java:
> > 59)
> >        at
>
> > com.google.gwt.i18n.rebind.LocalizableGenerator.generate(LocalizableGenerat 
> > or.java:
> > 97)
> >        at
> > com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> > 51)
> >        at com.google.gwt.dev.shell.StandardRebindOracle
> > $Rebinder.tryRebind(StandardRebindOracle.java:116)
> >        at com.google.gwt.dev.shell.StandardRebindOracle
> > $Rebinder.rebind(StandardRebindOracle.java:61)
> >        at
>
> > com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j 
> > ava:
> > 166)
> >        at
>
> > com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.j 
> > ava:
> > 114)
> >        at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:468)
> >        at
> > com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
> > 359)
> >        at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:
> > 39)
> >        (...)
>
> > [ERROR] Could not parse specified locale
> > com.google.gwt.core.ext.BadPropertyValueException: Property 'locale'
> > cannot be set to unexpected value '<failed to compute>'
> >        at
>
> > com.google.gwt.dev.shell.ModuleSpacePropertyOracle.computePropertyValue(Mod 
> > uleSpacePropertyOracle.java:
> > 103)
> >        at
>
> > com.google.gwt.dev.shell.ModuleSpacePropertyOracle.getPropertyValue(ModuleS 
> > pacePropertyOracle.java:
> > 59)
> >        at
>
> > com.google.gwt.i18n.rebind.LocalizableGenerator.generate(LocalizableGenerat 
> > or.java:
> > 97)
> >        at
> > com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> > 51)
> >        at com.google.gwt.dev.shell.StandardRebindOracle
> > $Rebinder.tryRebind(StandardRebindOracle.java:116)
> >        at com.google.gwt.dev.shell.StandardRebindOracle
> > $Rebinder.rebind(StandardRebindOracle.java:61)
> >        at
>
> > com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j 
> > ava:
> > 166)
> >        at
>
> > com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.j 
> > ava:
> > 114)
> >        at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:468)
> >        at
> > com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
> > 359)
> >        at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:
> > 39)
> >        at com.google.gwt.core.client.GWT.create(GWT.java:97)
> >        at
> > com.google.gwt.i18n.client.LocaleInfo.<clinit>(LocaleInfo.java:35)
> >        at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:158)
> >        (...)
--~--~---------~--~----~------------~-------~--~----~
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