Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8758119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:27:56+00:00 2026-06-13T14:27:56+00:00

I am in the process of localizing a rather large GWT UIbinder code base

  • 0

I am in the process of localizing a rather large GWT UIbinder code base and ran across a couple of instances where the process of setting attributes does not work.

DateLabel javadoc

NumberLabel javadoc

I need to specify the date format and number format in a LocalizableResource_xx.properties file for DateLabel and NumberLabel widgets.

I tried converting this fragment

   <g:DateLabel styleName="{style.formPromptData}" 
        ui:field="createDate" customFormat="MMM d, yyyy" /> 

using the ui:attribute method with no success

Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator
[ERROR] No method found to apply message attribute customFormat Element (:63)

Is there a way to localize these elements?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:27:57+00:00Added an answer on June 13, 2026 at 2:27 pm

    customFormat="XXX" translates to DateTimeFormat.getFormat("XXX") and is no different wrt localization: that is, it’s not localizable.

    If you want a localizable custom format, use a CustomDateTimeFormat (that currently relies on ICU4J’s DateTimePatternGenerator) or a Constants or Messages interface. Instantiate it with <ui:with> and use with customFormat="{intf.customPattern}" (format="{intf.customPattern}" actually if you use a CustomDateTimeFormat).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm in the process of localizing a website. I was going to go the
I am in the process of localizing a game. I have roughly 1% of
Process.Start(IExplore.exe); Does this always work, on every machine ? If not, how to do
My user authorization process looks like that. During signin process function fires following code.
I'm in the process of setting up mongodb, and we use puppet to control
my process needs to create a zip file with a large number of files(that
I'm looking for a tool to automate the process of localizing one software product.
A process running as a non-administrator user does not have rights to write to
So, I am in the process of global/localizing an asp.net mvc3 website and have
Problem: Process a CSV file and test a condition on it. Current code simply

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.