Thursday, February 11, 2010

using custom messages with UIBinder

Hi all,

I try to use an exising com.google.gwt.i18n.client.Messages object
with UIBinder. I think that the messages object can be made available
to the template by an "ui:with" element:

<ui:with field="msgs" type="com....MyMessages"/>

When I tried to access a label from the messages using

<g:HTML HTML="{msg.label}"/>

I get the error message: "class HTMLhas no appropriate setHTML". That
seems to be an error, because the HTML class has a setHTML(String)
method.

Does anyone know what is going wrong?

--Stefan

--
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