Wednesday, November 7, 2012

Is there anything different about internationalizing a Dialog?

I just did my first dialog box in GWT - with uibinder.  Strangely the code I use for internationalizing didn't work (completely).  It looks like the dialog box is trying to be rendered in iso-8859-1 because some French chars are not recognized.

Here is the code that appears at the top of a uibinder view (generated in eclipse by the gwt plugin).  I also put it at the top of the dialog boxes uibinder.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui' 
xmlns:p1="urn:import:com.google.gwt.user.datepicker.client"
ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
    ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator"
    ui:generateLocales="default" xmlns:p2="urn:import:com.google.gwt.user.cellview.client">

This works in all my view's but not in the dialog box.

Any ideas?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7QsCud7B0JMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate