Index: guide-simple-portlet.xml =================================================================== --- guide-simple-portlet.xml (revision 410315) +++ guide-simple-portlet.xml (working copy) @@ -20,6 +20,7 @@ Documentation for Creating a Simple Portlet + @@ -90,10 +91,33 @@

- +

- Create the file simplest.psml in the src/webapp/WEB-INF/pages directory of your Jetspeed Portal. - The portlet-app id and the portlet-name are combined to identify the portlet fragment. Rebuild your portal. + From the directory simplest combine the files above into a war file using the command, + +jar cvf ../simplest.war . + +

+
+ +

+ Copy the war file to $CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy. Jetspeed-2 + will deploy the webapp. +

+
+ +

+ Create the file simplest.psml and copy it to the + $CATALINA_HOME/webapps/jetspeed/WEB-INF/pages + directory of your Jetspeed Portal. + The portlet-app id and the portlet-name are combined to identify the portlet fragment. + Alternatively one can use the portlet chooser by clicking on the edit page icon. + Your user must have the permission to edit pages. The user admin password + admin has permission to edit all pages. The user user + password user has permission to edit the + [USER 004] PSML Page. + And by default Jetspeed-2 allows newly registered users to add portlets and customize + their home page. @@ -117,23 +141,11 @@ ]]> + Test the portlet using the + simplest.psml in + your browser.

- -

- From the directory simplest combine the files above into a war file using the command, - -jar cvf ../simplest.war . - -

-
- -

- Copy the war file to $CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy. Jetspeed-2 - will deploy the webapp. Access the page in your navigator - http://localhost:8080/jetspeed/portal/simplest.psml. -

-