From 1f1e7bb4e46fb32f9d4e778714afd336a061c5b7 Mon Sep 17 00:00:00 2001 From: Hans Bakker Date: Tue, 10 Feb 2009 15:48:08 +0000 Subject: [PATCH] update/display portlet sequence corrected, also seed data corrected git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743000 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/ofbiz/common/PortalPageServices.xml | 49 +++++++++ framework/common/servicedef/services.xml | 5 + .../actions/includes/ShowPortalPage.groovy | 4 +- .../webcommon/WEB-INF/portal-controller.xml | 6 ++ .../webcommon/portal/editPortalPage.ftl | 8 +- framework/common/widget/PortalPageScreens.xml | 7 +- .../myportal/data/MyPortalTypeData.xml | 99 +++++++++---------- 7 files changed, 116 insertions(+), 62 deletions(-) diff --git a/framework/common/script/org/ofbiz/common/PortalPageServices.xml b/framework/common/script/org/ofbiz/common/PortalPageServices.xml index 237b56f03f..319aa927ac 100644 --- a/framework/common/script/org/ofbiz/common/PortalPageServices.xml +++ b/framework/common/script/org/ofbiz/common/PortalPageServices.xml @@ -142,5 +142,54 @@ under the License. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/framework/common/servicedef/services.xml b/framework/common/servicedef/services.xml index 27d4026605..d71b29b892 100644 --- a/framework/common/servicedef/services.xml +++ b/framework/common/servicedef/services.xml @@ -624,6 +624,11 @@ under the License. Delete a Portal Page, related colums and used portlets + + + + + + + + + + diff --git a/framework/common/webcommon/portal/editPortalPage.ftl b/framework/common/webcommon/portal/editPortalPage.ftl index a70e7a46d3..3c8056cf4b 100644 --- a/framework/common/webcommon/portal/editPortalPage.ftl +++ b/framework/common/webcommon/portal/editPortalPage.ftl @@ -66,10 +66,10 @@ under the License. <#if portlet_has_next> <#-- TODO: this doesn't take into account that later items in the list might be in a different column --> -
  •    
  • +
  •    
  • <#if !firstInColumn> -
  •    
  • +
  •    
  • <#if portalPageColumn_has_next>
  •    
  • @@ -78,10 +78,10 @@ under the License.
  •    
  • <#if !firstInColumn> -
  •    
  • +
  •    
  • <#if portlet_has_next> <#-- TODO: this doesn't take into account that later items in the list might be in a different column --> -
  •    
  • +
  •    
  • <#if (portalPages.size() > 1)>
  • diff --git a/framework/common/widget/PortalPageScreens.xml b/framework/common/widget/PortalPageScreens.xml index 80a61b307e..ae003193a9 100644 --- a/framework/common/widget/PortalPageScreens.xml +++ b/framework/common/widget/PortalPageScreens.xml @@ -59,12 +59,13 @@ under the License. - + - - + + + diff --git a/specialpurpose/myportal/data/MyPortalTypeData.xml b/specialpurpose/myportal/data/MyPortalTypeData.xml index 9a674d64b3..52a3971bba 100644 --- a/specialpurpose/myportal/data/MyPortalTypeData.xml +++ b/specialpurpose/myportal/data/MyPortalTypeData.xml @@ -101,60 +101,53 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + \ No newline at end of file