Hi
I have a button in my html code:
<input name="commit" value="Sign In" type="submit" id="loginButton">
i woul like to wrap it to a button:
Button loginButton=Button.wrap(DOM.getElementById("loginButton"));
but i am getting an exception:
java.lang.AssertionError: null
at com.google.gwt.dom.client.ButtonElement$.as(ButtonElement.java:
33)
at com.google.gwt.user.client.ui.Button.<init>(Button.java:115)
at com.google.gwt.user.client.ui.Button.wrap(Button.java:56)
How could i wrap my html button to a button object
--
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.