Securing URLs, link element in screens and menus : 11th set + tabs to 4 spaces

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760789 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-04-01 06:16:07 +00:00
parent 2ae583d0a1
commit ca876f93ce
19 changed files with 304 additions and 74 deletions
+48 -12
View File
@@ -148,7 +148,10 @@ under the License.
<if-compare-field field="invoice.currencyUomId" operator="not-equals" to-field="defaultOrganizationPartyCurrencyUomId"/>
</and>
</condition>
<link target="invoice.pdf?invoiceId=${invoice.invoiceId}&amp;currency=${defaultOrganizationPartyCurrencyUomId}" target-window="_BLANK"/>
<link target="invoice.pdf" target-window="_BLANK">
<parameter param-name="invoiceId" from-field="invoice.invoiceId"/>
<parameter param-name="currency" from-field="defaultOrganizationPartyCurrencyUomId"/>
</link>
</menu-item>
<menu-item name="statusToApproved" title="${uiLabelMap.AccountingInvoiceStatusToApproved}">
<condition>
@@ -263,7 +266,10 @@ under the License.
</or>
</and>
</condition>
<link target="copyInvoiceToTemplate?invoiceId=${invoice.invoiceId}&amp;invoiceTypeId=${invoice.invoiceTypeId}"/>
<link target="copyInvoiceToTemplate">
<parameter param-name="invoiceId" from-field="invoice.invoiceId"/>
<parameter param-name="invoiceTypeId" from-field="invoice.invoiceTypeId"/>
</link>
</menu-item>
</menu>
@@ -375,7 +381,10 @@ under the License.
<menu name="FixedAssetMaintTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
selected-menuitem-context-field-name="tabButtonItemFixedAssetMaint" default-menu-item-name="EditFixedAssetMaint">
<menu-item name="EditFixedAssetMaint" title="${uiLabelMap.AccountingFixedAssetMaint}">
<link target="EditFixedAssetMaint?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/>
<link target="EditFixedAssetMaint">
<parameter param-name="fixedAssetId" from-field="fixedAssetMaint.fixedAssetId"/>
<parameter param-name="maintHistSeqId" from-field="fixedAssetMaint.maintHistSeqId"/>
</link>
</menu-item>
<menu-item name="EditFixedAssetMeters" title="${uiLabelMap.AccountingFixedAssetMeters}">
<link target="EditFixedAssetMeters">
@@ -385,7 +394,10 @@ under the License.
</link>
</menu-item>
<menu-item name="EditFixedAssetMaintOrders" title="${uiLabelMap.AccountingFixedAssetMaintOrders}">
<link target="EditFixedAssetMaintOrders?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/>
<link target="EditFixedAssetMaintOrders">
<parameter param-name="fixedAssetId" from-field="fixedAssetMaint.fixedAssetId"/>
<parameter param-name="maintHistSeqId" from-field="fixedAssetMaint.maintHistSeqId"/>
</link>
</menu-item>
</menu>
@@ -395,7 +407,10 @@ under the License.
<link target="EditFixedAsset?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="FixedAssetChildren" title="${uiLabelMap.CommonEntityChildren}">
<link target="FixedAssetChildren?fixedAssetId=${fixedAssetId}&amp;trail=${fixedAssetId}"/>
<link target="FixedAssetChildren">
<parameter param-name="fixedAssetId" from-field="fixedAssetId"/>
<parameter param-name="trail" from-field="fixedAssetId"/>
</link>
</menu-item>
<menu-item name="ListFixedAssetProducts" title="${uiLabelMap.AccountingFixedAssetProducts}">
<link target="ListFixedAssetProducts?fixedAssetId=${fixedAssetId}"/>
@@ -632,34 +647,55 @@ under the License.
<menu name="AgreementItemTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
selected-menuitem-context-field-name="buttonBarItem">
<menu-item name="EditAgreementItem" title="${uiLabelMap.AccountingAgreementItem}">
<link target="EditAgreementItem?agreementId=${agreementItem.agreementId}&amp;agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
<link target="EditAgreementItem">
<parameter param-name="agreementId" from-field="agreementItem.agreementId"/>
<parameter param-name="agreementItemSeqId" from-field="agreementItem.agreementItemSeqId"/>
</link>
</menu-item>
<menu-item name="ListAgreementPromoAppls" title="${uiLabelMap.AccountingAgreementPromoAppls}">
<link target="ListAgreementPromoAppls?agreementId=${agreementItem.agreementId}&amp;agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
<link target="ListAgreementPromoAppls">
<parameter param-name="agreementId" from-field="agreementItem.agreementId"/>
<parameter param-name="agreementItemSeqId" from-field="agreementItem.agreementItemSeqId"/>
</link>
</menu-item>
<menu-item name="ListAgreementItemTerms" title="${uiLabelMap.AccountingAgreementItemTerms}">
<link target="ListAgreementItemTerms?agreementId=${agreementItem.agreementId}&amp;agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
<link target="ListAgreementItemTerms">
<parameter param-name="agreementId" from-field="agreementItem.agreementId"/>
<parameter param-name="agreementItemSeqId" from-field="agreementItem.agreementItemSeqId"/>
</link>
</menu-item>
<menu-item name="ListAgreementItemSupplierProducts" title="${uiLabelMap.ProductProducts}">
<condition>
<if-compare field="agreement.agreementTypeId" operator="equals" value="PURCHASE_AGREEMENT"/>
</condition>
<link target="ListAgreementItemSupplierProducts?agreementId=${agreementItem.agreementId}&amp;agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
<link target="ListAgreementItemSupplierProducts">
<parameter param-name="agreementId" from-field="agreementItem.agreementId"/>
<parameter param-name="agreementItemSeqId" from-field="agreementItem.agreementItemSeqId"/>
</link>
</menu-item>
<menu-item name="ListAgreementItemProducts" title="${uiLabelMap.ProductProducts}">
<condition>
<if-compare field="agreement.agreementTypeId" operator="not-equals" value="PURCHASE_AGREEMENT"/>
</condition>
<link target="ListAgreementItemProducts?agreementId=${agreementItem.agreementId}&amp;agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
<link target="ListAgreementItemProducts">
<parameter param-name="agreementId" from-field="agreementItem.agreementId"/>
<parameter param-name="agreementItemSeqId" from-field="agreementItem.agreementItemSeqId"/>
</link>
</menu-item>
<menu-item name="ListAgreementItemParties" title="${uiLabelMap.Party}">
<link target="ListAgreementItemParties?agreementId=${agreementItem.agreementId}&amp;agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
<link target="ListAgreementItemParties">
<parameter param-name="agreementId" from-field="agreementItem.agreementId"/>
<parameter param-name="agreementItemSeqId" from-field="agreementItem.agreementItemSeqId"/>
</link>
</menu-item>
<menu-item name="ListAgreementGeographicalApplic" title="${uiLabelMap.CommonGeo}">
<link target="ListAgreementGeographicalApplic?agreementId=${agreementItem.agreementId}&amp;agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
<link target="ListAgreementGeographicalApplic">
<parameter param-name="agreementId" from-field="agreementItem.agreementId"/>
<parameter param-name="agreementItemSeqId" from-field="agreementItem.agreementItemSeqId"/>
</link>
</menu-item>
</menu>
@@ -23,23 +23,41 @@ under the License.
default-menu-item-name="EditTaxAuthority">
<menu-item name="EditTaxAuthority" title="${uiLabelMap.AccountingTaxAuthority}">
<link target="EditTaxAuthority?taxAuthPartyId=${taxAuthPartyId}&amp;taxAuthGeoId=${taxAuthGeoId}"/>
<link target="EditTaxAuthority">
<parameter param-name="taxAuthPartyId" from-field="taxAuthPartyId"/>
<parameter param-name="taxAuthGeoId" from-field="taxAuthGeoId"/>
</link>
</menu-item>
<menu-item name="EditTaxAuthorityCategories" title="${uiLabelMap.ProductCategories}">
<link target="EditTaxAuthorityCategories?taxAuthPartyId=${taxAuthPartyId}&amp;taxAuthGeoId=${taxAuthGeoId}"/>
<link target="EditTaxAuthorityCategories">
<parameter param-name="taxAuthPartyId" from-field="taxAuthPartyId"/>
<parameter param-name="taxAuthGeoId" from-field="taxAuthGeoId"/>
</link>
</menu-item>
<menu-item name="EditTaxAuthorityAssocs" title="${uiLabelMap.CommonAssocs}">
<link target="EditTaxAuthorityAssocs?taxAuthPartyId=${taxAuthPartyId}&amp;taxAuthGeoId=${taxAuthGeoId}"/>
<link target="EditTaxAuthorityAssocs">
<parameter param-name="taxAuthPartyId" from-field="taxAuthPartyId"/>
<parameter param-name="taxAuthGeoId" from-field="taxAuthGeoId"/>
</link>
</menu-item>
<menu-item name="EditTaxAuthorityGlAccounts" title="${uiLabelMap.AccountingGlAccs}">
<link target="EditTaxAuthorityGlAccounts?taxAuthPartyId=${taxAuthPartyId}&amp;taxAuthGeoId=${taxAuthGeoId}"/>
<link target="EditTaxAuthorityGlAccounts">
<parameter param-name="taxAuthPartyId" from-field="taxAuthPartyId"/>
<parameter param-name="taxAuthGeoId" from-field="taxAuthGeoId"/>
</link>
</menu-item>
<menu-item name="EditTaxAuthorityRateProducts" title="${uiLabelMap.AccountingProductRates}">
<link target="EditTaxAuthorityRateProducts?taxAuthPartyId=${taxAuthPartyId}&amp;taxAuthGeoId=${taxAuthGeoId}"/>
<link target="EditTaxAuthorityRateProducts">
<parameter param-name="taxAuthPartyId" from-field="taxAuthPartyId"/>
<parameter param-name="taxAuthGeoId" from-field="taxAuthGeoId"/>
</link>
</menu-item>
<menu-item name="ListTaxAuthorityParties" title="${uiLabelMap.PartyParties}">
<link target="ListTaxAuthorityParties?taxAuthPartyId=${taxAuthPartyId}&amp;taxAuthGeoId=${taxAuthGeoId}"/>
<link target="ListTaxAuthorityParties">
<parameter param-name="taxAuthPartyId" from-field="taxAuthPartyId"/>
<parameter param-name="taxAuthGeoId" from-field="taxAuthGeoId"/>
</link>
</menu-item>
</menu>
</menus>
@@ -55,7 +55,10 @@ under the License.
</link>
</menu-item>
<menu-item name="contentedit" title="${uiLabelMap.CommonEdit}" >
<link id="CMSContentEdit" target="CMSContentEdit?contentId=${content.currentValue.contentId}&amp;dataResourceId=${content.currentValue.dataResourceId}"/>
<link id="CMSContentEdit" target="CMSContentEdit">
<parameter param-name="contentId" from-field="content.currentValue.contentId"/>
<parameter param-name="dataResourceId" from-field="content.currentValue.dataResourceId"/>
</link>
</menu-item>
<menu-item name="contentadd" title="${uiLabelMap.CommonAdd}" >
<link id="CMSContentAdd" target="CMSContentAdd">
@@ -41,7 +41,10 @@ under the License.
<if-compare value="TEMPLATE" field="contentTypeId" operator="equals"></if-compare>
</or>
</condition>
<link target="ViewCompDocTemplateTree?rootContentId=${rootContentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="ViewCompDocTemplateTree">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="rootContentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="viewtree2" title="${uiLabelMap.ContentCompDocViewTree}">
<condition>
@@ -50,16 +53,28 @@ under the License.
<if-compare value="DOCUMENT" field="contentTypeId" operator="equals"></if-compare>
</or>
</condition>
<link target="ViewCompDocInstanceTree?rootContentId=${rootContentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="ViewCompDocInstanceTree">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="rootContentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="edit" title="${uiLabelMap.CommonEdit}">
<link target="EditRootCompDoc?rootContentId=${rootContentId}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="EditRootCompDoc">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="approval" title="${uiLabelMap.ContentCompDocApprovals}">
<link target="ListContentApproval?rootContentId=${rootContentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="ListContentApproval">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="rootContentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="revision" title="${uiLabelMap.ContentCompDocRevisions}">
<link target="ListContentRevisions?rootContentId=${rootContentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="ListContentRevisions">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="rootContentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
</menu>
@@ -72,7 +87,10 @@ under the License.
<if-compare value="TEMPLATE" field="contentTypeId" operator="equals"></if-compare>
</or>
</condition>
<link target="ViewCompDocTemplateTree?rootContentId=${rootContentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="ViewCompDocTemplateTree">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="rootContentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="viewtree2" title="${uiLabelMap.PageTitleViewCompDocTree}">
<condition>
@@ -81,7 +99,10 @@ under the License.
<if-compare value="DOCUMENT" field="contentTypeId" operator="equals"></if-compare>
</or>
</condition>
<link target="ViewCompDocInstanceTree?rootContentId=${rootContentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="ViewCompDocInstanceTree">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="rootContentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="edit" title="${uiLabelMap.CommonEdit}">
<link target="EditChildCompDoc" >
@@ -97,10 +118,16 @@ under the License.
<menu name="rootTemplateLine" menu-container-style="button-bar button-style-1" default-menu-item-name="content"
selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple">
<menu-item name="edit-inplace" title="${contentName}[${contentId}]" widget-style="h2">
<link target="EditRootCompDoc?rootContentId=${rootContentId}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="EditRootCompDoc">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="edit-link" title="${uiLabelMap.CommonEdit}">
<link target="EditRootCompDoc?rootContentId=${rootContentId}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="EditRootCompDoc">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="child" title="${uiLabelMap.ContentCompDocChild}">
<condition>
@@ -116,10 +143,16 @@ under the License.
</menu-item>
<!-- on page
<menu-item name="viewinst" title="View Instances">
<link target="ViewInstances?rootContentId=${rootContentId}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="ViewInstances">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="addinst" title="Add Instance">
<link target="AddRootCompDocInstance?rootContentId=${rootContentId}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="AddRootCompDocInstance">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
-->
</menu>
@@ -206,13 +239,22 @@ under the License.
<menu name="rootInstanceLine" menu-container-style="button-bar button-style-1" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple">
<menu-item name="edit-inplace" title="${instanceContent.contentName}[${instanceContent.contentId}]" widget-style="h2">
<link target="EditRootCompDoc?rootContentId=${rootContentId}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="EditRootCompDoc">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="edit" title="${uiLabelMap.CommonEdit}">
<link target="EditRootCompDoc?rootContentId=${rootContentId}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="EditRootCompDoc">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</menu-item>
<menu-item name="viewtree" title="${uiLabelMap.PageTitleViewCompDocTemplateTree}">
<link target="ViewCompDocTemplateTree?rootContentRevisionSeqId=${templateContentRevisionSeqId}&amp;rootContentId=${templateContentId}"/>
<link target="ViewCompDocTemplateTree">
<parameter param-name="rootContentRevisionSeqId" from-field="templateContentRevisionSeqId"/>
<parameter param-name="rootContentId" from-field="templateContentId"/>
</link>
</menu-item>
<menu-item name="latest" title="${uiLabelMap.ContentCompDocCurrentInstance}">
<condition>
@@ -543,7 +543,10 @@ under the License.
<parameter param-name="contentId" from-field="rootContentId"/>
<parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
<link target="ViewInstances?rootContentId=${rootContentId}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
<link target="ViewInstances">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</container>
<include-form name="EditRootCompDocTemplate" location="component://content/widget/compdoc/CompDocForms.xml"/>
</widgets>
@@ -1197,7 +1200,10 @@ under the License.
</and>
</condition>
<widgets>
<link text="${uiLabelMap.ContentCompDocStartApprovalProcess}" target="prepForApproval?rootContentId=${rootContentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}" style="buttontext"/>
<link text="${uiLabelMap.ContentCompDocStartApprovalProcess}" target="prepForApproval" style="buttontext">
<parameter param-name="rootContentId" from-field="rootContentId"/>
<parameter param-name="rootContentRevisionSeqId" from-field="rootContentRevisionSeqId"/>
</link>
</widgets>
</section>
</container>
@@ -171,10 +171,16 @@ under the License.
<link target="blogContent?blogContentId=${parameters.blogContentId}"/>
</menu-item>
<menu-item name="ViewBlogArt" title="${uiLabelMap.CommonView}">
<link target="ViewBlogArticle?articleContentId=${parameters.articleContentId}&amp;blogContentId=${parameters.blogContentId}"/>
<link target="ViewBlogArticle">
<parameter param-name="articleContentId" from-field="parameters.articleContentId"/>
<parameter param-name="blogContentId" from-field="parameters.blogContentId"/>
</link>
</menu-item>
<menu-item name="EditBlogArt" title="${uiLabelMap.CommonEdit}">
<link target="EditBlogArticle?articleContentId=${parameters.articleContentId}&amp;blogContentId=${parameters.blogContentId}"/>
<link target="EditBlogArticle">
<parameter param-name="articleContentId" from-field="parameters.articleContentId"/>
<parameter param-name="blogContentId" from-field="parameters.blogContentId"/>
</link>
</menu-item>
<menu-item name="Owners" title="${uiLabelMap.FormFieldTitle_roles}">
<link target="EditContentRole?contentId=${parameters.articleContentId}"/>
@@ -31,7 +31,17 @@ under the License.
<menu name="ForumMessagesTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="forumGroups" title="${uiLabelMap.FormFieldTitle_forumGroups}"><link target="findForumGroups"/></menu-item>
<menu-item name="forums" title="${uiLabelMap.FormFieldTitle_forums}"><link target="findForums?forumGroupId=${parameters.forumGroupId}"/></menu-item>
<menu-item name="messageList" title="${uiLabelMap.FormFieldTitle_messageList}"><link target="findForumMessages?forumGroupId=${parameters.forumGroupId}&amp;forumId=${parameters.forumId}"/></menu-item>
<menu-item name="messageThread" title="${uiLabelMap.FormFieldTitle_messageThread}"><link target="findForumThreads?forumGroupId=${parameters.forumGroupId}&amp;forumId=${parameters.forumId}"/></menu-item>
<menu-item name="messageList" title="${uiLabelMap.FormFieldTitle_messageList}">
<link target="findForumMessages">
<parameter param-name="forumGroupId" from-field="parameters.forumGroupId"/>
<parameter param-name="forumId" from-field="parameters.forumId"/>
</link>
</menu-item>
<menu-item name="messageThread" title="${uiLabelMap.FormFieldTitle_messageThread}">
<link target="findForumThreads">
<parameter param-name="forumGroupId" from-field="parameters.forumGroupId"/>
<parameter param-name="forumId" from-field="parameters.forumId"/>
</link>
</menu-item>
</menu>
</menus>
+16 -4
View File
@@ -52,16 +52,28 @@ under the License.
<menu name="LeadTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="profile" title="${uiLabelMap.PartyProfile}">
<link target="viewprofile?partyId=${parameters.partyId}&amp;partyGroupId=${parameters.partyGroupId}"/>
<link target="viewprofile">
<parameter param-name="partyId" from-field="parameters.partyId"/>
<parameter param-name="partyGroupId" from-field="parameters.partyGroupId"/>
</link>
</menu-item>
<menu-item name="ConvertLead" title="${uiLabelMap.SfaConvertLead}">
<link target="ConvertLead?partyId=${parameters.partyId}&amp;partyGroupId=${parameters.partyGroupId}"/>
<link target="ConvertLead">
<parameter param-name="partyId" from-field="parameters.partyId"/>
<parameter param-name="partyGroupId" from-field="parameters.partyGroupId"/>
</link>
</menu-item>
<menu-item name="CloneLead" title="${uiLabelMap.SfaCloneLead}">
<link target="CloneLead?partyId=${parameters.partyId}&amp;partyGroupId=${parameters.partyGroupId}"/>
<link target="CloneLead">
<parameter param-name="partyId" from-field="parameters.partyId"/>
<parameter param-name="partyGroupId" from-field="parameters.partyGroupId"/>
</link>
</menu-item>
<menu-item name="MergeLeads" title="${uiLabelMap.SfaMergeLeads}">
<link target="MergeLeads?partyId=${parameters.partyId}&amp;partyGroupId=${parameters.partyGroupId}"/>
<link target="MergeLeads">
<parameter param-name="partyId" from-field="parameters.partyId"/>
<parameter param-name="partyGroupId" from-field="parameters.partyGroupId"/>
</link>
</menu-item>
</menu>
@@ -58,16 +58,28 @@ under the License.
<menu name="editrequestitemmenu" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="requestitem" title="${uiLabelMap.OrderRequestItem}">
<link id="requestitem" target="requestitem?custRequestId=${custRequest.custRequestId}&amp;custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
<link id="requestitem" target="requestitem">
<parameter param-name="custRequestId" from-field="custRequest.custRequestId"/>
<parameter param-name="custRequestItemSeqId" from-field="custRequestItem.custRequestItemSeqId"/>
</link>
</menu-item>
<menu-item name="requestitemnotes" title="${uiLabelMap.OrderRequestItemNotes}">
<link id="requestitemnotes" target="requestitemnotes?custRequestId=${custRequest.custRequestId}&amp;custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
<link id="requestitemnotes" target="requestitemnotes">
<parameter param-name="custRequestId" from-field="custRequest.custRequestId"/>
<parameter param-name="custRequestItemSeqId" from-field="custRequestItem.custRequestItemSeqId"/>
</link>
</menu-item>
<menu-item name="requestitemquotes" title="${uiLabelMap.OrderRequestItemQuotes}">
<link id="requestitemquotes" target="RequestItemQuotes?custRequestId=${custRequest.custRequestId}&amp;custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
<link id="requestitemquotes" target="RequestItemQuotes">
<parameter param-name="custRequestId" from-field="custRequest.custRequestId"/>
<parameter param-name="custRequestItemSeqId" from-field="custRequestItem.custRequestItemSeqId"/>
</link>
</menu-item>
<menu-item name="workeffortrequirements" title="${uiLabelMap.OrderRequestItemWorkEffort}">
<link id="workeffortrequirements" target="requestitemrequirements?custRequestId=${custRequest.custRequestId}&amp;custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
<link id="workeffortrequirements" target="requestitemrequirements">
<parameter param-name="custRequestId" from-field="custRequest.custRequestId"/>
<parameter param-name="custRequestItemSeqId" from-field="custRequestItem.custRequestItemSeqId"/>
</link>
</menu-item>
</menu>
</menus>
@@ -103,7 +103,10 @@ under the License.
<link target="EditPartyResumes?partyId=${partyId}"/>
</menu-item>
<menu-item name="EditEmploymentApps" title="${uiLabelMap.HumanResEmploymentApp}">
<link target="EditEmploymentApps?partyId=${partyId}&amp;&amp;referredByPartyId=${partyId}"/>
<link target="EditEmploymentApps">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="&amp;referredByPartyId" from-field="partyId"/>
</link>
</menu-item>
<menu-item name="FinancialHistory" title="${uiLabelMap.PartyFinancialHistory}">
<condition>
@@ -136,13 +139,19 @@ under the License.
<condition>
<if-has-permission permission="ORDERMGR" action="_VIEW"/>
</condition>
<link target="/ordermgr/control/FindRequest?lookupFlag=Y&amp;fromPartyId=${partyId}&amp;externaLoginKey=${externalLoginKey}" url-mode="inter-app"/>
<link target="/ordermgr/control/FindRequest" url-mode="inter-app">
<parameter param-name="lookupFlag=Y&amp;fromPartyId" from-field="partyId"/>
<parameter param-name="externaLoginKey" from-field="externalLoginKey"/>
</link>
</menu-item>
<menu-item name="findQuote" title="${uiLabelMap.OrderOrderQuotes}" >
<condition>
<if-has-permission permission="ORDERMGR" action="_VIEW"/>
</condition>
<link target="/ordermgr/control/FindQuote?partyId=${partyId}&amp;externalLoginKey=${externalLoginKey}" url-mode="inter-app"/>
<link target="/ordermgr/control/FindQuote" url-mode="inter-app">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="externalLoginKey" from-field="externalLoginKey"/>
</link>
</menu-item>
<menu-item name="searchOrder" title="${uiLabelMap.OrderOrders}" >
<condition>
@@ -154,13 +163,19 @@ under the License.
<condition>
<if-has-permission permission="ORDERMGR" action="_CREATE"/>
</condition>
<link target="/ordermgr/control/EditQuote?partyId=${partyId}&amp;externaLoginKey=${externalLoginKey}" url-mode="inter-app"/>
<link target="/ordermgr/control/EditQuote" url-mode="inter-app">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="externaLoginKey" from-field="externalLoginKey"/>
</link>
</menu-item>
<menu-item name="newOrder" title="${uiLabelMap.OrderNewOrder}">
<condition>
<if-has-permission permission="ORDERMGR" action="_CREATE"/>
</condition>
<link target="/ordermgr/control/checkinits?partyId=${partyId}&amp;externaLoginKey=${externalLoginKey}" url-mode="inter-app"/>
<link target="/ordermgr/control/checkinits" url-mode="inter-app">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="externaLoginKey" from-field="externalLoginKey"/>
</link>
</menu-item>
</menu>
<menu name="create-new-party" type="simple" menu-container-style="basic-nav">
@@ -321,7 +336,10 @@ under the License.
<if-has-permission permission="ORDERMGR_CRQ_CREATE"/>
</and>
</condition>
<link target="editRequestFromCommEvent?communicationEventId=${communicationEvent.communicationEventId}&amp;my=${parameters.my}"/>
<link target="editRequestFromCommEvent">
<parameter param-name="communicationEventId" from-field="communicationEvent.communicationEventId"/>
<parameter param-name="my" from-field="parameters.my"/>
</link>
</menu-item>
<menu-item name="close" title="${uiLabelMap.CommonClose}">
<condition>
@@ -379,7 +397,10 @@ under the License.
</menu-item>
<!-- TODO!
<menu-item name="ListCommCustRequests" title="CustRequests">
<link target="ListCommCustRequests?partyId=${partyId}&amp;communicationEventId=${communicationEventId}"/>
<link target="ListCommCustRequests">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="communicationEventId" from-field="communicationEventId"/>
</link>
</menu-item>
-->
<menu-item name="ListUnknownPartyComms" title="${uiLabelMap.PartyEmailFromUnknownParties}">
@@ -389,13 +410,22 @@ under the License.
<menu name="CommFindTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
default-menu-item-name="find">
<menu-item name="find" title="${uiLabelMap.CommonFind}">
<link target="findCommunications?partyId=${partyId}&amp;communicationEventId=${communicationEventId}" url-mode="intra-app"/>
<link target="findCommunications" url-mode="intra-app">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="communicationEventId" from-field="communicationEventId"/>
</link>
</menu-item>
<menu-item name="showall" title="${uiLabelMap.CommonShowAll}">
<link target="listCommunications?partyId=${partyId}&amp;communicationEventId=${communicationEventId}" url-mode="intra-app"/>
<link target="listCommunications" url-mode="intra-app">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="communicationEventId" from-field="communicationEventId"/>
</link>
</menu-item>
<menu-item name="pending" title="${uiLabelMap.PartyPending}">
<link target="pendingCommunications?partyId=${partyId}&amp;communicationEventId=${communicationEventId}" url-mode="intra-app"/>
<link target="pendingCommunications" url-mode="intra-app">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="communicationEventId" from-field="communicationEventId"/>
</link>
</menu-item>
</menu>
+12 -3
View File
@@ -118,13 +118,22 @@ under the License.
<menu name="InventoryItemTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
default-menu-item-name="EditInventoryItem" selected-menuitem-context-field-name="subTabButtonItem">
<menu-item name="EditInventoryItem" title="${uiLabelMap.ProductInventoryItem}">
<link target="EditInventoryItem?inventoryItemId=${inventoryItemId}&amp;facilityId=${facilityId}"/>
<link target="EditInventoryItem">
<parameter param-name="inventoryItemId" from-field="inventoryItemId"/>
<parameter param-name="facilityId" from-field="facilityId"/>
</link>
</menu-item>
<menu-item name="ViewInventoryItemDetail" title="${uiLabelMap.ProductInventoryDetails}">
<link target="ViewInventoryItemDetail?inventoryItemId=${inventoryItemId}&amp;facilityId=${facilityId}"/>
<link target="ViewInventoryItemDetail">
<parameter param-name="inventoryItemId" from-field="inventoryItemId"/>
<parameter param-name="facilityId" from-field="facilityId"/>
</link>
</menu-item>
<menu-item name="EditInventoryItemLabels" title="${uiLabelMap.ProductInventoryItemLabelAppl}">
<link target="EditInventoryItemLabels?inventoryItemId=${inventoryItemId}&amp;facilityId=${facilityId}"/>
<link target="EditInventoryItemLabels">
<parameter param-name="inventoryItemId" from-field="inventoryItemId"/>
<parameter param-name="facilityId" from-field="facilityId"/>
</link>
</menu-item>
</menu>
</menus>
@@ -39,7 +39,10 @@ under the License.
<link target="EditWorkEffort?workEffortId=${workEffortId}"/>
</menu-item>
<menu-item name="WorkEffortAssocs" title="${uiLabelMap.CommonEntityChildren}">
<link target="ChildWorkEfforts?workEffortId=${workEffortId}&amp;trail=${workEffortId}"/>
<link target="ChildWorkEfforts">
<parameter param-name="workEffortId" from-field="workEffortId"/>
<parameter param-name="trail" from-field="workEffortId"/>
</link>
</menu-item>
<menu-item name="WorkEffortPartyAssigns" title="${uiLabelMap.WorkEffortParties}">
<link target="ListWorkEffortPartyAssigns?workEffortId=${workEffortId}"/>
@@ -26,7 +26,12 @@ under the License.
<menu-item name="FormWidgetExamples" title="${uiLabelMap.ExampleFormWidgetExamples}"><link target="FormWidgetExamples"/></menu-item>
<menu-item name="AjaxExample" title="${uiLabelMap.ExampleAjaxExamples}"><link target="authview/findExampleAjax"/></menu-item>
<menu-item name="portalPage" parent-portal-page-value="${parameters.parentPortalPageId}"/>
<menu-item name="Dashboard" title="${uiLabelMap.ExampleDashboard}" align-style="opposed"><link target="ManagePortalPages?portalPageId=${currentPortalPage.portalPageId}&amp;parentPortalPageId=${parameters.parentPortalPageId}"/></menu-item>
<menu-item name="Dashboard" title="${uiLabelMap.ExampleDashboard}" align-style="opposed">
<link target="ManagePortalPages">
<parameter param-name="portalPageId" from-field="currentPortalPage.portalPageId"/>
<parameter param-name="parentPortalPageId" from-field="parameters.parentPortalPageId"/>
</link>
</menu-item>
</menu>
<menu name="EditExample" default-selected-style="selected" type="simple"
+8 -2
View File
@@ -31,7 +31,10 @@
<menu name="FixedAssetTabBar" extends="FixedAssetTabBar" extends-resource="component://accounting/widget/Menus.xml">
<menu-item name="EditProductMaints" title="${uiLabelMap.AssetMaintProductMaint}">
<condition><not><if-empty field="fixedAsset.instanceOfProductId"/></not></condition>
<link target="EditProductMaints?fixedAssetId=${fixedAsset.fixedAssetId}&amp;productId=${fixedAsset.instanceOfProductId}"/>
<link target="EditProductMaints">
<parameter param-name="fixedAssetId" from-field="fixedAsset.fixedAssetId"/>
<parameter param-name="productId" from-field="fixedAsset.instanceOfProductId"/>
</link>
</menu-item>
</menu>
@@ -58,7 +61,10 @@
</link>
</menu-item>
<menu-item name="EditItemIssuances" title="${uiLabelMap.AssetMaintItemIssuance}">
<link target="EditItemIssuances?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/>
<link target="EditItemIssuances">
<parameter param-name="fixedAssetId" from-field="fixedAssetMaint.fixedAssetId"/>
<parameter param-name="maintHistSeqId" from-field="fixedAssetMaint.maintHistSeqId"/>
</link>
</menu-item>
</menu>
@@ -55,7 +55,10 @@ under the License.
<link target="EditComputerHardware?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="ListHardwareAccessories" title="${uiLabelMap.IsMgrHardwareAccessories}">
<link target="ListHardwareAccessories?fixedAssetId=${fixedAssetId}&amp;trail=${fixedAssetId}"/>
<link target="ListHardwareAccessories">
<parameter param-name="fixedAssetId" from-field="fixedAssetId"/>
<parameter param-name="trail" from-field="fixedAssetId"/>
</link>
</menu-item>
<menu-item name="ListInstalledSoftware" title="${uiLabelMap.IsMgrInstalledSoftware}">
<link target="ListInstalledSoftware?fixedAssetId=${fixedAssetId}"/>
@@ -27,7 +27,10 @@
<if-entity-permission entity-id="${blog.contentId}" entity-name="Content" target-operation="CONTENT_UPDATE"/>
</or>
</condition>
<link text="${uiLabelMap.CommonEdit}" target="EditBlogArticle?contentId=${blog.contentId}&amp;blogContentId=${parameters.blogContentId}" style="buttontext"/>
<link text="${uiLabelMap.CommonEdit}" target="EditBlogArticle" style="buttontext">
<parameter param-name="contentId" from-field="blog.contentId"/>
<parameter param-name="blogContentId" from-field="parameters.blogContentId"/>
</link>
</menu-item>
</menu>
</menus>
@@ -111,7 +111,10 @@
<container style="blogwrapper">
<include-menu name="view_edit" location="component://ecommerce/widget/blog/BlogMenus.xml"/>
<label text="&lt;p/&gt;"/>
<link text="${blog.contentName} [${blog.contentId}]" target="ViewBlogArticle?contentId=${blog.contentId}&amp;blogContentId=${blogContentId}" style="blogheader"/>
<link text="${blog.contentName} [${blog.contentId}]" target="ViewBlogArticle" style="blogheader">
<parameter param-name="contentId" from-field="blog.contentId"/>
<parameter param-name="blogContentId" from-field="blogContentId"/>
</link>
<!--
<link text="Latest" target="LatestResponses?ownerContentId=${blog.ownerContentId}" />
-->
@@ -131,7 +134,10 @@
<include-menu name="view_edit" location="component://ecommerce/widget/blog/BlogMenus.xml"/>
<label text="&lt;p/&gt;"/>
<!--<label text="${blog.contentName} [${blog.contentId}]" style="blogheader"/>-->
<link text="${blog.contentName} [${blog.contentId}]" target="ViewBlogArticle?contentId=${blog.contentId}&amp;blogContentId=${blogContentId}" style="blogheader"/>
<link text="${blog.contentName} [${blog.contentId}]" target="ViewBlogArticle" style="blogheader">
<parameter param-name="contentId" from-field="blog.contentId"/>
<parameter param-name="blogContentId" from-field="blogContentId"/>
</link>
<!--
<link text="Latest" target="LatestResponses?ownerContentId=${blog.ownerContentId}" />
-->
@@ -242,7 +248,10 @@
</condition>
<widgets>
<container style="rightjustify">
<link text="${uiLabelMap.CommonEdit}" target="EditBlogArticle?contentId=${articleContentId}&amp;blogContentId=${blogContentId}" style="buttontext"/>
<link text="${uiLabelMap.CommonEdit}" target="EditBlogArticle" style="buttontext">
<parameter param-name="contentId" from-field="articleContentId"/>
<parameter param-name="blogContentId" from-field="blogContentId"/>
</link>
</container>
</widgets>
</section>
@@ -295,7 +304,10 @@
<label text="&lt;p/&gt;"/>
<container style="bloghr">
<container style="leftjustify">
<link text="${article.contentName}: ${article.description}" target="ViewBlogArticle?articleContentId=${articleContentId}&amp;blogContentId=${blogContentId}" style="blogtitle"/>
<link text="${article.contentName}: ${article.description}" target="ViewBlogArticle" style="blogtitle">
<parameter param-name="articleContentId" from-field="articleContentId"/>
<parameter param-name="blogContentId" from-field="blogContentId"/>
</link>
<label text=" --&gt; ${content.contentName}: ${content.description}" style="blogtitle"/>
</container>
<section>
+10 -2
View File
@@ -225,7 +225,11 @@ under the License.
<if-has-permission permission="PARTYMGR_CME-NOTE_CREATE"/>
</and>
</condition>
<link target="NewCommunicationEvents?communicationEventTypeId=EMAIL_COMMUNICATION&amp;parentCommEventId=${parameters.communicationEventId}&amp;donePage=${parameters.donePage}"/>
<link target="NewCommunicationEvents">
<parameter param-name="communicationEventTypeId" value="EMAIL_COMMUNICATION"/>
<parameter param-name="parentCommEventId" from-field="parameters.communicationEventId"/>
<parameter param-name="donePage" from-field="parameters.donePage"/>
</link>
</menu-item>
<menu-item name="forward" title="${uiLabelMap.PartyForward}">
<condition>
@@ -237,7 +241,11 @@ under the License.
<if-has-permission permission="PARTYMGR_CME-NOTE_CREATE"/>
</and>
</condition>
<link target="NewCommunicationEvents?communicationEventTypeId=EMAIL_COMMUNICATION&amp;originalCommEventId=${parameters.communicationEventId}&amp;donePage=${parameters.donePage}"/>
<link target="NewCommunicationEvents">
<parameter param-name="communicationEventTypeId" value="EMAIL_COMMUNICATION"/>
<parameter param-name="parentCommEventId" from-field="parameters.communicationEventId"/>
<parameter param-name="donePage" from-field="parameters.donePage"/>
</link>
</menu-item>
<menu-item name="createRequestFromCommEvent" title="${uiLabelMap.PartyCreateRequestFromCommEvent}">
<condition>
@@ -796,8 +796,14 @@ under the License.
<section>
<widgets>
<container>
<link style="smallSubmit" target="EditCommunicationEvent?partyId=${partyId}&amp;partyIdFrom=${partyId}" text="${uiLabelMap.PartyNewCommunication}"/>
<link style="smallSubmit" target="EditCommunicationEvent?partyId=${partyId}&amp;parentCommEventId=${communicationEventId}" text="${uiLabelMap.PartyReply}"/>
<link style="smallSubmit" target="EditCommunicationEvent" text="${uiLabelMap.PartyNewCommunication}">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="partyIdFrom" from-field="partyId"/>
</link>
<link style="smallSubmit" target="EditCommunicationEvent" text="${uiLabelMap.PartyReply}">
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="parentCommEventId" from-field="communicationEventId"/>
</link>
<!--<link style="smallSubmit" target="EditCommunicationEvent">
<parameter param-name="communicationEventTypeId" from-field="communicationEvent.communicationEventTypeId"/>
<parameter param-name="contactMechIdTo" from-field="communicationEvent.contactMechIdFrom"/>