Author: hoang_to
Date: 2010-03-09 22:41:21 -0500 (Tue, 09 Mar 2010)
New Revision: 2074
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java
Log:
GTNPORTAL-851: Fix error of redundant node in breadcums portlet
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java 2010-03-10
03:28:32 UTC (rev 2073)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java 2010-03-10
03:41:21 UTC (rev 2074)
@@ -300,14 +300,14 @@
for (int i = 1; i < pathNodes.length; i++)
{
- if (startNode == null)
+ startNode = startNode.getChild(pathNodes[i]);
+ if(startNode == null)
{
break;
}
else
{
nodes.add(startNode);
- startNode = startNode.getChild(pathNodes[i]);
}
}
return nodes;
Show replies by date