Home > Web GIS > Adding Drawing to SmartGWT Application

Adding Drawing to SmartGWT Application

Just a quick note to those who are trying to use Drawing in SmartGWT 3.0. If you are getting exceptions like:

com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.isc[scClassName] is undefined

Make sure you do the following:

  1. Add <inherits name=”com.smartgwt.Drawing” /> to your .gwt.xml. If you are running in a development mode with external server such as Tomcat or Glassfish, you want to make sure that this change is actually synchronized with them
  2. Clean your internet cache. If the cache is not cleared up, you will still get the exception
Advertisements
Categories: Web GIS Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: