I am following example on wiki:
http://code.google.com/p/google-web-toolkit/wiki/UiBinderI18n
to try out UiBinderi18n in 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
-~----------~----~----~----~------~----~------~--~---