portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Le Strat <dlest...@yahoo.com>
Subject Re: [J2] Loading portlet.xml settings
Date Wed, 21 Apr 2004 14:10:04 GMT
David,

How do you get the following info from the registry?

<user-attribute>
<description>User Given Name</description>
<name>user.name.given</name> 15
</user-attribute>

Regards,

David.

--- David Sean Taylor <david@bluesunrise.com> wrote:
> 
> On Apr 20, 2004, at 8:16 PM, David Le Strat wrote:
> 
> > Hello there,
> >
> > I am correct in interpreting that we are not
> currently
> > loading the setting from portlet.xml?
> >
> > org.apache.jetspeed.tools.pamanager.FileSystemPAM
> > Line 124
> > // Application app =
> >
>
registry.loadPortletApplicationSettings(portletXMLPath,
> > paName);
> >
> The portlet.xml is read exactly  one time: at deploy
> time.
> After that the portlet's settings are read from the
> registry.
> To read the Portlet.xml, try 
> JetspeedDescriptorUtilities.loadPortletDescriptor
> 
> The code above is from the 'unregister' method, as
> in unregister the 
> default Portlet Application
> 
> 
> > PortletRegistryComponent does not have the method
> > registry.loadPortletApplicationSettings anymore. 
> Do
> > we need to reimplement this there? Or are the
> > properties loaded somewhere else and I just missed
> it?
> >
> What exactly do you want to do?
> If you need to read a Portlet Application from the
> Registry, see the 
> Registry component's getPortletApplication method
> 
> --
> David Sean Taylor
> Bluesunrise Software
> david@bluesunrise.com
> [office]   +01 707 773-4646
> [mobile] +01 707 529 9194
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jetspeed-dev-help@jakarta.apache.org
> 



	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25
http://photos.yahoo.com/ph/print_splash

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message