Hello,
I've downloaded SmartGWT-5.0p and I was trying to run the helloworld-2.0 sample.
Firstly I edited file smartgwt-5.0p/helloworld-2.0/src/com/mycompany/HelloWorld.gwt.xml to add the following line (without it the normal ant build was failing):
From a terminal window I have then run the ant hosted command
$ cd smartgwt-5.0p/helloworld-2.0
$ ant hosted
This launches the GWT Development Mode. Once it has completed loading I click on Launch Default Browser. This starts Firefox, which loads a first page showing the message "Compiling helloworld" and then it refreshed to a blank screen. When this happens Firebug shows the following errors:
and
Any idea how to resolve this issue? I would expect the HelloWorld samples to work without any issues!
I've downloaded SmartGWT-5.0p and I was trying to run the helloworld-2.0 sample.
Firstly I edited file smartgwt-5.0p/helloworld-2.0/src/com/mycompany/HelloWorld.gwt.xml to add the following line (without it the normal ant build was failing):
Code:
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
$ cd smartgwt-5.0p/helloworld-2.0
$ ant hosted
This launches the GWT Development Mode. Once it has completed loading I click on Launch Default Browser. This starts Firefox, which loads a first page showing the message "Compiling helloworld" and then it refreshed to a blank screen. When this happens Firebug shows the following errors:
Code:
TypeError: $wnd.isc is undefined if ($wnd.isc.Dialog) {
Code:
com.smartgwt.client.core.JsObject$SGWT_WARN: Core SmartClient JavaScript libraries appear not to be loaded. If inheriting the NoScript SmartGWT modules, verify that the HTML file includes <script src=...> tags to load the SmartClient module .js files from the appropriate location within the WAR. By default these files are present under [GWT app name]/sc/modules/. at fillInStackTrace_0_g$ at Throwable_2_g$ at Exception_2_g$ at JsObject$SGWT_WARN_1_g$ at init_6_g$ at onModuleLoad_4_g$ at init_2_g$ at initializeModules_0_g$ at apply_0_g$ at entry0_0_g$ at entry_1_g$/< at gwtOnLoad_0_g$ at anonymous at anonymous $wnd.console.error(message_0_g$);
Comment