diff --git a/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy b/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy
new file mode 100644
index 0000000000..b3e1014d52
--- /dev/null
+++ b/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy
@@ -0,0 +1,57 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.ofbiz.entity.*;
+import org.ofbiz.base.util.*;
+import org.ofbiz.entity.condition.*;
+
+// executes only on startup when no parameters.portalPageId is available
+if (parameters.parentPortalPageId && !parameters.portalPageId) {
+ // look for system page according the current securitygroup
+ //get the security group
+ userLoginSecurityGroupId = null;
+ condSec = EntityCondition.makeCondition([
+ EntityCondition.makeCondition("groupId", EntityOperator.LIKE, parameters.parentPortalPageId + "%"),
+ EntityCondition.makeCondition("userLoginId", EntityOperator.EQUALS, parameters.userLogin.userLoginId)
+ ],EntityOperator.AND);
+ userLoginSecurityGroups = delegator.findList("UserLoginSecurityGroup", condSec, null, null, null, false);
+ if (UtilValidate.isNotEmpty(userLoginSecurityGroups)) {
+ userLoginSecurityGroupId = userLoginSecurityGroups.get(0).get("groupId");
+ }
+ Debug.log("=====security group found: " + userLoginSecurityGroupId);
+ //get the portal page
+ cond1 = EntityCondition.makeCondition([
+ EntityCondition.makeCondition("portalPageId", EntityOperator.LIKE, parameters.parentPortalPageId + "%"),
+ EntityCondition.makeCondition("securityGroupId", EntityOperator.EQUALS, userLoginSecurityGroupId),
+ EntityCondition.makeCondition("ownerUserLoginId", EntityOperator.EQUALS, "_NA_"),
+ EntityCondition.makeCondition("parentPortalPageId", EntityOperator.EQUALS, null)
+ ],EntityOperator.AND);
+ portalMainPages = delegator.findList("PortalPage", cond1, null, null, null, false);
+ if (portalMainPages) {
+ portalPage = portalMainPages.get(0);
+ Debug.log("=====page found: " + portalPage.portalPageId);
+ if ("_NA_".equals(portalPage.ownerUserLoginId)) {
+ context.parameters.parentPortalPageId = portalPage.portalPageId;
+ } else {
+ context.parameters.parentPortalPageId = portalPage.orginalPortalPageId;
+ }
+ context.parameters.portalPageId = portalPage.portalPageId; //make sure we have a starting portalPageId
+ context.headerItem = portalPage.portalPageId; // and the menu item is highlighted
+ }
+}
diff --git a/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy b/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
index 3d004dd01a..c66f21a93d 100644
--- a/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
+++ b/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
@@ -22,7 +22,6 @@ import org.ofbiz.base.util.*;
import org.ofbiz.entity.condition.*;
// only execute when a user is logged in
if (parameters.userLogin) {
- // find
userLoginSecurityGroupId = null;
condSec = EntityCondition.makeCondition([
EntityCondition.makeCondition("groupId", EntityOperator.LIKE, parameters.parentPortalPageId + "%"),
@@ -34,7 +33,7 @@ if (parameters.userLogin) {
userLoginSecurityGroupId = userLoginSecurityGroups.get(0).get("groupId");
}
- //get the portal page
+ //get the portal mainpage
cond1 = EntityCondition.makeCondition([
EntityCondition.makeCondition("portalPageId", EntityOperator.LIKE, parameters.parentPortalPageId + "%"),
EntityCondition.makeCondition("securityGroupId", EntityOperator.EQUALS, userLoginSecurityGroupId),
@@ -45,7 +44,7 @@ if (parameters.userLogin) {
if (portalMainPages) {
parentPortalPageId = portalMainPages.get(0).portalPageId;
}
-
+ // get user and system pages
ppCond =
EntityCondition.makeCondition([
EntityCondition.makeCondition([
@@ -72,6 +71,5 @@ if (parameters.userLogin) {
context.portalPages = portalPages;
context.userLoginSecurityGroupId = userLoginSecurityGroupId;
- parameters.parentPortalPageId = parentPortalPageId
}
diff --git a/framework/common/webcommon/WEB-INF/actions/includes/ShowPortalPage.groovy b/framework/common/webcommon/WEB-INF/actions/includes/ShowPortalPage.groovy
deleted file mode 100644
index a86663927b..0000000000
--- a/framework/common/webcommon/WEB-INF/actions/includes/ShowPortalPage.groovy
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import org.ofbiz.entity.*;
-import org.ofbiz.base.util.*;
-import org.ofbiz.entity.condition.*;
-
-portalPage = null;
-portalPageId = parameters.portalPageId;
-if(!portalPageId){
- portalPageId = parameters.parentPortalPageId;
-}
-
-if (portalPageId) {
- portalPage = delegator.findByPrimaryKey("PortalPage", [portalPageId : portalPageId]);
- if (portalPage && portalPage.parentPortalPageId && !parameters.parentPortalPageId) {
- parameters.parentPortalPageId = portalPage.parentPortalPageId;
- }
-}
-
-if (!portalPage) {
- // find the user private main page
- condPrivat = EntityCondition.makeCondition([
- EntityCondition.makeCondition("originalPortalPageId", EntityOperator.LIKE, portalPageId + "%"),
- EntityCondition.makeCondition("ownerUserLoginId", EntityOperator.EQUALS, parameters.userLogin.userLoginId)
- ],EntityOperator.AND);
- privatPortalPages = delegator.findList("PortalPage", condPrivat, null, null, null, false);
-
- if (privatPortalPages) {
- portalPage = privatPortalPages.get(0);
- } else {
- // look for system page according the current securitygroup
- //get the security group
- userLoginSecurityGroupId = null;
- condSec = EntityCondition.makeCondition([
- EntityCondition.makeCondition("groupId", EntityOperator.LIKE, portalPageId + "%"),
- EntityCondition.makeCondition("userLoginId", EntityOperator.EQUALS, parameters.userLogin.userLoginId)
- ],EntityOperator.AND);
- userLoginSecurityGroups = delegator.findList("UserLoginSecurityGroup", condSec, null, null, null, false);
- if (UtilValidate.isNotEmpty(userLoginSecurityGroups)) {
- userLoginSecurityGroupId = userLoginSecurityGroups.get(0).get("groupId");
- }
- //get the portal page
- cond1 = EntityCondition.makeCondition([
- EntityCondition.makeCondition("portalPageId", EntityOperator.LIKE, portalPageId + "%"),
- EntityCondition.makeCondition("securityGroupId", EntityOperator.EQUALS, userLoginSecurityGroupId),
- EntityCondition.makeCondition("ownerUserLoginId", EntityOperator.EQUALS, "_NA_"),
- EntityCondition.makeCondition("parentPortalPageId", EntityOperator.EQUALS, null)
- ],EntityOperator.AND);
- portalMainPages = delegator.findList("PortalPage", cond1, null, null, null, false);
- if (portalMainPages) {
- portalPage = portalMainPages.get(0);
- }
- }
-}
-
-if (portalPage) {
- parameters.portalPageId = portalPage.portalPageId;
- context.portalPage = portalPage;
- context.portalPageColumns = portalPage.getRelated("PortalPageColumn");
- context.portalPagePortlets = delegator.findByAnd("PortalPagePortletView", [portalPageId : portalPage.portalPageId], ["columnSeqId", "sequenceNum"]);
-}
diff --git a/framework/common/widget/PortalPageScreens.xml b/framework/common/widget/PortalPageScreens.xml
index ae003193a9..200f55297c 100644
--- a/framework/common/widget/PortalPageScreens.xml
+++ b/framework/common/widget/PortalPageScreens.xml
@@ -25,18 +25,28 @@ under the License.
-
+
diff --git a/framework/example/widget/example/CommonScreens.xml b/framework/example/widget/example/CommonScreens.xml
index a1a6830f2e..894159171c 100644
--- a/framework/example/widget/example/CommonScreens.xml
+++ b/framework/example/widget/example/CommonScreens.xml
@@ -43,8 +43,8 @@ under the License.
-
-
+
+
@@ -180,7 +180,11 @@ under the License.
-
+
+
+
+
+
diff --git a/framework/example/widget/example/ExampleMenus.xml b/framework/example/widget/example/ExampleMenus.xml
index 7f206ee713..c7d7def8e9 100644
--- a/framework/example/widget/example/ExampleMenus.xml
+++ b/framework/example/widget/example/ExampleMenus.xml
@@ -19,14 +19,13 @@ under the License.
-->
-
+ xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
diff --git a/framework/widget/dtd/widget-menu.xsd b/framework/widget/dtd/widget-menu.xsd
index 9887b1a6c5..95c28c4c03 100644
--- a/framework/widget/dtd/widget-menu.xsd
+++ b/framework/widget/dtd/widget-menu.xsd
@@ -45,7 +45,6 @@ under the License.
-
@@ -105,6 +104,7 @@ under the License.
+ an expanded value of the parentPortalPageId in the Portal entity, will insert buttons using the portalId as the menuitem name portalPageName as the buttom title
diff --git a/framework/widget/src/org/ofbiz/widget/menu/ModelMenu.java b/framework/widget/src/org/ofbiz/widget/menu/ModelMenu.java
index 2349e36e70..7378191250 100644
--- a/framework/widget/src/org/ofbiz/widget/menu/ModelMenu.java
+++ b/framework/widget/src/org/ofbiz/widget/menu/ModelMenu.java
@@ -36,6 +36,7 @@ import org.ofbiz.entity.GenericEntityException;
import org.ofbiz.entity.GenericValue;
import org.ofbiz.entity.condition.EntityCondition;
import org.ofbiz.entity.condition.EntityOperator;
+import org.ofbiz.entity.util.EntityUtil;
import org.ofbiz.service.LocalDispatcher;
import org.ofbiz.widget.ModelWidget;
import org.ofbiz.widget.menu.ModelMenuItem.Link;
@@ -138,7 +139,7 @@ public class ModelMenu extends ModelWidget {
}
}
if (parent == null) {
- Debug.logError("Failed to find parent menu defenition '" + parentMenu + "' in same document.", module);
+ Debug.logError("Failed to find parent menu definition '" + parentMenu + "' in same document.", module);
}
}
@@ -148,7 +149,6 @@ public class ModelMenu extends ModelWidget {
this.id = parent.id;
this.title = parent.title;
this.tooltip = parent.tooltip;
- this.tooltip = parent.tooltip;
this.defaultEntityName = parent.defaultEntityName;
this.defaultTitleStyle = parent.defaultTitleStyle;
this.defaultSelectedStyle = parent.defaultSelectedStyle;
@@ -250,34 +250,11 @@ public class ModelMenu extends ModelWidget {
}
}
- // read in add item defs, add/override one by one using the menuItemList and menuItemMap and add portal pages
+ // read in add item defs, add/override one by one using the menuItemList
List extends Element> itemElements = UtilXml.childElementList(menuElement, "menu-item");
for (Element itemElement : itemElements) {
- String portalResource = itemElement.getAttribute("portal-page");
- if (UtilValidate.isNotEmpty(portalResource)) {
- ModelMenuItem modelMenuItem = new ModelMenuItem(itemElement, this);
- List portalPages = null;
- List exprs = UtilMisc.toList(EntityCondition.makeCondition("portalPageId", EntityOperator.EQUALS, portalResource),
- EntityCondition.makeCondition("parentPortalPageId", EntityOperator.EQUALS, portalResource));
- EntityCondition cond = EntityCondition.makeCondition(exprs, EntityOperator.OR);
- try {
- portalPages = delegator.findList("PortalPage", cond, null, UtilMisc.toList("sequenceNum"), null, false);
- } catch (GenericEntityException e) {
- Debug.logError("Could not retrieve portalpages in the menu:" + e.getMessage(), module);
- }
- for (GenericValue portalPage : portalPages) {
- if (UtilValidate.isNotEmpty(portalPage.getString("portalPageName"))) {
- modelMenuItem.setName(portalPage.getString("portalPageName"));
- modelMenuItem.setTitle(portalPage.getString("portalPageName"));
- modelMenuItem.link = new Link(itemElement, modelMenuItem);
- modelMenuItem.link.setTarget("showPortalPage?portalPageId=" + portalPage.getString("portalPageId"));
- modelMenuItem = this.addUpdateMenuItem(modelMenuItem);
- }
- }
- } else {
- ModelMenuItem modelMenuItem = new ModelMenuItem(itemElement, this);
- modelMenuItem = this.addUpdateMenuItem(modelMenuItem);
- }
+ ModelMenuItem modelMenuItem = new ModelMenuItem(itemElement, this);
+ modelMenuItem = this.addUpdateMenuItem(modelMenuItem);
}
}
/**
@@ -363,11 +340,61 @@ public class ModelMenu extends ModelWidget {
// render formatting wrapper open
menuStringRenderer.renderFormatSimpleWrapperOpen(writer, context, this);
- //Debug.logInfo("in ModelMenu, menuItemList:" + menuItemList, module);
+ //Debug.logInfo("in ModelMenu, menuItemList:" + menuItemList, module);
// render each menuItem row, except hidden & ignored rows
+ // include portal pages if specified
//menuStringRenderer.renderFormatSimpleWrapperRows(writer, context, this);
for (ModelMenuItem item : this.menuItemList) {
- item.renderMenuItemString(writer, context, menuStringRenderer);
+ String parentPortalPageId = item.getParentPortalPageId(context);
+ if (UtilValidate.isNotEmpty(parentPortalPageId)) {
+ List portalPages = null;
+ try {
+ // first get public pages
+ EntityCondition cond =
+ EntityCondition.makeCondition(UtilMisc.toList(
+ EntityCondition.makeCondition("ownerUserLoginId", EntityOperator.EQUALS, "_NA_"),
+ EntityCondition.makeCondition(UtilMisc.toList(
+ EntityCondition.makeCondition("portalPageId", EntityOperator.EQUALS, parentPortalPageId),
+ EntityCondition.makeCondition("parentPortalPageId", EntityOperator.EQUALS, parentPortalPageId)),
+ EntityOperator.OR)),
+ EntityOperator.AND);
+ portalPages = delegator.findList("PortalPage", cond, null, null, null, false);
+ String userLoginId = ((GenericValue)context.get("userLogin")).getString("userLoginId");
+ // replace with private pages
+ for (GenericValue portalPage : portalPages) {
+ cond = EntityCondition.makeCondition(UtilMisc.toList(
+ EntityCondition.makeCondition("ownerUserLoginId", EntityOperator.EQUALS, userLoginId),
+ EntityCondition.makeCondition("originalPortalPageId", EntityOperator.EQUALS, portalPage.getString("portalPageId"))),
+ EntityOperator.AND);
+ List privatePortalPages = delegator.findList("PortalPage", cond, null, null, null, false);
+ if (UtilValidate.isNotEmpty(privatePortalPages)) {
+ portalPages.remove(portalPage);
+ portalPages.add(privatePortalPages.get(0));
+ }
+ }
+ // add any other created private pages
+ cond = EntityCondition.makeCondition(UtilMisc.toList(
+ EntityCondition.makeCondition("ownerUserLoginId", EntityOperator.EQUALS, userLoginId),
+ EntityCondition.makeCondition("originalPortalPageId", EntityOperator.EQUALS, null),
+ EntityCondition.makeCondition("parentPortalPageId", EntityOperator.EQUALS, parentPortalPageId)),
+ EntityOperator.AND);
+ portalPages.addAll(delegator.findList("PortalPage", cond, null, null, null, false));
+ portalPages = EntityUtil.orderBy(portalPages, UtilMisc.toList("sequenceNum"));
+ } catch (GenericEntityException e) {
+ Debug.logError("Could not retrieve portalpages in the menu:" + e.getMessage(), module);
+ }
+ for (GenericValue portalPage : portalPages) {
+ if (UtilValidate.isNotEmpty(portalPage.getString("portalPageName"))) {
+ item.setName(portalPage.getString("portalPageId"));
+ item.setTitle(portalPage.getString("portalPageName"));
+ item.link = new Link(item);
+ item.link.setTarget("showPortalPage?portalPageId=" + portalPage.getString("portalPageId") + "&parentPortalPageId=" + parentPortalPageId);
+ item.renderMenuItemString(writer, context, menuStringRenderer);
+ }
+ }
+ } else {
+ item.renderMenuItemString(writer, context, menuStringRenderer);
+ }
}
// render formatting wrapper close
menuStringRenderer.renderFormatSimpleWrapperClose(writer, context, this);
diff --git a/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java b/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java
index 4d4805d65b..b0adffb5bc 100644
--- a/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java
+++ b/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java
@@ -50,6 +50,7 @@ public class ModelMenuItem {
protected String entityName;
protected FlexibleStringExpander title;
protected FlexibleStringExpander tooltip;
+ protected FlexibleStringExpander parentPortalPageId;
protected String titleStyle;
protected String disabledTitleStyle;
protected String widgetStyle;
@@ -102,6 +103,7 @@ public class ModelMenuItem {
this.entityName = fieldElement.getAttribute("entity-name");
this.setTitle(fieldElement.getAttribute("title"));
this.setTooltip(fieldElement.getAttribute("tooltip"));
+ this.setParentPortalPageId(fieldElement.getAttribute("parent-portal-page-value"));
this.titleStyle = fieldElement.getAttribute("title-style");
this.disabledTitleStyle = fieldElement.getAttribute("disabled-title-style");
this.widgetStyle = fieldElement.getAttribute("widget-style");
@@ -217,19 +219,17 @@ public class ModelMenuItem {
return this.disabled;
}
- public void mergeOverrideModelMenuItem(ModelMenuItem overrideModelMenuItem) {
- if (overrideModelMenuItem == null)
+ public void mergeOverrideModelMenuItem(ModelMenuItem overrideMenuItem) {
+ if (overrideMenuItem == null)
return;
-/*
+
// incorporate updates for values that are not empty in the overrideMenuItem
if (UtilValidate.isNotEmpty(overrideMenuItem.name))
this.name = overrideMenuItem.name;
if (UtilValidate.isNotEmpty(overrideMenuItem.entityName))
this.entityName = overrideMenuItem.entityName;
- if (overrideMenuItem.entryAcsr != null && !overrideMenuItem.entryAcsr.isEmpty())
- this.entryAcsr = overrideMenuItem.entryAcsr;
- if (UtilValidate.isNotEmpty(overrideMenuItem.attributeName))
- this.attributeName = overrideMenuItem.attributeName;
+ if (UtilValidate.isNotEmpty(overrideMenuItem.parentPortalPageId))
+ this.parentPortalPageId = overrideMenuItem.parentPortalPageId;
if (overrideMenuItem.title != null && !overrideMenuItem.title.isEmpty())
this.title = overrideMenuItem.title;
if (overrideMenuItem.tooltip != null && !overrideMenuItem.tooltip.isEmpty())
@@ -242,7 +242,7 @@ public class ModelMenuItem {
this.widgetStyle = overrideMenuItem.widgetStyle;
if (overrideMenuItem.position != null)
this.position = overrideMenuItem.position;
-*/
+
}
public void renderMenuItemString(Appendable writer, Map context, MenuStringRenderer menuStringRenderer) throws IOException {
@@ -345,6 +345,13 @@ public class ModelMenuItem {
}
}
+ public void setParentPortalPageId(String string) {
+ this.parentPortalPageId = FlexibleStringExpander.getInstance(string);
+ }
+
+ public String getParentPortalPageId(Map context) {
+ return this.parentPortalPageId.expandString(context);
+ }
public String getWidgetStyle() {
if (UtilValidate.isNotEmpty(this.widgetStyle)) {
@@ -419,7 +426,6 @@ public class ModelMenuItem {
this.tooltip = FlexibleStringExpander.getInstance(string);
}
-
/**
* @param string
*/
@@ -541,13 +547,23 @@ public class ModelMenuItem {
if (imageElement != null) {
this.image = new Image(imageElement);
}
-
}
- // create link only for portal page
public Link(ModelMenuItem parentMenuItem) {
+
this.linkMenuItem = parentMenuItem;
- }
+ setText("");
+ setId("");
+ setStyle("");
+ setTarget("");
+ setTargetWindow("");
+ setPrefix("");
+ setUrlMode("");
+ setFullPath("");
+ setSecure("");
+ setEncode("");
+ setName("");
+ }
public void renderLinkString(Appendable writer, Map context, MenuStringRenderer menuStringRenderer) throws IOException {
menuStringRenderer.renderLink(writer, context, this);
diff --git a/specialpurpose/myportal/data/MyPortalTypeData.xml b/specialpurpose/myportal/data/MyPortalTypeData.xml
index 9007ac7100..c7b9c017b6 100644
--- a/specialpurpose/myportal/data/MyPortalTypeData.xml
+++ b/specialpurpose/myportal/data/MyPortalTypeData.xml
@@ -30,26 +30,26 @@
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
+
diff --git a/specialpurpose/myportal/templates/appheader.ftl b/specialpurpose/myportal/templates/appheader.ftl
deleted file mode 100644
index f29425b2a2..0000000000
--- a/specialpurpose/myportal/templates/appheader.ftl
+++ /dev/null
@@ -1,39 +0,0 @@
-<#--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<#assign selected = headerItem?default("void")>
-
-
- -
-
${uiLabelMap.PageTitleMyPortal} ${partyNameView.personalTitle?if_exists} ${partyNameView.firstName?if_exists} ${partyNameView.middleName?if_exists} ${partyNameView.lastName?if_exists} ${partyNameView.groupName?if_exists}
-
-
-
-
-
\ No newline at end of file
diff --git a/specialpurpose/myportal/webapp/myportal/WEB-INF/controller.xml b/specialpurpose/myportal/webapp/myportal/WEB-INF/controller.xml
index 088e8f9fd3..c5dc3c392e 100644
--- a/specialpurpose/myportal/webapp/myportal/WEB-INF/controller.xml
+++ b/specialpurpose/myportal/webapp/myportal/WEB-INF/controller.xml
@@ -27,6 +27,10 @@
Show personal information in the system
+
+
+
+
@@ -105,7 +109,7 @@
-
+
@@ -140,7 +144,7 @@
-
+
@@ -161,19 +165,19 @@
-
+
-
+
-
+
@@ -184,7 +188,7 @@
-
+
diff --git a/specialpurpose/myportal/widget/CommonScreens.xml b/specialpurpose/myportal/widget/CommonScreens.xml
index 88c925f69f..7c46a016b9 100644
--- a/specialpurpose/myportal/widget/CommonScreens.xml
+++ b/specialpurpose/myportal/widget/CommonScreens.xml
@@ -34,22 +34,12 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -155,15 +145,10 @@ under the License.
-
-
-
-
-
-
+
diff --git a/specialpurpose/myportal/widget/MyPortalMenus.xml b/specialpurpose/myportal/widget/MyPortalMenus.xml
index 23144bfd38..8a9d9aa3fa 100644
--- a/specialpurpose/myportal/widget/MyPortalMenus.xml
+++ b/specialpurpose/myportal/widget/MyPortalMenus.xml
@@ -18,8 +18,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+