Re: How to wrap a “submit button” with GWT?

2012-01-31 Thread Thomas Broyer
Document.get().getElementById() simply maps to document.getElementById(), so you'll have to use your browser's debugging tools to debug it. First, I'd try to change the ID of the button. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: How to wrap a “submit button” with GWT?

2012-01-30 Thread Thomas Broyer
On Monday, January 30, 2012 8:51:51 AM UTC+1, Xybrek wrote: I am getting an error when I try to wrap a submit button with GWT: Caused by: java.lang.AssertionError: Child cannot be null at com.google.gwt.dom.client.Node$.isOrHasChild$(Node.java:278) at

Re: How to wrap a “submit button” with GWT?

2012-01-30 Thread Xybrek
On 1/30/2012 4:33 PM, Thomas Broyer wrote: On Monday, January 30, 2012 8:51:51 AM UTC+1, Xybrek wrote: I am getting an error when I try to wrap a submit button with GWT: Caused by: java.lang.AssertionError: Child cannot be null at

How to wrap a “submit button” with GWT?

2012-01-29 Thread Xybrek
I am getting an error when I try to wrap a submit button with GWT: Caused by: java.lang.AssertionError: Child cannot be null at com.google.gwt.dom.client.Node$.isOrHasChild$(Node.java:278) at com.google.gwt.user.client.ui.Button.wrap(Button.java:55) HTML Code: div style=display:none