how to change portletID
Serge <[email protected]> Tue, 08 Jan 2008 14:48:44 +0100
| Newsgroups | gmane.comp.jakarta.pluto.user |
|---|---|
| Message-ID | <op.t4l5ziec80um11@wildchild> |
Hello, i have to build a portal based on pluto. But I have a problem with the portletID. The portletID usually contains context path, portlet name and meta info. (Created in java class PortletWindowConfig in package org.apache.pluto.driver.services.portal in pluto-portal-driver). I only need the portlet name in my portlets. So I changed the java code from "return contextPath + "." + portletName + "!" + metaInfo;" to "return portletName;". Then installed pluto on apache tomcat with command "mvn pluto:install -DinstallDir="path to tomcat"". But I still have the old portletID in my html source code. Have somebody any solution for my problem? Thanks, Serge