Re: how to change portletID

"Christian Raschka" <[email protected]> Tue, 8 Jan 2008 14:55:15 +0100
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
Hi Serge,

it's not a good idea to change the getPortletId method. I would recommend to
use getPortletName instead.
Nevertheless you have to "mvn install" before a "mvn pluto:install" for
every build.

Christian

2008/1/8, Serge <[email protected]>:
>
> 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
>