Hi guys,

I have a custom widget which throws a NullPointerException when I
attempt to add it to a layout panel with GWT Designer. After some
digging, I realized its because my custom widget has some code that
tries to contact my server and this code should not be executed when
instantiated by GWT Designer. So I wrapped the code within an
isDesignTime check as described at this webpage:

http://code.google.com/webtoolkit/tools/gwtdesigner/features/gwt/enhanced_compilation.html

However, the code in question still gets executed when I add the
custom widget to a layout panel in the designer. What am I doing
wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to