portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r192942 - /portals/jetspeed-2/trunk/applications/pam/src/java/org/apache/jetspeed/portlets/selector/PortletSelector.java
Date Wed, 22 Jun 2005 15:33:44 GMT
Author: taylor
Date: Wed Jun 22 08:33:43 2005
New Revision: 192942

URL: http://svn.apache.org/viewcvs?rev=192942&view=rev
Log:
filter layout portlets in portlet selector

Modified:
    portals/jetspeed-2/trunk/applications/pam/src/java/org/apache/jetspeed/portlets/selector/PortletSelector.java

Modified: portals/jetspeed-2/trunk/applications/pam/src/java/org/apache/jetspeed/portlets/selector/PortletSelector.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/java/org/apache/jetspeed/portlets/selector/PortletSelector.java?rev=192942&r1=192941&r2=192942&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/java/org/apache/jetspeed/portlets/selector/PortletSelector.java
(original)
+++ portals/jetspeed-2/trunk/applications/pam/src/java/org/apache/jetspeed/portlets/selector/PortletSelector.java
Wed Jun 22 08:33:43 2005
@@ -146,7 +146,7 @@
                 // TODO: security filtering
                 MutablePortletApplication muta = (MutablePortletApplication)portlet.getPortletApplicationDefinition();
                 String appName = muta.getName();
-                if (appName != null && appName.equals("jetspeed"))
+                if (appName != null && appName.equals("jetspeed-layouts"))
                     continue;
                 
                 list.add(new PortletInfo(appName + "::" + portlet.getName(), portlet.getDisplayNameText(locale),
portlet.getDescriptionText(locale)));



---------------------------------------------------------------------
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