Author: julien_viet
Date: 2009-11-04 08:57:24 -0500 (Wed, 04 Nov 2009)
New Revision: 491
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java
Log:
reverted GTNPORTAL-119 that introduced bugs in the component.portal module
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
10:49:53 UTC (rev 490)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java 2009-11-04
13:57:24 UTC (rev 491)
@@ -345,11 +345,7 @@
String ownerId = site.getName();
String name = src.getName();
List<ComponentData> children = loadChildren(src.getRootComponent());
-
- UIContainer srcRoot = src.getRootComponent();
- UIComponent srcChild = srcRoot.get(0);
-
- Attributes attrs = srcChild.getAttributes();
+ Attributes attrs = src.getAttributes();
//
return new PageData(