Monday, January 30, 2012

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

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

That means the argument to Button.wrap() is 'null' (debug 101: step into the code; it's open source, so read the source!), i.e. in your case Document.get().getElementById("submit") returns 'null'.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment