Update of 
/var/cvs/contributions/CMSContainer_Modules/publish-remote/src/java/com/finalist/cmsc/publish
In directory 
james.mmbase.org:/tmp/cvs-serv2556/publish-remote/src/java/com/finalist/cmsc/publish

Modified Files:
        Publisher.java 
Log Message:
CMSC-1087 changes the status box of a page to a dynamic tree in the Workflow 
section of the CMSc


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/publish-remote/src/java/com/finalist/cmsc/publish
See also: http://www.mmbase.org/jira/browse/CMSC-1087


Index: Publisher.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/publish-remote/src/java/com/finalist/cmsc/publish/Publisher.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- Publisher.java      1 Aug 2008 14:47:51 -0000       1.8
+++ Publisher.java      27 Dec 2008 11:39:37 -0000      1.9
@@ -16,6 +16,7 @@
 import org.mmbase.remotepublishing.util.PublishUtil;
 
 import com.finalist.cmsc.mmbase.TypeUtil;
+import com.finalist.cmsc.repository.AssetElementUtil;
 import com.finalist.cmsc.repository.ContentElementUtil;
 import com.finalist.cmsc.repository.RepositoryUtil;
 import com.finalist.cmsc.services.workflow.Workflow;
@@ -85,6 +86,9 @@
                        findContentBlockNodes(childNode, nodes);
                    }
                }
+               else if(AssetElementUtil.isAssetElement(childNode)){
+                  nodes.add(childNode);
+               }
                else {
                    if (!RepositoryUtil.isContentChannel(childNode) &&
                            !Workflow.isWorkflowElement(childNode)) {
@@ -95,6 +99,7 @@
         }
     }
 
+
     public int getRemoteNumber(Node node) {
        if (PublishManager.isPublished(node)) {
            Map<Integer,Integer> numbers = 
PublishManager.getPublishedNodeNumbers(node);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to