Archive

Archive for February, 2012

Adding Drawing to SmartGWT Application

February 16, 2012 Leave a comment

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: