Could someone provide an example of how to integrate the SmartGWT module (like built-in-ds) into an existing non-GWT web app? Is this even possible? Hard to tell from the documentation I have read. Any help greatly appreciated.
Announcement
Collapse
No announcement yet.
X
-
It is quite straightforward : In your non-gwt web app have a page that has a div with an ID and on this page add all the script includes that you normally have in your GWT host html page including your GWT module's nocache.js file. Your GWT module that produces this nocache.js file should simply add RootPanel.get("your-div-id").add(<top level Smart GWT widget>)
When this page loads the compiled GWT module will simply add the top level Smart GWT widget to the div on your existing page.
Comment
-
Originally posted by smartgwt.dev View PostIt is quite straightforward : In your non-gwt web app have a page that has a div with an ID and on this page add all the script includes that you normally have in your GWT host html page including your GWT module's nocache.js file. Your GWT module that produces this nocache.js file should simply add RootPanel.get("your-div-id").add(<top level Smart GWT widget>)
When this page loads the compiled GWT module will simply add the top level Smart GWT widget to the div on your existing page.
Comment
Comment