Saturday, April 27, 2013

Re: NumberConstants_xx.properties override

I solved this by deferred binding like so:

   <replace-with class="com.my.cool.class.NumberConstants">
    <when-type-is class="com.google.gwt.i18n.client.constants.NumberConstantsImpl"/>
    <when-property-is name="locale" value="es_MX"/>
  </replace-with>

On Tuesday, April 16, 2013 9:20:06 AM UTC-7, Jeff Isenhart wrote:
I've searched a bit, but cannot find any information on how to override the canned gwt NumberConstants_xx.properties file. My goal is to inject my own NumberConstants_es_MX.properties. Is this possible?

Thanks,
Jeff

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment