Hello,
I have a GWT application that need to set html field from java
code(GWT) i tried this but element is always null
Element element = Document.get().getElementById("progressStatus");
if (element != null)
{
GWT.log("found element with id:" +
"progressStatus");
TextAreaElement textfield = element.cast();
textfield.setValue("status..");
}
Project structure:
|---Main.html: page that loads compiled module
|---page.html: the page that need to be updated from GWT
So my question, is it possible to set field in page.html from GWT
code, if so how??
Note: page.html is show after clicking anchor defined like this:Anchor
anchor = new Anchor( "message", false, "page.html", "_blank");
--
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.