Author: tam_nguyen
Date: 2009-11-04 05:21:56 -0500 (Wed, 04 Nov 2009)
New Revision: 489
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java
Log:
GTNPORTAL-119 Problem when clone node
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java 2009-11-04
07:33:42 UTC (rev 488)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java 2009-11-04
10:21:56 UTC (rev 489)
@@ -345,7 +345,11 @@
String ownerId = site.getName();
String name = src.getName();
List<ComponentData> children = loadChildren(src.getRootComponent());
- Attributes attrs = src.getAttributes();
+
+ UIContainer srcRoot = src.getRootComponent();
+ UIComponent srcChild = srcRoot.get(0);
+
+ Attributes attrs = srcChild.getAttributes();
//
return new PageData(