Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Convert java.util.Locale to com.google.gwt.i18n.shared.Gwt Locale

    I have a problem, that I need the 2 different types of locales in my app.

    On the server side I need java.util.Locale as a parameter for some backend-calls and on the client side I need GwtLocale for the user to see/change. On the client side I tried using LocaleUtils.getLocaleFactory() to create a GwtLocale to send via GWT RPC to the server.

    Here is my problem:
    when I compile my code, I get the error message "No source code is available for type com.google.gwt.i18n.rebind.LocaleUtils; ..." even so I inherit com.google.gwt.i18n.I18N.

    So what I am I missing?
    How would YOU go about to solve this conversion problem?

    Thanks,
    Thomas

    I'm using GWT 2.1.1 and SmartGWT 2.4
Working...
X