Developing Portlets with GWT
From Gcube Wiki
How to write a portlet with the aim of GWT.
Contents
Pre-development Actions
Modifying Tomcat
- Replace $CATALINA_HOME/webapps/gridsphere/WEB-INF/CustomPortal/layouts/TemplateLayout.xml with the corresponding one found here.
- Include gwt.js and script.html files found here in $CATALINA_HOME/webapps/gridsphere/html directory.
Modifying Gridpshere Home
If you want you can also apply the respective changes to gridsphere's home directory. This can be useful if, for some reason, you want to redeploy gridsphere.
Installing GWT
- Download the latest version of GWT from here.
- Uzip the file.
- Set environmntal variable: GWT_HOME=<the name of the folder where you unpacked gwt files>