Hi group,

I'm stucked at the same place than you are Ben.

<ui:UiBinder
        xmlns:ui='urn:ui:com.google.gwt.uibinder'
        xmlns:g='urn:import:com.google.gwt.user.client.ui'
        ui:defaultLocale="es"
        ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator"
        
ui:generateFormat="com.google.gwt.i18n.rebind.format.PropertiesFormat"
        ui:generateFilename="PageTestMessages"
        ui:generateLocales="default"
        >

During build i seem to say that it is generating a properties file,
but no file generated...

     [java] Compiling module com.rheanet.Profiles
     [java]    Scanning for additional dependencies: transient source
for com.rheanet.client.PageTest_MyUiBinderImpl
     [java]       Computing all possible rebind results for
'com.rheanet.client.PageTestMyUiBinderImplGenMessages'
     [java]          Rebinding
com.rheanet.client.PageTestMyUiBinderImplGenMessages
     [java]             Invoking <generate-with
class='com.google.gwt.i18n.rebind.LocalizableGenerator'/>
     [java]                Generating PageTestMessages.properties from
PageTestMyUiBinderImplGenMessages_ for locale default


Has anybody found how we generate the properties file ?

Thanks

Arnaud



On 18 oct, 04:06, Ben <[email protected]> wrote:
> Anyone has insight on this?
>
> Just wondering if anyone has tried something similar to this.
>
> Thanks
> Ben
>
> On Oct 13, 7:18 pm, Ben <[email protected]> wrote:
>
> > I am following example on 
> > wiki:http://code.google.com/p/google-web-toolkit/wiki/UiBinderI18n
> > to try outUiBinderi18nin the latest 2.0 MS 1 release. I wrote a
> > sample ui.xml file like this:
>
> > <?xml version="1.0" encoding="UTF-8"?>
> > <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
> >         xmlns:g='urn:import:com.google.gwt.user.client.ui'
>
> >         ui:defaultLocale="en_us"
> >         ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator"
>
> > ui:generateFormat="com.google.gwt.i18n.rebind.format.PropertiesFormat"
> >         ui:generateFilename="myapp_translate_source"
> > ui:generateLocales="default">
> >         <g:HTMLPanel>
> >                 <table align="center">
> >                         <tbody>
> >                                 <tr>
> >                                         <td style="font-weight: bold;" 
> > colspan="2">
> >                                                 <ui:msg 
> > key="enterYourName">Please enter your name:</ui:msg>
> >                                         </td>
> >                                 </tr>
> >                                 <tr>
> >                                         <td id="nameFieldContainer">
> >                                                 <g:TextBox 
> > ui:field="nameField" />
> >                                         </td>
> >                                         <td id="sendButtonContainer">
> >                                                 <g:Button 
> > ui:field="sendButton" text="Send" />
> >                                         </td>
> >                                 </tr>
> >                         </tbody>
> >                 </table>
> >         </g:HTMLPanel>
> > </ui:UiBinder>
>
> > But it does not generate any file, shall I do something extra to make
> > it work?
>
> > Thanks!
--~--~---------~--~----~------------~-------~--~----~
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