|
From: Michael K. <ko...@us...> - 2004-06-02 07:10:44
|
Update of /cvsroot/cobricks/cobricks2/src/org/cobricks/portal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23663/cobricks/portal Modified Files: PortalManagerImpl.java Log Message: Index: PortalManagerImpl.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/portal/PortalManagerImpl.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- PortalManagerImpl.java 28 May 2004 12:53:49 -0000 1.10 +++ PortalManagerImpl.java 2 Jun 2004 07:10:19 -0000 1.11 @@ -448,7 +448,7 @@ // category assigned String xpath = "/item[itemclass='portalpagehtml' and " +"name='"+pageName+"'] and " - +"folders/category/id="+Integer.toString(c.getId()); + +"/item/folders/category/id="+Integer.toString(c.getId()); List p = itemManager.searchItems(xpath); if (p != null && p.size()>0) { Item i = (Item)p.iterator().next(); @@ -512,7 +512,7 @@ // item aus klasse "portalpagehtml" mit bestimmtem namen String xpath = "/item[itemclass='portalpagehtml' and " +"name='"+pageName+"'] and " - +"folders/category/id="+Integer.toString(c.getId()); + +"/item/folders/category/id="+Integer.toString(c.getId()); List items = itemManager.searchItems(xpath); if (items != null && items.size()>0) throw new CobricksException("portal", "exists", ""); |