-
-
${uiLabelMap.MyPageAttachFile}
-
-
-
-
${uiLabelMap.MyPageAttachFile}
-
-
diff --git a/specialpurpose/myportal/webapp/myportal/attachFileList.ftl b/applications/party/webapp/partymgr/communication/attachFileList.ftl
similarity index 91%
rename from specialpurpose/myportal/webapp/myportal/attachFileList.ftl
rename to applications/party/webapp/partymgr/communication/attachFileList.ftl
index c890405c23..b57bca24a1 100644
--- a/specialpurpose/myportal/webapp/myportal/attachFileList.ftl
+++ b/applications/party/webapp/partymgr/communication/attachFileList.ftl
@@ -1,8 +1,4 @@
-
-
${uiLabelMap.MyPageAttachFile}
-
-
<#if commEventContent?has_content>
<#list commEventContent as commContent>
@@ -33,5 +29,4 @@
<#else>
${uiLabelMap.PartyNoContent}
#if>
-
\ No newline at end of file
diff --git a/applications/party/widget/Menus.xml b/applications/party/widget/Menus.xml
deleted file mode 100644
index 1d3c4fbab4..0000000000
--- a/applications/party/widget/Menus.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/applications/party/widget/partymgr/CommonScreens.xml b/applications/party/widget/partymgr/CommonScreens.xml
index 5796e58318..6238a2c4fa 100644
--- a/applications/party/widget/partymgr/CommonScreens.xml
+++ b/applications/party/widget/partymgr/CommonScreens.xml
@@ -48,7 +48,7 @@ under the License.
-
+
@@ -138,7 +138,7 @@ under the License.
-
+
@@ -171,6 +171,7 @@ under the License.
+
@@ -180,8 +181,34 @@ under the License.
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/applications/party/widget/partymgr/CommunicationScreens.xml b/applications/party/widget/partymgr/CommunicationScreens.xml
index 36dcc55c0a..14d98eeccc 100644
--- a/applications/party/widget/partymgr/CommunicationScreens.xml
+++ b/applications/party/widget/partymgr/CommunicationScreens.xml
@@ -46,7 +46,7 @@ under the License.
-
+
@@ -71,7 +71,12 @@ under the License.
-
+
+
+
+
+
+
@@ -137,10 +142,10 @@ under the License.
-
+
-
+
@@ -168,74 +173,82 @@ under the License.
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -252,11 +265,11 @@ under the License.
-
+
-
+
@@ -268,8 +281,6 @@ under the License.
-
@@ -287,70 +298,151 @@ under the License.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -361,11 +453,10 @@ under the License.
-
-
@@ -378,7 +469,6 @@ under the License.
-
@@ -583,7 +673,6 @@ under the License.
-
@@ -676,16 +765,31 @@ under the License.
+
+
+
+
-
+
-
+
@@ -698,8 +802,7 @@ under the License.
-
+
@@ -745,7 +848,7 @@ under the License.
-
+
diff --git a/applications/party/widget/partymgr/PartyMenus.xml b/applications/party/widget/partymgr/PartyMenus.xml
index f5dce0f15c..c449d37856 100644
--- a/applications/party/widget/partymgr/PartyMenus.xml
+++ b/applications/party/widget/partymgr/PartyMenus.xml
@@ -20,6 +20,38 @@ under the License.
+
+
+
+
-
+
+
+
+
+
diff --git a/framework/common/config/CommonUiLabels.xml b/framework/common/config/CommonUiLabels.xml
index 1cc5fa1a29..c8f672a86e 100644
--- a/framework/common/config/CommonUiLabels.xml
+++ b/framework/common/config/CommonUiLabels.xml
@@ -8039,6 +8039,9 @@
ค้นหา
搜索
+
+ Save
+
Absenden
Send
diff --git a/framework/common/entitydef/entitymodel.xml b/framework/common/entitydef/entitymodel.xml
index d61d65bf5a..ba488c5eec 100644
--- a/framework/common/entitydef/entitymodel.xml
+++ b/framework/common/entitydef/entitymodel.xml
@@ -653,6 +653,20 @@ under the License.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy b/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy
index f3b71ec163..8e89d3b0dc 100644
--- a/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy
+++ b/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy
@@ -20,38 +20,53 @@
import org.ofbiz.entity.*;
import org.ofbiz.base.util.*;
import org.ofbiz.entity.condition.*;
+import org.ofbiz.entity.util.EntityUtil;
-// executes only on startup when no parameters.portalPageId is available
+// executes only on startup when only the basic parameters.portalPageId (from commonscreens.xml) is available
if (userLogin && 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, 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, 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);
+ // look for system page according the current securitygroup
+ //get the security group
+ condSec = EntityCondition.makeCondition([
+ EntityCondition.makeCondition("portalPageId", EntityOperator.LIKE, parameters.parentPortalPageId + "%"),
+ EntityCondition.makeCondition("parentPortalPageId", EntityOperator.EQUALS, null),
+ EntityCondition.makeCondition("userLoginId", EntityOperator.EQUALS, userLogin.userLoginId)
+ ],EntityOperator.AND);
+ portalMainPages = EntityUtil.filterByDate(delegator.findList("PortalPageAndUserLogin", condSec, null, null, null, false));
+ if (!portalMainPages) { // look for a null securityGroup if not found
+ condSec = EntityCondition.makeCondition([
+ EntityCondition.makeCondition("securityGroupId", EntityOperator.EQUALS, null),
+ EntityCondition.makeCondition("parentPortalPageId", EntityOperator.EQUALS, null),
+ EntityCondition.makeCondition("portalPageId", EntityOperator.LIKE, parameters.parentPortalPageId + "%")
+ ],EntityOperator.AND);
+ portalMainPages = delegator.findList("PortalPage", condSec, null, null, null, false);
+ }
if (portalMainPages) {
- portalPage = portalMainPages.get(0);
- if ("_NA_".equals(portalPage.ownerUserLoginId)) {
- context.parameters.parentPortalPageId = portalPage.portalPageId;
+ portalPageId = portalMainPages.get(0).portalPageId;
+ // check if overridden with a privat page
+ privatMainPages = delegator.findByAnd("PortalPage", [originalPortalPageId : portalPageId, ownerUserLoginId : userLogin.userLoginId]);
+ if (privatMainPages) {
+ context.parameters.portalPageId = privatMainPages.get(0).portalPageId;
+ } else {
+ context.parameters.portalPageId = portalPageId;
+ }
+ }
+}
+// Debug.log('======portalPageId: ' + parameters.portalPageId);
+if (userLogin && parameters.portalPageId) {
+ portalPage = delegator.findByPrimaryKey("PortalPage", [portalPageId : parameters.portalPageId]);
+ if (portalPage) {
+ if (portalPage.parentPortalPageId) {
+ context.parameters.parentPortalPageId = portalPage.parentPortalPageId;
} else {
- context.parameters.parentPortalPageId = portalPage.orginalPortalPageId;
- }
- context.parameters.portalPageId = portalPage.portalPageId; //make sure we have a starting portalPageId
- if (!context.headerItem) {
- context.headerItem = portalPage.portalPageId; // and the menu item is highlighted
+ if ("_NA_".equals(portalPage.ownerUserLoginId)) {
+ context.parameters.parentPortalPageId = portalPage.portalPageId;
+ } else {
+ context.parameters.parentPortalPageId = portalPage.originalPortalPageId;
+ }
}
}
}
+// Debug.log('======parent portalPageId: ' + parameters.parentPortalPageId);
+if (!context.headerItem && parameters.portalPageId) {
+ context.headerItem = parameters.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 5c5b169190..cdce63c7b7 100644
--- a/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
+++ b/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
@@ -96,12 +96,12 @@ if (parameters.userLogin) {
],EntityOperator.AND);
sequenceNums = delegator.findList("PortalPage", sequenceNumCond, null, ["sequenceNum"], null, false);
if(sequenceNums){
- parameters.sequenceNumMin = sequenceNums.get(0).sequenceNum;
- parameters.sequenceNumMax = sequenceNums.get(sequenceNums.size()-1).sequenceNum;
+ context.parameters.sequenceNumMin = sequenceNums.get(0).sequenceNum;
+ context.parameters.sequenceNumMax = sequenceNums.get(sequenceNums.size()-1).sequenceNum;
}
else{
- parameters.sequenceNumMin = "null";
- parameters.sequenceNumMax = "null";
+ context.parameters.sequenceNumMin = "null";
+ context.parameters.sequenceNumMax = "null";
}
context.portalPages = portalPages;
diff --git a/framework/common/webcommon/WEB-INF/portal-controller.xml b/framework/common/webcommon/WEB-INF/portal-controller.xml
index 56274c6da0..7d544ea338 100644
--- a/framework/common/webcommon/WEB-INF/portal-controller.xml
+++ b/framework/common/webcommon/WEB-INF/portal-controller.xml
@@ -26,7 +26,7 @@ under the License.
-
+
diff --git a/framework/example/data/ExamplePortalSeedData.xml b/framework/example/data/ExamplePortalSeedData.xml
index e5ee4d5c72..2253609e73 100644
--- a/framework/example/data/ExamplePortalSeedData.xml
+++ b/framework/example/data/ExamplePortalSeedData.xml
@@ -20,7 +20,7 @@ under the License.
-
+
diff --git a/framework/webapp/dtd/site-conf.xsd b/framework/webapp/dtd/site-conf.xsd
index 9bec28fceb..e315cf1ede 100644
--- a/framework/webapp/dtd/site-conf.xsd
+++ b/framework/webapp/dtd/site-conf.xsd
@@ -245,6 +245,7 @@ under the License.
Will use the view from the last request unless there is a saved from some previous request (using the save-last-view attribute).
+ Will use the view from the last saved 'home' position (using the save-home-view attribute).
@@ -262,6 +263,24 @@ under the License.
+
+ Saves the current request's view for future use, generally with the view-last type of response.
+
+
+
+
+
+
+
+
+ Saves the current request's view for future use, generally with the view-home type of response.
+
+
+
+
+
+
+
Adds a parameter with the given name to the redirect. Finds value in a request attribute if exists, or a request parameter if no attribute is found.
diff --git a/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java b/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java
index b4d4323986..1a5ffccb44 100644
--- a/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java
+++ b/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java
@@ -433,6 +433,8 @@ public class ConfigXMLReader {
public String type;
public String value;
public boolean saveLastView = false;
+ public boolean saveCurrentView = false;
+ public boolean saveHomeView = false;
public Map redirectParameterMap = FastMap.newInstance();
public RequestResponse(Element responseElement) {
@@ -440,6 +442,8 @@ public class ConfigXMLReader {
this.type = responseElement.getAttribute("type");
this.value = responseElement.getAttribute("value");
this.saveLastView = "true".equals(responseElement.getAttribute("save-last-view"));
+ this.saveCurrentView = "true".equals(responseElement.getAttribute("save-current-view"));
+ this.saveHomeView = "true".equals(responseElement.getAttribute("save-home-view"));
for (Element redirectParameterElement: UtilXml.childElementList(responseElement, "redirect-parameter")) {
String from = redirectParameterElement.getAttribute("from");
if (UtilValidate.isEmpty(from)) from = redirectParameterElement.getAttribute("name");
diff --git a/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java b/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
index 90f705b010..d4f1c6d99d 100644
--- a/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
+++ b/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
@@ -464,9 +464,13 @@ public class RequestHandler {
// if the request has the save-last-view attribute set, save it now before the view can be rendered or other chain done so that the _LAST* session attributes will represent the previous request
if (nextRequestResponse.saveLastView) {
+ // Debug.log("======save last view: " + session.getAttribute("_LAST_VIEW_NAME_"));
session.setAttribute("_SAVED_VIEW_NAME_", session.getAttribute("_LAST_VIEW_NAME_"));
session.setAttribute("_SAVED_VIEW_PARAMS_", session.getAttribute("_LAST_VIEW_PARAMS_"));
}
+ String saveName = null;
+ if (nextRequestResponse.saveCurrentView) { saveName = "SAVED"; }
+ if (nextRequestResponse.saveHomeView) { saveName = "HOME"; }
if (nextRequestResponse != null && "request".equals(nextRequestResponse.type)) {
// chained request
@@ -506,7 +510,7 @@ public class RequestHandler {
// check for an override view, only used if "success" = eventReturn
String viewName = (UtilValidate.isNotEmpty(overrideViewUri) && (eventReturn == null || "success".equals(eventReturn))) ? overrideViewUri : nextRequestResponse.value;
- renderView(viewName, requestMap.securityExternalView, request, response);
+ renderView(viewName, requestMap.securityExternalView, request, response, saveName);
} else if ("view-last".equals(nextRequestResponse.type)) {
if (Debug.verboseOn()) Debug.logVerbose("[RequestHandler.doRequest]: Response is a view." + " sessionId=" + UtilHttp.getSessionId(request), module);
@@ -527,8 +531,25 @@ public class RequestHandler {
request.setAttribute(urlParamEntry.getKey(), urlParamEntry.getValue());
}
}
+ renderView(viewName, requestMap.securityExternalView, request, response, null);
+ } else if ("view-home".equals(nextRequestResponse.type)) {
+ if (Debug.verboseOn()) Debug.logVerbose("[RequestHandler.doRequest]: Response is a view." + " sessionId=" + UtilHttp.getSessionId(request), module);
- renderView(viewName, requestMap.securityExternalView, request, response);
+ // check for an override view, only used if "success" = eventReturn
+ String viewName = (UtilValidate.isNotEmpty(overrideViewUri) && (eventReturn == null || "success".equals(eventReturn))) ? overrideViewUri : nextRequestResponse.value;
+
+ // as a further override, look for the _HOME session attributes
+ Map urlParams = null;
+ if (session.getAttribute("_HOME_VIEW_NAME_") != null) {
+ viewName = (String) session.getAttribute("_HOME_VIEW_NAME_");
+ urlParams = (Map) UtilGenerics.checkMap(session.getAttribute("_HOME_VIEW_PARAMS_"));
+ }
+ if (urlParams != null) {
+ for (Map.Entry urlParamEntry: urlParams.entrySet()) {
+ request.setAttribute(urlParamEntry.getKey(), urlParamEntry.getValue());
+ }
+ }
+ renderView(viewName, requestMap.securityExternalView, request, response, null);
} else if ("none".equals(nextRequestResponse.type)) {
// no view to render (meaning the return was processed by the event)
if (Debug.verboseOn()) Debug.logVerbose("[RequestHandler.doRequest]: Response is handled by the event." + " sessionId=" + UtilHttp.getSessionId(request), module);
@@ -629,8 +650,7 @@ public class RequestHandler {
throw new RequestHandlerException(ise.getMessage(), ise);
}
}
-
- private void renderView(String view, boolean allowExtView, HttpServletRequest req, HttpServletResponse resp) throws RequestHandlerException {
+ private void renderView(String view, boolean allowExtView, HttpServletRequest req, HttpServletResponse resp, String saveName) throws RequestHandlerException {
GenericValue userLogin = (GenericValue) req.getSession().getAttribute("userLogin");
GenericDelegator delegator = (GenericDelegator) req.getAttribute("delegator");
// workaraound if we are in the root webapp
@@ -664,7 +684,19 @@ public class RequestHandler {
UtilMisc.makeMapSerializable(paramMap);
req.getSession().setAttribute("_LAST_VIEW_NAME_", view);
req.getSession().setAttribute("_LAST_VIEW_PARAMS_", paramMap);
-
+
+ if ("SAVED".equals(saveName)) {
+ //Debug.log("======save current view: " + view);
+ req.getSession().setAttribute("_SAVED_VIEW_NAME_", view);
+ req.getSession().setAttribute("_SAVED_VIEW_PARAMS_", paramMap);
+ }
+
+ if ("HOME".equals(saveName)) {
+ //Debug.log("======save home view: " + view);
+ req.getSession().setAttribute("_HOME_VIEW_NAME_", view);
+ req.getSession().setAttribute("_HOME_VIEW_PARAMS_", paramMap);
+ }
+
ConfigXMLReader.ViewMap viewMap = (view == null ? null : getControllerConfig().viewMapMap.get(view));
if (viewMap == null) {
throw new RequestHandlerException("No definition found for view with name [" + view + "]");
diff --git a/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml b/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml
index aa3dc987c4..4248fce211 100644
--- a/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml
+++ b/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml
@@ -304,7 +304,6 @@
-
diff --git a/specialpurpose/myportal/config/MyPortalUiLabels.xml b/specialpurpose/myportal/config/MyPortalUiLabels.xml
index 53e5a424da..454d54baf0 100644
--- a/specialpurpose/myportal/config/MyPortalUiLabels.xml
+++ b/specialpurpose/myportal/config/MyPortalUiLabels.xml
@@ -121,12 +121,6 @@
Nuova utente
ลงทะเบียน
-
- You do not have access to this information
- Vous n'avez pas accès à cette information
- Non hai l'accesso a queste informazioni
- คุณไม่มีข้อมูลอยู่ในระบบ
-
No Access priviledges has been setup.
Aucun accès privilégié n'a été paramétré.
diff --git a/specialpurpose/myportal/data/MyPortalTypeData.xml b/specialpurpose/myportal/data/MyPortalTypeData.xml
index ab6428165a..182195f257 100644
--- a/specialpurpose/myportal/data/MyPortalTypeData.xml
+++ b/specialpurpose/myportal/data/MyPortalTypeData.xml
@@ -28,7 +28,7 @@
-
+
@@ -104,7 +104,7 @@
-
+
@@ -117,14 +117,14 @@
-
-
+
+
-
+
@@ -133,8 +133,8 @@
-
-
+
+
diff --git a/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml b/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml
index 3b7e946bde..ac36baa9db 100644
--- a/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml
+++ b/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml
@@ -20,42 +20,6 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -69,50 +33,6 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -182,133 +102,6 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/specialpurpose/myportal/webapp/addAttachFile.ftl b/specialpurpose/myportal/webapp/addAttachFile.ftl
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/specialpurpose/myportal/webapp/attachFileList.ftl b/specialpurpose/myportal/webapp/attachFileList.ftl
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/specialpurpose/myportal/webapp/myportal/WEB-INF/controller.xml b/specialpurpose/myportal/webapp/myportal/WEB-INF/controller.xml
index 79655ae487..b7b4cf5b08 100644
--- a/specialpurpose/myportal/webapp/myportal/WEB-INF/controller.xml
+++ b/specialpurpose/myportal/webapp/myportal/WEB-INF/controller.xml
@@ -29,7 +29,7 @@
-
+
@@ -101,7 +101,7 @@
-
+
-
+
-
+
@@ -207,7 +207,7 @@
-
+
@@ -276,24 +276,18 @@
-
+
-
-
-
-
-
+
diff --git a/specialpurpose/myportal/widget/CommonScreens.xml b/specialpurpose/myportal/widget/CommonScreens.xml
index 634b232281..03c3a35440 100644
--- a/specialpurpose/myportal/widget/CommonScreens.xml
+++ b/specialpurpose/myportal/widget/CommonScreens.xml
@@ -44,6 +44,7 @@ under the License.
+
@@ -100,16 +101,34 @@ under the License.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -143,14 +162,6 @@ under the License.
-
-
-
-
diff --git a/specialpurpose/myportal/widget/MyPortalForms.xml b/specialpurpose/myportal/widget/MyPortalForms.xml
index 87319c75c5..e320d60cfc 100644
--- a/specialpurpose/myportal/widget/MyPortalForms.xml
+++ b/specialpurpose/myportal/widget/MyPortalForms.xml
@@ -189,61 +189,6 @@ under the License.
-
diff --git a/specialpurpose/myportal/widget/MyPortalMenus.xml b/specialpurpose/myportal/widget/MyPortalMenus.xml
index 76b511bf2d..476beb428b 100644
--- a/specialpurpose/myportal/widget/MyPortalMenus.xml
+++ b/specialpurpose/myportal/widget/MyPortalMenus.xml
@@ -58,104 +58,6 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -416,125 +315,6 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-