Hi Woonsan,
thanks for your fast answer.
How can I instantiate the PortletApplicationManagement? For
PortletRegistry I use
PortletRegistry portletRegistry = (PortletRegistry)
componentManager.getComponent("org.apache.jetspeed.components.portletregistry.PortletRegistry");
kind regards,
Frank
Am 12.05.2010 12:18, schrieb Woonsan Ko:
The portlet registry REST service depends on the search engine to retrieve
portlet definitions.
So, when you invoke PortletRegistry.removeApplication() method manually, it
doesn't update the search index automatically.
I'd like to suggest you use
org.apache.jetspeed.tools.pamanager.PortletApplicationManagement#unregisterPortletApplication(String
paName) instead, which will update the search index as well as invoking
PortletRegistry.removeApplication().
Regards,
Woonsan
----- Original Message ----
From: Frank Otto<[email protected]>
To: Jetspeed Users List<[email protected]>
Sent: Wed, May 12, 2010 11:41:10 AM
Subject: toolbox: duplicate entries
Hi,
I remove a portlet with PortletRegistry.removeApplication(). After
this I redeploy the portlet. In the toolbox the portlet is shown
twice.
After new remove and redeploy, I see three portlets with the same
name. And so one...
Has someone an idea?
kind
regards,
Frank
---------------------------------------------------------------------
To
unsubscribe, e-mail:
ymailto="mailto:[email protected]"
href="mailto:[email protected]">[email protected]
For
additional commands, e-mail:
ymailto="mailto:[email protected]"
href="mailto:[email protected]">[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]