Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to setup Multi Module Application with common Smart Client resources

    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.

    Code:
    <script>var isomorphicDir = "sc/";</script>
    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.

    Code:
    <inherits name="com.smartgwt.SmartGwtNoSmartClient />
    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"



Working...
X