Hi,
I am using GWT 2.3
I have an existing <input type="button"> element in my hosted html file. When i wrap it like Button btn = Button.wrap(DOM.getElementById('id'));
Then i get following 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:135)
at com.google.gwt.user.client.ui.Button.wrap(Button.java:57)
at com.faregugly.client.Faregugly.createButtonTab(Faregugly.java:60)
Any solution for this pls?
Thanks
Deepak