Hi,

I'm trying to insert internationalized strings into my application but
it seems to fail a compile time.

What I've done is the following :
 - Add a org.bgaillard.client.constant.LoginPanelConstants which
extends the ConstantsWithLookup interface
 - Add a org/bgaillard/client/constant/
LoginPanelConstants_fr.properties file
 - Add

    <extend-property name="locale" values="en" />
    <extend-property name="locale" values="fr" />

     <set-property-fallback name="locale" value="en"/>

In my GWT XML module file.

 - Generate (using the Maven GWT Plugin) a
org.bgaillard.client.constant.LoginPanelConstants_fr.class interface
which extends the ConstantsWithLookup interface
 - Add

   <meta name="gwt:property" content="locale=fr" />

  in my root application HTML file.
 - Configure each file to use the UTF-8 encoding

But, a compile time I always have this error :

[ERROR] Errors in '. . . /src/main/java/org/bgaillard/client/widgets/
panel/LoginPanel.java'
[ERROR] Line 45:  Rebind result
'org.bgaillard.client.constant.LoginPanelConstants_fr' must be a class
[ERROR] Cannot proceed due to previous errors

Line 45 corresponds to that piece of code:

      this.loginPanelConstants =
GWT.create(LoginPanelConstants.class);

I'm using GWT 2.3 and the Maven GWT Plugin 2.2.0 to generate GWT
interfaces (for internationalization and async services) and to
compile.


What is the error ? Why do I have this "Rebind" error at compile
time ?

Thanks,

Bouba331

-- 
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