Monday, March 21, 2011

Constant ignored within tag.

The following UiBinder produces an unexpected result:

<ui:UiBinder
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'

ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'

ui:generateKeys='com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator'
ui:generateLocales='default' >

<ui:with field='cons' type='com.example. .. .client.MyCons'/>

<g:HTMLPanel>
<ui:msg>
Phone number: <ui:text from='{cons.phoneNumber}' />.
</ui:msg>
</g:HTMLPanel>
</ui:UiBinder>

The constant cons.phoneNumber is never displayed.
However when removing the <ui:msg> tags everything gets back in order.

Does anyone have a clue as how to make this work?

Regards.
Luc

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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