Hi,
I was using
new Image(imgResource).getElement().getString()
to generate HTML text. That was working just fine. But after I did
certain refactoring in my code - that stopped to work. Instead of HTML
content it returns me null value.
I tested it with Label:
Label test = new Label("test label");
String h = test.getElement().getString();
GWT.log("test label [" + h + "]");
and it brings me "test label [null]".
Do you guys have any idea why it could happen? That's really strange
because I tested it in a new project and result is as expected:
test label [<div class="gwt-Label">test label</div>]
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.