Date: 2005-02-08T07:23:33 Editor: BastianBowe Wiki: Cocoon Wiki Page: CocoonAppAsJSR168Portlet URL: http://wiki.apache.org/cocoon/CocoonAppAsJSR168Portlet
no comment Change Log: ------------------------------------------------------------------------------ @@ -18,11 +18,11 @@ === Deployment === - 1. copied blocks.properties to local.blocks.properties and disabled the scratchpad and cron (this one caused a problem on my configuration, but you might leave that step out) blocks + 1. copied blocks.properties to `local.blocks.properties` and disabled the scratchpad and cron (this one caused a problem on my configuration, but you might leave that step out) blocks - 1. created a portlet.xml in `<COCOON_HOME>/src/webapp/WEB-INF` by using `<COCOON_HOME>/src/blocks/portal/WEB-INF/portlet.xml` as a base and removed the first portlet node so that you only keep the second `portlet` node (`portlet-name` = `CocoonPortlet`). You're might be interested in changing the init-param �servlet-path� e.g. to the value "�/`" to see the output you normally get when opening http://localhost:8080/cocoon/ + 1. created a `portlet.xml` in `<COCOON_HOME>/src/webapp/WEB-INF` by using `<COCOON_HOME>/src/blocks/portal/WEB-INF/portlet.xml` as a base and removed the first portlet node so that you only keep the second `portlet` node (`portlet-name` = `CocoonPortlet`). You're might be interested in changing the `init-param` `servlet-path` e.g. to the value `/` to see the output you normally get when opening http://localhost:8080/cocoon/ - 1. built cocoon war from source + 1. built `cocoon war` from source 1. deleted content of `<TOMCAT_HOME>/common/endorsed` @@ -36,14 +36,14 @@ 1. deleted `<TOMCAT_HOME>/webapps/cocoon/WEB-INF/lib/pluto-1.0.1-rc1.jar` (makes trouble) - 1. you can savely delete portlet-api-1.0.jar (optional) + 1. you can savely delete `portlet-api-1.0.jar` (optional) 1. modified `<PLUTO_HOME>/WEB-INF/data/portletcontexts.txt` {{{ /testsuite /cocoon }}} - 1. modified `<PLUTO_HOME>/WEB-INF/data/portletentityregistry.xml` to include the following after the `<portlet-entity-registry>` node:{{{ + 1. modified `<PLUTO_HOME>/WEB-INF/data/portletentityregistry.xml` to include the following inside the `<portlet-entity-registry>` node:{{{ <application id="9"> <definition-id>cocoon</definition-id> <portlet id="1"> @@ -51,7 +51,7 @@ </portlet> </application> }}} - 1. modified `<PLUTO_HOME>/WEB-INF/data/pageregistry.xml` to include the following after the `<portal>` node: {{{ + 1. modified `<PLUTO_HOME>/WEB-INF/data/pageregistry.xml` to include the following inside of the `<portal>` node: {{{ <fragment name="cocoon" type="page"> <navigation> <title>Cocoon </title> @@ -72,7 +72,7 @@ http://localhost:8080/pluto/portal/cocoon [[Anchor(linkproblem)]]Anyway, clicking on a link in that portlet (assuming you've set -`servlet-path`'s value to "`/`") doesn't work. The link to "samples" +`servlet-path`'s value to `/`) doesn't work. The link to "samples" points to http://localhost:8080/pluto/portal/samples. Pointing manually to http://localhost:8080/pluto/portal/cocoon/samples is the same as http://localhost:8080/pluto/portal/cocoon.
