Hi Rob, I think the feature was introduced with 2.2.0 release. Please see JS2-853 in the following page:
http://portals.apache.org/jetspeed-2/release-notes.html It seems that the patch was backported to JETSPEED-2.1.3-POSTRELEASE branch. It think that's why you found it in the 2.1.3 documentation. Regards, Woonsan --- On Thu, 7/9/09, Rob Bradley <robert.brad...@visionsolutions.com> wrote: > From: Rob Bradley <robert.brad...@visionsolutions.com> > Subject: selector.conditional.role not working? > To: jetspeed-user@portals.apache.org > Date: Thursday, July 9, 2009, 12:35 PM > > I am in the process of trying to stop a number of j2-admin > portlets > displaying in the Category Selector Portlet. I don't want > them to appear to > anybody including admin users. > > I found a document on the website which indicates what I > want to do is > possible: > http://portals.apache.org/jetspeed-2.1.3/deployguide/guide-registry.html > > It refers to setting the js:metadata > selector.conditional.role to * in order > to never show a portlet, however this does not appear to be > working. I am > using Jetspeed 2.1.3 and the file I'm changing is > jetspeed-portlet.xml in > the WEB-INF of the j2-admin webapp. > > For example: > > <portlet> > > <portlet-name>WelcomeToJetspeed</portlet-name> > > <js:security-constraint-ref>public-view</js:security-constraint-ref> > <js:metadata > name="selector.conditional.role">*</js:metadata> > </portlet> > > Please can anybody advise on what I'm doing wrong? > > Many thanks, > Rob > -- > View this message in context: > http://www.nabble.com/selector.conditional.role-not-working--tp24407834p24407834.html > Sent from the Jetspeed - User mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org > For additional commands, e-mail: jetspeed-user-h...@portals.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org For additional commands, e-mail: jetspeed-user-h...@portals.apache.org