I want to include a block of text from a ClientBundle's TextResource in a UiBinder template.
Logically, I want this: <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" <ui:with field="res" type="foo.resources.ClientResources"/> <div> {res.myTextResource.getText} </div> </ui:UiBinder> But this just prints the literal "{res.myTextResource.getText}". And yet this: <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" <ui:with field="res" type="foo.resources.ClientResources"/> <div id="{res.myTextResource.getText}"> </div> </ui:UiBinder> ... yields the content of myTextResource in the ID of the div. So, is there some voodoo hidden somewhere that allows me to use {res.foo} notation outside of an attribute? All of the examples shown in "Declarative Layout with UiBinder" are for setting attributes. If this isn't currently possible, is there a reason not to allow what I'm trying to do? Or is there a better approach that is equally or more concise? Thanks, Isaac -- 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.