I have backed off from attempting to cleanup the whole PortletConfig - Portlet API issue at this time. Instead, I found the problem with the portlet ID and fixed it.
I am also going to make sure that velocity portlets include the portlet id in the cache handle, so that the cache can distinguish between different portlet instances in the cache, since that's really what we are caching. Because the PortletConfig (and other info) is part of the Portlet API and that is what is cached, the cached object contains information specific to an Entry of a particular portal page (thus making it a Portlet Instance, sort of). There will be a new AbstractPortlet extension to handle this for other portlets if anyone wishes to cache more precisely. - Glenn On Friday, May 10, 2002, at 12:53 PM, David Sean Taylor wrote: >> -----Original Message----- >> From: Glenn Golden [mailto:[EMAIL PROTECTED]] >> Sent: Thursday, May 09, 2002 7:30 PM >> To: 'Jetspeed Developers List' >> Subject: RE: Portlet.getID() returning NULL >> >> >> David - >> >> Nice to hear your "voice" again! >> >> Damn about getID(). All my code is based on this! I have to fix it. >> >> The question is how far do we go now. >> >> How much of this do you understand and can layout / have a chat about? > > I don't have time this week. > Do you want to set aside an hour or so sometime next week? > > Lets start by looking at JetspeedPortalToolkitService.getSet. > Also BasePortletSet, which is currently the container for the delivered > portlet tree. > I need to spend some time re-introducing myself to the problems with > PortletConfig again. > > The burrito you are speaking of is really a PortletInstance, isn't it? > It then can delegate to the actual portlet when necessary for the > getContent(), and then delegate to the PortletEntry to get PSML state > (like the id). > The instance can also be used to get session state, using the > PortletEntry's id to generate the session key into the state manager. > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > - Glenn --------------------------------------------------------------------- Glenn R. Golden Systems Research Programmer School of Information University of Michigan [EMAIL PROTECTED] 734-615-1419 --------------------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
