Hi Jeff, It is possible to configure the default portlet preferences in an admin portlet as well without changing the portlet.xml. However, it doesn't seem to show the CategoryPortletSelector portlet in /Administrative/pam.psml. I believe this problem should be fixed. If you are interested in the API to store the default preferences of the portlet definition, please have a look at the saveButton(String) method of the following class: https://svn.apache.org/repos/asf/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PreferencePanel.java
Regards, Woonsan ----- Original Message ---- > From: Jeff Pierce <[email protected]> > To: Jetspeed Users List <[email protected]> > Sent: Mon, August 2, 2010 8:09:46 AM > Subject: Changing Portlet Selector Search Categories > > We have a custom portal and we'd like to change the list if search > categories displayed on the Portlet Selector. I found you can customize > this list by editing the portlet.xml preferences for > the CategoryPortletSelector portlet in the j2-admin portal app. This isn't > very "build" friendly. It requires us to crack open the webapp, unpack the > file, then repackage the webapp as part of "post" build step. I was hoping > it would be configurable in the jetspeed-portlet.xml or controllable by > something we could put in the overrides but I haven't found anything. Is it > possible to add categories dynamically with an API? It seems this is > something each pa would want to control. > > Are there any ideas? > > Thanks > Jeff > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
