Based on the Javadoc I assumed that com.smartgwt.client.util.Page.setIsomorphicDir(s) would redefine the URLs for all non-skin resources:
This doesn't seem to be the case. I set
But the URLs Smart GWT issues are as follows:
The JavaScript and CSS resources are still served from the original URL. Is that a bug or is there some other method I need to call additionally?
Background: I try to set up caching as per http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/docs/Caching.html with the help of URL rewriting.
P.S. I can't find the class com.isomorphic.servlet.FileDownload documented in the caching docs, where does it come from?
Specify the root directory for Isomorphic-supplied files.
Code:
String moduleName = GWT.getModuleName(); Page.setIsomorphicDir(moduleName + "/sc1.0.10/"); Page.setSkinDir(moduleName + "/sc1.0.10/skins/Enterprise/");
http://server/context/module/sc/modules/ISC_Core.js
http://server/context/module/sc/skins/Enterprise/load_skin.js
http://server/context/module/sc/skins/Enterprise/skin_styles.css
http://server/context/module/sc1.0.10/skins/Enterprise/images/Scrollbar/vscroll_start.png
http://server/context/module/sc/skins/Enterprise/load_skin.js
http://server/context/module/sc/skins/Enterprise/skin_styles.css
http://server/context/module/sc1.0.10/skins/Enterprise/images/Scrollbar/vscroll_start.png
Background: I try to set up caching as per http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/docs/Caching.html with the help of URL rewriting.
P.S. I can't find the class com.isomorphic.servlet.FileDownload documented in the caching docs, where does it come from?
Comment