|Re: Food for thought -- need a way to deploy JS only apps [message #759256 is a reply to message #759080]
||Mon, 28 November 2011 06:11
| Tony Chen
Registered: November 2011
Hi Dan, |
EDT introduced new design in Rich UI deployment, instead of putting everything into a big HTML, a small HTML will be created as the initial start-up, Rich UI runtime and dependent widget JS will be downloaded by this initial HTML at runtime. As a side effect, deploying to a Web server (instead of Application Server) is not as easy as in RBD. I just created Bug 364925 to track this enhancement.
In 0.7, to deploy an RUI application to a Web Server, please do the following
1. Use the egldd file to deploy to a dynamic web project, choose Tomcat or whatever works for you as the target runtime.
2. Make below changes to the generated HTML in the target project
--a. set your context root into egl__contextRoot="....";
--b. Find xmlhttp.open( 'POST', currentFile, false ); in the bottom of the HTML file, replace 'POST' with 'GET'
3. Deploy everything in <deploy project>/WebContent into the Web Server
[Updated on: Mon, 28 November 2011 06:13]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02364 seconds