I'm gonna crazy %_%
I created a new project in Netbeans.
Installed plugin for gwt 2.4
Downloaded smartgwtee 3.0 stable
Added all jars in project
Added in smart gwt module xml
Added in WEB-INF -> iscTaglib.xml
Added in WEB-INF/classes -> log4j.isc.config.xml server.properties
Created folder ds in webroot
In server.properties i changed gwtmodulename on mine org.smart.web
in html i added <script src="smart/sc/DataSourceLoaderdataSource=contacts"></script> and isomorphic folder.
Created simple example from quick guide (Contacts datasource)
Compiled w/o errors. Enter on page , opening java console and see this
Uncaught ReferenceError: isc is not defined
But response from datasource is ok. I see json but in :8084/smart/smart/sc/DataSourceLoader?dataSource=contacts:1 Uncaught ReferenceError: isc is not defined
Other stuff working fine also VisualBuilder.
What i did wrong help please :/
I created a new project in Netbeans.
Installed plugin for gwt 2.4
Downloaded smartgwtee 3.0 stable
Added all jars in project
Added in smart gwt module xml
Code:
<module> <inherits name="com.google.gwt.user.User"/> <inherits name="com.smartgwtee.SmartGwtEE"/> <inherits name="com.smartgwtee.tools.Tools"/> <entry-point class="org.smart.client.webEntryPoint"/> <set-property name="user.agent" value="safari" /> </module>
Added in WEB-INF/classes -> log4j.isc.config.xml server.properties
Created folder ds in webroot
In server.properties i changed gwtmodulename on mine org.smart.web
in html i added <script src="smart/sc/DataSourceLoaderdataSource=contacts"></script> and isomorphic folder.
Created simple example from quick guide (Contacts datasource)
Compiled w/o errors. Enter on page , opening java console and see this
Uncaught ReferenceError: isc is not defined
But response from datasource is ok. I see json but in :8084/smart/smart/sc/DataSourceLoader?dataSource=contacts:1 Uncaught ReferenceError: isc is not defined
Other stuff working fine also VisualBuilder.
What i did wrong help please :/
Comment