Hello,
I am trying to set up a multi module application using smartGwt. Following is what I am trying to achieve
A War will be created. Lets say Example.war.
Inside Example.war there should be a folder sc which will contain Smart Client related code.
Two app will be there inside Example.war - App1 and App2.
For both these apps generated code will be inside App1/ and App2/ folder and app1.html and app2.html will be there in Example.war.
In both app1.html and app2.html I have included following code.
Can some one suggest how should approach for this?
Following I have tried:
I have included following in App1.gwt.xml and App2.gwt.xml so that linking does not happens.
I have also copied sc folder to webapp directory. When I tried running app I am getting following error "Uncaught TypeError: Cannot read property 'Dialog' of undefined"
I am trying to set up a multi module application using smartGwt. Following is what I am trying to achieve
A War will be created. Lets say Example.war.
Inside Example.war there should be a folder sc which will contain Smart Client related code.
Two app will be there inside Example.war - App1 and App2.
For both these apps generated code will be inside App1/ and App2/ folder and app1.html and app2.html will be there in Example.war.
In both app1.html and app2.html I have included following code.
Code:
<script>var isomorphicDir = "sc/";</script>
Following I have tried:
I have included following in App1.gwt.xml and App2.gwt.xml so that linking does not happens.
Code:
<inherits name="com.smartgwt.SmartGwtNoSmartClient />