Thai, Perhaps you need to work at the registry level rather than at the fragment level. Try using Registry.removeEntry(Registry.PORTLET, entryName). This should remove it from both places.
Best regards, Mark C. Orciuch Next Generation Solutions, Ltd. e-Mail: [EMAIL PROTECTED] web: http://www.ngsltd.com > -----Original Message----- > From: Bui Quoc Thai [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 08, 2002 5:31 AM > To: Jetspeed Users List > Subject: Remove portlet entry without restarting Jetspeed? > > > Hi all, > > I use RegistryFragment to remove portlet-entry in .xreg file at > runtime like > this: > > fragment.removeEntry(Registry.PORTLET, "MyPortlet"); > > This code has actually removed the "MyPortlet" entry from .xreg file. > However, the portlet still reside in memory, that means the > portlet still in > the portal page. If I shutdown jetspeed and restart again, the portlet is > actually disappeared. The problem is I want to remove the portlet entry > from .xreg file and memory at the runtime without restrating jetspeed. > > Are there anyone can fix this problem, please show me know! > > Thank you very much. > Thai > > -------------------------- > Email: [EMAIL PROTECTED] > [EMAIL PROTECTED] > Room: C34 > Tel: 524-7099 > > ---------------------------------------------------------- > This mail sent through AIT WebMail : http://www.ait.ac.th/ > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
