portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucio Savino" <luciosav...@libero.it>
Subject Re: Config Mode and read-only preferences
Date Tue, 03 Jul 2007 20:21:04 GMT
Thanks for your answer,
can you tell me how I can get a reference to the registry?

---------- Initial Header -----------

>From      : "David Sean Taylor" david@bluesunrise.com
To          : "Jetspeed Developers List" jetspeed-dev@portals.apache.org
Cc          : 
Date      : Tue, 3 Jul 2007 11:25:56 -0700
Subject : Re: Config Mode and read-only preferences







> 
> On Jul 3, 2007, at 7:16 AM, Lucio Savino wrote:
> 
> > Hi all,
> > this is my problem:
> > I'd like to use portlets preferences to customize more istances of  
> > the same portlet, but I would like to use the same preferences for  
> > all user. This is possible using read-only portlets preferences  
> > that can managed by the administrator through the config mode.
> > I know that jetspeed doesn't support this mode.
> > Can anybody suggest me how to use read-only preferences, or however  
> > how to customize the different instances of the same portlet?
> 
> 
> It sounds like the same request as https://issues.apache.org/jira/ 
> browse/JS2-634
> Default portlet preferences are stored in the registry
> You can edit the default preferences with the Registry API, such as
> 
> portlet = registry.getPortletDefinitionByUniqueName("demo::HelloWorld");
> 
> Then you could for example iterate over the default prefs:
> 
> 
>          Iterator itr = portlet.getPreferenceSet().get 
> ("myPreference").getValues();
> 
> 
> 


------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-modeĀ™ di Wind
http://i-mode.wind.it/


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


Mime
View raw message