incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r161236 - in incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets: AbstractGraffitoPortlet.java AbstractTreePortlet.java SearchPortlet.java TreePortlet.java tree/CMSTreeLoader.java
Date Wed, 13 Apr 2005 23:17:31 GMT
Author: taylor
Date: Wed Apr 13 16:17:29 2005
New Revision: 161236

URL: http://svn.apache.org/viewcvs?view=rev&rev=161236
Log:
geez popular name (AbstractGraffitoPortlet)
renamed to AbstractTreePortlet

Added:
    incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractTreePortlet.java
      - copied, changed from r161231, incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractGraffitoPortlet.java
Removed:
    incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractGraffitoPortlet.java
Modified:
    incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/SearchPortlet.java
    incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/TreePortlet.java
    incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/tree/CMSTreeLoader.java

Copied: incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractTreePortlet.java
(from r161231, incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractGraffitoPortlet.java)
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractTreePortlet.java?view=diff&rev=161236&p1=incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractGraffitoPortlet.java&r1=161231&p2=incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractTreePortlet.java&r2=161236
==============================================================================
--- incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractGraffitoPortlet.java
(original)
+++ incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/AbstractTreePortlet.java
Wed Apr 13 16:17:29 2005
@@ -36,7 +36,7 @@
  * @version $Id: $
  */
 
-public class AbstractGraffitoPortlet extends GenericServletPortlet
+public class AbstractTreePortlet extends GenericServletPortlet
 {
     protected ContentSearchService search = null;
     protected ContentModelService cms = null;

Modified: incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/SearchPortlet.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/SearchPortlet.java?view=diff&r1=161235&r2=161236
==============================================================================
--- incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/SearchPortlet.java
(original)
+++ incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/SearchPortlet.java
Wed Apr 13 16:17:29 2005
@@ -47,7 +47,7 @@
  * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  * @version $Id: CMSSearchPortlet.java,v 1.4 2005/02/22 02:00:51 david Exp $
  */
-public class SearchPortlet extends AbstractGraffitoPortlet
+public class SearchPortlet extends AbstractTreePortlet
 {
     public final static String PORTLET_URL = "portlet_url";
     

Modified: incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/TreePortlet.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/TreePortlet.java?view=diff&r1=161235&r2=161236
==============================================================================
--- incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/TreePortlet.java
(original)
+++ incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/TreePortlet.java
Wed Apr 13 16:17:29 2005
@@ -47,7 +47,7 @@
  * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  * @version $Id: CMSTreePortlet.java,v 1.2 2005/02/18 01:10:56 david Exp $
  */
-public class TreePortlet extends AbstractGraffitoPortlet
+public class TreePortlet extends AbstractTreePortlet
 {
     public final static String PORTLET_ACTION = "portlet_action";
     public final static String PORTLET_URL = "portlet_url";

Modified: incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/tree/CMSTreeLoader.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/tree/CMSTreeLoader.java?view=diff&r1=161235&r2=161236
==============================================================================
--- incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/tree/CMSTreeLoader.java
(original)
+++ incubator/graffito/trunk/applications/graffito-portlets/src/java/org/apache/portals/graffito/portlets/tree/CMSTreeLoader.java
Wed Apr 13 16:17:29 2005
@@ -27,7 +27,7 @@
 import org.apache.portals.graffito.model.Document;
 import org.apache.portals.graffito.model.Folder;
 import org.apache.portals.graffito.model.Link;
-import org.apache.portals.graffito.portlets.AbstractGraffitoPortlet;
+import org.apache.portals.graffito.portlets.AbstractTreePortlet;
 import org.apache.webapp.admin.TreeControlNode;
 
 public class CMSTreeLoader 
@@ -36,9 +36,9 @@
 	public final static String PORTLET_URL = "portlet_url";
 		
 	private ContentModelService cms; 
-    private AbstractGraffitoPortlet portlet;
+    private AbstractTreePortlet portlet;
         
-    public CMSTreeLoader(ContentModelService cms, AbstractGraffitoPortlet portlet)
+    public CMSTreeLoader(ContentModelService cms, AbstractTreePortlet portlet)
     {
         this.cms = cms;
         this.portlet = portlet;
@@ -57,6 +57,7 @@
                     "FOLDER_DOMAIN",
                     "Folder",
                     true);
+        node.setExpandWhenClicked(true);
 
         if(cms.getDocuments(folder.getUri()).size() > 0)
         {



Mime
View raw message