You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2004/10/27 16:26:57 UTC
svn commit: rev 55698 - incubator/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication
Author: michi
Date: Wed Oct 27 07:26:55 2004
New Revision: 55698
Modified:
incubator/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/DefaultSiteTree.java
Log:
backwards compatibility fixed
Modified: incubator/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/DefaultSiteTree.java
==============================================================================
--- incubator/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/DefaultSiteTree.java (original)
+++ incubator/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/DefaultSiteTree.java Wed Oct 27 07:26:55 2004
@@ -212,11 +212,19 @@
node.hasLink(),
refDocumentId);
}
+
/** (non-Javadoc)
* @see org.apache.lenya.cms.publication.SiteTree#addNode(java.lang.String, java.lang.String, org.apache.lenya.cms.publication.Label[])
*/
public void addNode(String parentid, String id, Label[] labels, boolean visibleInNav ) throws SiteTreeException {
addNode(parentid, id, labels, visibleInNav, null, null, false);
+ }
+
+ /** (non-Javadoc)
+ * @see org.apache.lenya.cms.publication.SiteTree#addNode(java.lang.String, java.lang.String, org.apache.lenya.cms.publication.Label[], boolean)
+ */
+ public void addNode(String parentid, String id, Label[] labels) throws SiteTreeException {
+ addNode(parentid, id, labels, true);
}
/** (non-Javadoc)
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org