com.smartgwt.client.docs
Interface LoadingOptionalModules


public interface LoadingOptionalModules

Loading Optional Modules

If your Smart GWT install includes an optional module, it must be added as an <inherits> tag in your moduleName.gwt.xml module file for it to be used. Make sure you have downloaded the appropriate .jar file for the optional modules (eg Analytics.jar) - these are included in Evaluation SDKs but are separate downloads when using an Optional Module with Power or Enterprise. The table below describes what <inherits> to add for each module.

Module name Add this to your .gwt.xml file
Charts
<inherits name="com.smartgwt.Charts"/>
Analytics (CubeGrid)
<inherits name="com.smartgwt.Analytics"/>
RealTimeMessaging
<inherits name="com.smartgwt.RealtimeMessaging"/>
Note that all optional modules must appear after the rest of Smart GWT is included, and Charts must be loaded before Analytics.