Author: hansbak
Date: Mon Jan 5 01:48:15 2009
New Revision: 731508
URL: http://svn.apache.org/viewvc?rev=731508&view=rev
Log:
updates according the comments from bruno
Added:
ofbiz/trunk/framework/example/webapp/appheader.ftl (with props)
Removed:
ofbiz/trunk/framework/common/webcommon/portal/appheader.ftl
Modified:
ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
ofbiz/trunk/framework/common/widget/PortalPageForms.xml
ofbiz/trunk/framework/common/widget/PortalPageScreens.xml
ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
ofbiz/trunk/specialpurpose/myportal/data/MyPortalTypeData.xml
ofbiz/trunk/specialpurpose/myportal/widget/MyPortalScreens.xml
Modified:
ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy?rev=731508&r1=731507&r2=731508&view=diff
==============================================================================
---
ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
(original)
+++
ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
Mon Jan 5 01:48:15 2009
@@ -36,7 +36,7 @@
],EntityOperator.AND);
sortField = parameters.sortField;
if (UtilValidate.isEmpty(sortField)) {
- sortField = "portalPageName";
+ sortField = "parentPortalPageId DESC";
}
orderBy = [sortField];
portalPages = delegator.findList("PortalPage", ppCond, null, orderBy,
null, false);
Modified: ofbiz/trunk/framework/common/widget/PortalPageForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/PortalPageForms.xml?rev=731508&r1=731507&r2=731508&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/PortalPageForms.xml (original)
+++ ofbiz/trunk/framework/common/widget/PortalPageForms.xml Mon Jan 5 01:48:15
2009
@@ -48,10 +48,13 @@
</in-place-editor>
</display>
</field>
- <field name="originalPortalPageId"><display/></field>
+ <field name="originalPortalPageId"><display-entity
entity-name="PortalPage" description="${portalPageName} [${portalPageId}]"
key-field-name="portalPageId"/></field>
<field name="deleteLink"
use-when="!ownerUserLoginId.equals("_NA_")"
title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" >
<hyperlink
target="deletePortalPage?portalPageId=${portalPageId}&parentPortalPageId=${parameters.parentPortalPageId}"
description="${uiLabelMap.CommonDelete}"/>
</field>
+ <field name="deleteLink"
use-when="!ownerUserLoginId.equals("_NA_")&&originalPortalPageId!=null"
title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" >
+ <hyperlink
target="deletePortalPage?portalPageId=${portalPageId}&parentPortalPageId=${parameters.parentPortalPageId}"
description="revert to original"/>
+ </field>
</form>
<form name="NewPortalPage" type="single"
target="createPortalPage?mainPortalPageId=${parameters.mainPortalPageId}">
Modified: ofbiz/trunk/framework/common/widget/PortalPageScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/PortalPageScreens.xml?rev=731508&r1=731507&r2=731508&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/PortalPageScreens.xml (original)
+++ ofbiz/trunk/framework/common/widget/PortalPageScreens.xml Mon Jan 5
01:48:15 2009
@@ -40,7 +40,7 @@
<screen name="editPortalPage">
<section>
<actions>
- <set field="headerItem" from-field="portalPageId"/>
+ <set field="headerItem" from-field="parameters.portalPageId"/>
<entity-one entity-name="PortalPage" value-name="portalPage"/>
<set field="portalPageId"
from-field="portalPage.portalPageId"/>
<set field="parentPortalPageId"
from-field="parameters.parentPortalPageId"/>
Added: ofbiz/trunk/framework/example/webapp/appheader.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/appheader.ftl?rev=731508&view=auto
==============================================================================
--- ofbiz/trunk/framework/example/webapp/appheader.ftl (added)
+++ ofbiz/trunk/framework/example/webapp/appheader.ftl Mon Jan 5 01:48:15 2009
@@ -0,0 +1,41 @@
+<#--
+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")>
+<div id="app-navigation">
+ <h2>${uiLabelMap.ExampleApplication}</h2>
+ <ul>
+ <#if userLogin?has_content>
+ <li <#if selected = "${uiLabelMap.ExampleExample}">
class="selected"</#if>><a
href="<@ofbizUrl>FindExample?portalPageId=${uiLabelMap.ExampleExample}</@ofbizUrl>">${uiLabelMap.ExampleExample}</a></li>
+ <li <#if selected = "${uiLabelMap.ExampleFeature}">
class="selected"</#if>><a
href="<@ofbizUrl>FindExampleFeature?portalPageId=${uiLabelMap.ExampleFeature}</@ofbizUrl>">${uiLabelMap.ExampleFeature}</a></li>
+ <li <#if selected = "${uiLabelMap.ExampleFormWidgetExamples}">
class="selected"</#if>><a
href="<@ofbizUrl>FormWidgetExamples?portalPageId=${uiLabelMap.ExampleFormWidgetExamples}</@ofbizUrl>">${uiLabelMap.ExampleFormWidgetExamples}</a></li>
+ <li <#if selected = "${uiLabelMap.ExampleAjaxExamples}">
class="selected"</#if>><a
href="<@ofbizUrl>authview/findExampleAjax?portalPageId=${uiLabelMap.ExampleAjaxExamples}</@ofbizUrl>">${uiLabelMap.ExampleAjaxExamples}</a></li>
+ <#if portalPages?has_content>
+ <#list portalPages as page>
+ <li<#if selected = "${page.portalPageId}">
class="selected"</#if>><a
href="<@ofbizUrl>showPortalPage?portalPageId=${page.portalPageId}</@ofbizUrl>"><#if
page.portalPageName?exists>${page.portalPageName}<#else>?</#if></a></li>
+ </#list>
+ </#if>
+ <li class="opposed"><a
href="<@ofbizUrl>logout</@ofbizUrl>">${uiLabelMap.CommonLogout}</a></li>
+ <li class="opposed"><a
href="<@ofbizUrl>ManagePortalPages?parentPortalPageId=EXAMPLE</@ofbizUrl>">${uiLabelMap.CommonDashboard}</a></li>
+ <#else>
+ <li class="opposed"><a
href="<@ofbizUrl>${checkLoginUrl?if_exists}</@ofbizUrl>">${uiLabelMap.CommonLogin}</a></li>
+ </#if>
+ </ul>
+ <br class="clear" />
+</div>
Propchange: ofbiz/trunk/framework/example/webapp/appheader.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/framework/example/webapp/appheader.ftl
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/framework/example/webapp/appheader.ftl
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/CommonScreens.xml?rev=731508&r1=731507&r2=731508&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/CommonScreens.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/CommonScreens.xml Mon Jan 5
01:48:15 2009
@@ -42,7 +42,7 @@
<set field="activeApp" value="example" global="true"/>
<!--set field="applicationMenuName" value="ExampleAppBar"
global="true"/>
<set field="applicationMenuLocation"
value="component://example/widget/example/ExampleMenus.xml" global="true"/-->
- <set field="appheaderTemplate"
value="component://common/webcommon/portal/appheader.ftl"/>
+ <set field="appheaderTemplate"
value="component://example/webapp/appheader.ftl"/>
<set field="parameters.parentPortalPageId" value="EXAMPLE"/>
<script
location="component://common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy"/>
</actions>
Modified: ofbiz/trunk/specialpurpose/myportal/data/MyPortalTypeData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/data/MyPortalTypeData.xml?rev=731508&r1=731507&r2=731508&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/data/MyPortalTypeData.xml (original)
+++ ofbiz/trunk/specialpurpose/myportal/data/MyPortalTypeData.xml Mon Jan 5
01:48:15 2009
@@ -20,15 +20,6 @@
<entity-engine-xml>
<WorkEffortType description="Company Events" hasTable="N"
parentTypeId="EVENT" workEffortTypeId="COMPANY_EVENT"/>
-
- <UserPrefGroupType userPrefGroupTypeId="MyPortal" description="User
settings of the MyPortal component"/>
- <UserPreference userLoginId="_NA_" userPrefGroupTypeId="MyPortal"
userPrefTypeId="myTasks" userPrefValue="Y"/>
- <UserPreference userLoginId="_NA_" userPrefGroupTypeId="MyPortal"
userPrefTypeId="myTimesheet" userPrefValue="Y"/>
- <UserPreference userLoginId="_NA_" userPrefGroupTypeId="MyPortal"
userPrefTypeId="myCommunications" userPrefValue="Y"/>
- <UserPreference userLoginId="_NA_" userPrefGroupTypeId="MyPortal"
userPrefTypeId="otherCommunications" userPrefValue="Y"/>
- <UserPreference userLoginId="_NA_" userPrefGroupTypeId="MyPortal"
userPrefTypeId="myCompanyComms" userPrefValue="Y"/>
- <UserPreference userLoginId="_NA_" userPrefGroupTypeId="MyPortal"
userPrefTypeId="sendCustRequestEmail" userPrefValue="Y"/>
-
<RoleType description="Email Administrator" hasTable="N"
parentTypeId="PERSON_ROLE" roleTypeId="EMAIL_ADMIN"/>
<!-- ProductStoreEmailSetting for send auto email to customer when
CustRequest completed -->
@@ -37,8 +28,21 @@
<!-- PortalPortlet Demo Data -->
<PortalPage portalPageId="MYPORTAL" portalPageName="Main" description="The
default OFBiz portal page" ownerUserLoginId="_NA_"/>
- <PortalPageColumn portalPageId="MYPORTAL" columnSeqId="01" />
- <PortalPageColumn portalPageId="MYPORTAL" columnSeqId="02" />
+ <PortalPage portalPageId="00001" portalPageName="My Profile"
ownerUserLoginId="admin" parentPortalPageId="MYPORTAL" />
+ <PortalPage portalPageId="00002" portalPageName="My Communications"
ownerUserLoginId="admin" parentPortalPageId="MYPORTAL" />
+ <PortalPage portalPageId="00003" portalPageName="Other Communications"
ownerUserLoginId="admin" parentPortalPageId="MYPORTAL"/>
+ <PortalPage portalPageId="00004" portalPageName="Company communications"
ownerUserLoginId="admin" parentPortalPageId="MYPORTAL" />
+ <PortalPage portalPageId="00005" portalPageName="My Time Sheets"
ownerUserLoginId="admin" parentPortalPageId="MYPORTAL" />
+ <PortalPage portalPageId="00006" portalPageName="My Tasks"
ownerUserLoginId="admin" parentPortalPageId="MYPORTAL" />
+
+ <PortalPageColumn portalPageId="MYPORTAL" columnSeqId="00001" />
+ <PortalPageColumn portalPageId="00001" columnSeqId="00001"
columnWidthPercentage="50" />
+ <PortalPageColumn portalPageId="00001" columnSeqId="00002"
columnWidthPercentage="50" />
+ <PortalPageColumn portalPageId="00002" columnSeqId="00001" />
+ <PortalPageColumn portalPageId="00003" columnSeqId="00001" />
+ <PortalPageColumn portalPageId="00004" columnSeqId="00001" />
+ <PortalPageColumn portalPageId="00005" columnSeqId="00001" />
+ <PortalPageColumn portalPageId="00006" columnSeqId="00001" />
<PortalPortlet portalPortletId="Attributes" portletName="Attributes"
screenName="Attributes"
screenLocation="component://myportal/widget/MyPortalScreens.xml"
description="Attributes in myportal from party" />
<PortalPortlet portalPortletId="AvsSettings" portletName="Avs Settings"
screenName="AvsSettings"
screenLocation="component://myportal/widget/MyPortalScreens.xml"
description="Avs Settings in myportal from party" />
@@ -65,9 +69,22 @@
<PortalPortlet portalPortletId="otherCommunications" portletName="Other
Communications" screenName="OtherCommunications"
screenLocation="component://myportal/widget/MyPortalScreens.xml"
description="Other Communications From My Page" />
<PortalPortlet portalPortletId="party" portletName="Party"
screenName="Party"
screenLocation="component://myportal/widget/MyPortalScreens.xml"
description="profile in myportal from party" />
- <PortalPagePortlet portalPageId="MYPORTAL"
portalPortletId="listrequestlist" portletSeqId="00001" columnSeqId="01"
sequenceNum="-2" />
- <PortalPagePortlet portalPageId="MYPORTAL"
portalPortletId="mycommunications" portletSeqId="00001" columnSeqId="02"
sequenceNum="-1" />
- <PortalPagePortlet portalPageId="MYPORTAL"
portalPortletId="mycompanycomms" portletSeqId="00001" columnSeqId="02"
sequenceNum="0" />
- <PortalPagePortlet portalPageId="MYPORTAL" portalPortletId="mytasks"
portletSeqId="00001" columnSeqId="01" sequenceNum="0" />
- <PortalPagePortlet portalPageId="MYPORTAL"
portalPortletId="otherCommunications" portletSeqId="00001" columnSeqId="01" />
+ <PortalPagePortlet portalPageId="MYPORTAL"
portalPortletId="listrequestlist" portletSeqId="00001" columnSeqId="00001" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="party"
portletSeqId="00001" columnSeqId="00001" sequenceNum="0" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="contact"
portletSeqId="00001" columnSeqId="00001" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="LoyaltyPoints"
portletSeqId="00001" columnSeqId="00001" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="PaymentMethods"
portletSeqId="00001" columnSeqId="00001" sequenceNum="4" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="AvsSettings"
portletSeqId="00001" columnSeqId="00001" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="UserLogin"
portletSeqId="00001" columnSeqId="00002" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="Attributes"
portletSeqId="00001" columnSeqId="00002" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="Visits"
portletSeqId="00001" columnSeqId="00002" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="Content"
portletSeqId="00001" columnSeqId="00002"/>
+ <PortalPagePortlet portalPageId="00001" portalPortletId="ShipperAccount"
portletSeqId="00001" columnSeqId="00002" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="Notes"
portletSeqId="00001" columnSeqId="00002" />
+ <PortalPagePortlet portalPageId="00001" portalPortletId="MYTASKSPARTY"
portletSeqId="00001" columnSeqId="00002" />
+ <PortalPagePortlet portalPageId="00002" portalPortletId="mycommunications"
portletSeqId="00001" columnSeqId="00001" />
+ <PortalPagePortlet portalPageId="00003"
portalPortletId="otherCommunications" portletSeqId="00001" columnSeqId="00001"/>
+ <PortalPagePortlet portalPageId="00004" portalPortletId="mycompanycomms"
portletSeqId="00001" columnSeqId="00001" />
+ <PortalPagePortlet portalPageId="00005" portalPortletId="mytimesheet"
portletSeqId="00001" columnSeqId="00001" />
+ <PortalPagePortlet portalPageId="00006" portalPortletId="mytasks"
portletSeqId="00001" columnSeqId="00001" />
</entity-engine-xml>
Modified: ofbiz/trunk/specialpurpose/myportal/widget/MyPortalScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/MyPortalScreens.xml?rev=731508&r1=731507&r2=731508&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/widget/MyPortalScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/myportal/widget/MyPortalScreens.xml Mon Jan 5
01:48:15 2009
@@ -804,29 +804,14 @@
</section>
</screen>
- <!-- My Profile Screens -->
- <screen name="model">
- <section>
- <widgets>
- <section>
- <condition>
- <not><if-empty field-name="party"/></not>
- </condition>
- <widgets>
-
- </widgets>
- <fail-widgets>
- <container>
- <label
style="h3">${uiLabelMap.PartyNoPartyFoundWithPartyId}:
${parameters.partyId}</label>
- </container>
- </fail-widgets>
- </section>
- </widgets>
- </section>
- </screen>
-
+ <!-- My Profile Screens -->
<screen name="Party">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -851,6 +836,11 @@
<screen name="Contact">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -875,6 +865,11 @@
<screen name="contactsAndAccounts">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -899,6 +894,11 @@
<screen name="LoyaltyPoints">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -923,6 +923,11 @@
<screen name="PaymentMethods">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -947,6 +952,11 @@
<screen name="AvsSettings">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -971,6 +981,11 @@
<screen name="FinAccounts">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -995,6 +1010,11 @@
<screen name="UserLogin">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1019,6 +1039,11 @@
<screen name="Attributes">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1043,6 +1068,11 @@
<screen name="Visits">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1067,6 +1097,11 @@
<screen name="Cart">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1091,6 +1126,11 @@
<screen name="SerializedInventory">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1115,6 +1155,11 @@
<screen name="Subscriptions">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1139,6 +1184,11 @@
<screen name="Content">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1163,6 +1213,11 @@
<screen name="ShipperAccount">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1187,6 +1242,11 @@
<screen name="Notes">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1211,6 +1271,11 @@
<screen name="mytasksParty">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>
@@ -1235,6 +1300,11 @@
<screen name="ViewInternalOrg">
<section>
+ <actions>
+ <set field="parameters.partyId"
from-field="userLogin.userLoginId"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
+ <script
location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
+ </actions>
<widgets>
<section>
<condition>