The cvs version has a new persistence service. Package: org.apache.jetspeed.services.persistence
This introduces the idea of a PortletInstance, which represents the current psml information for that portlet instance. The Portlet interface also has a getInstance() method which will return the PortletInstance for that Portlet. I did a good portion of the work on the new persistence service, so feel free to ask me about it if you have any questions. Scott > -----Original Message----- > From: Wimmer, Matthias [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 11, 2002 9:50 AM > To: 'Jetspeed Users List' > Subject: RE: the .xreg files by code > > Ok, that sounds quite simple. I have a similar question: > > I succeeded in creating a portlet instance from of the registry > information: > > Entry theEntry = new Entry(); > theEntry.setParent( "MyPortlet" ); > Portlet thePortlet = PortletFactory.getPortlet( theEntry ); > > > But I would rather like to create a portlet instance with a user's PSML > information. How can this be done? > > > > I am obliged to any response. > > Matthias Wimmer > > > > > > > -----Original Message----- > > From: Weaver, Scott [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, July 11, 2002 10:22 AM > > To: 'Jetspeed Users List' > > Subject: RE: the .xreg files by code > > > > > > org.apache.jetspeed.services.Registry > > > > Registry.get(Registry.PORTLET) > > > > Scott > > > > > -----Original Message----- > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, July 11, 2002 8:52 AM > > > To: Jetspeed Users List > > > Subject: the .xreg files by code > > > > > > Hi, i'm trying to get (by code, obviously) the list of the > > portlets and > > > their information (those ones in the .xreg files, included portlet > > > parameters) anyone can help? > > > > -- > To unsubscribe, e-mail: <mailto:jetspeed-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:jetspeed-user- > [EMAIL PROTECTED]>
