diff --git a/framework/common/script/org/ofbiz/common/PortalPageServices.xml b/framework/common/script/org/ofbiz/common/PortalPageServices.xml index 935be9b275..46ca3c324e 100644 --- a/framework/common/script/org/ofbiz/common/PortalPageServices.xml +++ b/framework/common/script/org/ofbiz/common/PortalPageServices.xml @@ -107,9 +107,9 @@ under the License. - - - + + + @@ -299,5 +299,72 @@ under the License. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/framework/common/servicedef/services.xml b/framework/common/servicedef/services.xml index 4fb294aaa8..5a162f5515 100644 --- a/framework/common/servicedef/services.xml +++ b/framework/common/servicedef/services.xml @@ -412,7 +412,7 @@ under the License. location="org.ofbiz.common.preferences.PreferenceServices" invoke="getUserPreference"> Gets a single user preference. - If not found for the specific userLogin, find it for the _NA_ userlogin. + If not found for the specific userLogin, find it for the _NA_ userlogin. If the value is DEFAULT, find the value in general.properties file. @@ -635,6 +635,21 @@ under the License. + + + + + + + + + + + + + + Create a new Portlet Attribute diff --git a/framework/common/webcommon/WEB-INF/portal-controller.xml b/framework/common/webcommon/WEB-INF/portal-controller.xml index a8e207dc9a..2eeb9f839f 100644 --- a/framework/common/webcommon/WEB-INF/portal-controller.xml +++ b/framework/common/webcommon/WEB-INF/portal-controller.xml @@ -75,6 +75,11 @@ under the License. + + + + + diff --git a/framework/common/webcommon/portal/editPortalPage.ftl b/framework/common/webcommon/portal/editPortalPage.ftl index 143ec5b460..b93f9dc1af 100644 --- a/framework/common/webcommon/portal/editPortalPage.ftl +++ b/framework/common/webcommon/portal/editPortalPage.ftl @@ -47,13 +47,14 @@ under the License. <#list portalPageColumnList?if_exists as portalPageColumn> - + + <#assign firstInColumn = true/> <#list portalPagePortletViewList as portlet> <#if (!portlet.columnSeqId?has_content && portalPageColumn_index == 0) || (portlet.columnSeqId?if_exists == portalPageColumn.columnSeqId)> <#if portlet.screenName?has_content> <#assign portletFields = ''> -
+
<#list portalPages as portalPageList> <#if portalPage.portalPageId != portalPageList.portalPageId> @@ -64,6 +65,9 @@ under the License.
    + + +
    ${portletFields}
  • Portlet : ${portlet.portletName?if_exists} [${portlet.portalPortletId}]
  • ${portletFields}
       
  • diff --git a/framework/common/widget/PortalPageScreens.xml b/framework/common/widget/PortalPageScreens.xml index 5451aa4d8a..5d6cd7e4bc 100644 --- a/framework/common/widget/PortalPageScreens.xml +++ b/framework/common/widget/PortalPageScreens.xml @@ -42,7 +42,7 @@ under the License. - +
    @@ -64,7 +64,7 @@ under the License.
    - +
    @@ -95,10 +95,12 @@ under the License.
    - +
    + +