> UiBinder is not a templating tool, it's a "UI building" tool.
> templating, use Messages or SafeHtmlTemplates.
I understand that clearly. In other words, Why does GWT not provide a
templating tool.? For example, like JSP. In general, a templating tool
is much more clever and simple solution than UI binder. Messages or
SafeHtmlTemplates - It's not the case, It's for another purposes:
Messages - for internalization, SafeHtmlTemplates is related to
security. I don't see any performance reasons not to do a templating
tool.

> In the case of your "Hello MAX", assuming its part of a bigger "UiBinder
> template", I'd rather put the ui:field on the <div> and use setInnerHtml or
> setInnerText on it, building the "template" in the code (using Messages or
> SafeHtmlTemplates)

In this case It's much more simple and elegant to use a template in
only place than make a lot of redundant code throughout application.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to