Difference between revisions of "Developing Portlets with GWT"

From Gcube Wiki
Jump to: navigation, search
Line 1: Line 1:
 
How to write a portlet with the aim of GWT.
 
How to write a portlet with the aim of GWT.
  
== Pre-development Installation ==
+
== Pre-development Actions==
 
===Modifying Tomcat===
 
===Modifying Tomcat===
 
# Replace ''$CATALINA_HOME/webapps/gridsphere/WEB-INF/CustomPortal/layouts/TemplateLayout.xml'' with the corresponding one found [http://dlib.sns.it/bscw/bscw.cgi/0/55048 here].
 
# Replace ''$CATALINA_HOME/webapps/gridsphere/WEB-INF/CustomPortal/layouts/TemplateLayout.xml'' with the corresponding one found [http://dlib.sns.it/bscw/bscw.cgi/0/55048 here].
Line 12: Line 12:
 
===Installing GWT===
 
===Installing GWT===
 
#Download the latest version of GWT from [http://code.google.com/webtoolkit/ here].
 
#Download the latest version of GWT from [http://code.google.com/webtoolkit/ here].
 +
#Uzip the file.
 +
#Set environmntal variable: ''GWT_HOME=<the name of the folder where you unpacked gwt files>''

Revision as of 13:43, 1 March 2007

How to write a portlet with the aim of GWT.

Pre-development Actions

Modifying Tomcat

  1. Replace $CATALINA_HOME/webapps/gridsphere/WEB-INF/CustomPortal/layouts/TemplateLayout.xml with the corresponding one found here.
  2. 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

  1. Download the latest version of GWT from here.
  2. Uzip the file.
  3. Set environmntal variable: GWT_HOME=<the name of the folder where you unpacked gwt files>