htmlResource.html

    <div>This is a test <label id="client_bundle_test"></label></div>

code (GWT version: 2.0.0)

    String htmlTestResource = TestResources.INSTANCE.htmlTestResource
().getText();
    HTML htmlTest = new HTML(htmlTestResource);
    RootPanel.get().add(htmlTest);
    Label testLabel = Label.wrap(Document.get().getElementById
("client_bundle_test"));
    testLabel.setText("with wrapping on included html");

The above fails on the wrapping, as it always did. I guess there is
still no way to have GWT interpret/parse the DOM elements present in
the included resource, and add them to its internal widget tree. Or is
there?

--

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-tool...@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