hi,
I try to deploy the helloworld portlet in the default page of the default portal.
if i take the basic helloworld portlet, it deploys, but not the way I want.
Just an item in the menu portlet => I click and it opens a new page (helloworld) with the portlet and its content.
I've modified the helloworld portlet to be able to see it in the default page (with the CMS portlet )
i've modified the file helloworld-pages.xml :
<pages> <portal-name>default</portal-name> <page> <page-name>default</page-name> <window> <window-name>HelloWorldPortletWindow</window-name> <instance-ref>helloworld.HelloWorldPortlet.HelloWorldPortletInstance</instance-ref> <default>true</default> <region>center</region> <height>3</height> </window> </page> </pages>
15:18:16,209 ERROR [MainDeployer] Could not create deployment: file:/usr/jboss/server/default/deploy/helloworld.war/WEB-INF/hellworld-pages.xml org.jboss.deployment.DeploymentException: page.default.default already registered; - nested throwable: (org.jboss.portal.server.kernel.ServiceAlreadyRegisteredException: page.default.default already registered)