Author: jleroux
Date: Wed Apr 1 06:16:07 2009 New Revision: 760789 URL: http://svn.apache.org/viewvc?rev=760789&view=rev Log: Securing URLs, link element in screens and menus : 11th set + tabs to 4 spaces Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml ofbiz/trunk/applications/content/webapp/content/cms/CMSMenus.xml ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml ofbiz/trunk/applications/content/widget/content/ContentMenus.xml ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml ofbiz/trunk/applications/product/widget/facility/Menus.xml ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/Menus.xml ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogMenus.xml ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/Menus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/Menus.xml (original) +++ ofbiz/trunk/applications/accounting/widget/Menus.xml Wed Apr 1 06:16:07 2009 @@ -148,7 +148,10 @@ <if-compare-field field="invoice.currencyUomId" operator="not-equals" to-field="defaultOrganizationPartyCurrencyUomId"/> </and> </condition> - <link target="invoice.pdf?invoiceId=${invoice.invoiceId}&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 @@ </or> </and> </condition> - <link target="copyInvoiceToTemplate?invoiceId=${invoice.invoiceId}&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 @@ <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}&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 @@ </link> </menu-item> <menu-item name="EditFixedAssetMaintOrders" title="${uiLabelMap.AccountingFixedAssetMaintOrders}"> - <link target="EditFixedAssetMaintOrders?fixedAssetId=${fixedAssetMaint.fixedAssetId}&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 @@ <link target="EditFixedAsset?fixedAssetId=${fixedAssetId}"/> </menu-item> <menu-item name="FixedAssetChildren" title="${uiLabelMap.CommonEntityChildren}"> - <link target="FixedAssetChildren?fixedAssetId=${fixedAssetId}&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 @@ <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}&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}&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}&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}&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}&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}&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}&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> Modified: ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml (original) +++ ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml Wed Apr 1 06:16:07 2009 @@ -23,23 +23,41 @@ default-menu-item-name="EditTaxAuthority"> <menu-item name="EditTaxAuthority" title="${uiLabelMap.AccountingTaxAuthority}"> - <link target="EditTaxAuthority?taxAuthPartyId=${taxAuthPartyId}&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}&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}&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}&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}&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}&taxAuthGeoId=${taxAuthGeoId}"/> + <link target="ListTaxAuthorityParties"> + <parameter param-name="taxAuthPartyId" from-field="taxAuthPartyId"/> + <parameter param-name="taxAuthGeoId" from-field="taxAuthGeoId"/> + </link> </menu-item> </menu> </menus> Modified: ofbiz/trunk/applications/content/webapp/content/cms/CMSMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/cms/CMSMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/cms/CMSMenus.xml (original) +++ ofbiz/trunk/applications/content/webapp/content/cms/CMSMenus.xml Wed Apr 1 06:16:07 2009 @@ -55,7 +55,10 @@ </link> </menu-item> <menu-item name="contentedit" title="${uiLabelMap.CommonEdit}" > - <link id="CMSContentEdit" target="CMSContentEdit?contentId=${content.currentValue.contentId}&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"> Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml Wed Apr 1 06:16:07 2009 @@ -41,7 +41,10 @@ <if-compare value="TEMPLATE" field="contentTypeId" operator="equals"></if-compare> </or> </condition> - <link target="ViewCompDocTemplateTree?rootContentId=${rootContentId}&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 @@ <if-compare value="DOCUMENT" field="contentTypeId" operator="equals"></if-compare> </or> </condition> - <link target="ViewCompDocInstanceTree?rootContentId=${rootContentId}&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}&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}&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}&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 @@ <if-compare value="TEMPLATE" field="contentTypeId" operator="equals"></if-compare> </or> </condition> - <link target="ViewCompDocTemplateTree?rootContentId=${rootContentId}&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 @@ <if-compare value="DOCUMENT" field="contentTypeId" operator="equals"></if-compare> </or> </condition> - <link target="ViewCompDocInstanceTree?rootContentId=${rootContentId}&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 @@ <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}&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}&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 @@ </menu-item> <!-- on page <menu-item name="viewinst" title="View Instances"> - <link target="ViewInstances?rootContentId=${rootContentId}&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}&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 @@ <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}&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}&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}&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> Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml Wed Apr 1 06:16:07 2009 @@ -543,7 +543,10 @@ <parameter param-name="contentId" from-field="rootContentId"/> <parameter param-name="contentRevisionSeqId" from-field="rootContentRevisionSeqId"/> </link> - <link target="ViewInstances?rootContentId=${rootContentId}&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 @@ </and> </condition> <widgets> - <link text="${uiLabelMap.ContentCompDocStartApprovalProcess}" target="prepForApproval?rootContentId=${rootContentId}&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> Modified: ofbiz/trunk/applications/content/widget/content/ContentMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/content/ContentMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/content/ContentMenus.xml Wed Apr 1 06:16:07 2009 @@ -171,10 +171,16 @@ <link target="blogContent?blogContentId=${parameters.blogContentId}"/> </menu-item> <menu-item name="ViewBlogArt" title="${uiLabelMap.CommonView}"> - <link target="ViewBlogArticle?articleContentId=${parameters.articleContentId}&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}&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}"/> Modified: ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml Wed Apr 1 06:16:07 2009 @@ -31,7 +31,17 @@ <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}&forumId=${parameters.forumId}"/></menu-item> - <menu-item name="messageThread" title="${uiLabelMap.FormFieldTitle_messageThread}"><link target="findForumThreads?forumGroupId=${parameters.forumGroupId}&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> Modified: ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml Wed Apr 1 06:16:07 2009 @@ -52,16 +52,28 @@ <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}&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}&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}&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}&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> Modified: ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml (original) +++ ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml Wed Apr 1 06:16:07 2009 @@ -58,16 +58,28 @@ <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}&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}&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}&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}&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> Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml Wed Apr 1 06:16:07 2009 @@ -103,7 +103,10 @@ <link target="EditPartyResumes?partyId=${partyId}"/> </menu-item> <menu-item name="EditEmploymentApps" title="${uiLabelMap.HumanResEmploymentApp}"> - <link target="EditEmploymentApps?partyId=${partyId}&&referredByPartyId=${partyId}"/> + <link target="EditEmploymentApps"> + <parameter param-name="partyId" from-field="partyId"/> + <parameter param-name="&referredByPartyId" from-field="partyId"/> + </link> </menu-item> <menu-item name="FinancialHistory" title="${uiLabelMap.PartyFinancialHistory}"> <condition> @@ -136,13 +139,19 @@ <condition> <if-has-permission permission="ORDERMGR" action="_VIEW"/> </condition> - <link target="/ordermgr/control/FindRequest?lookupFlag=Y&fromPartyId=${partyId}&externaLoginKey=${externalLoginKey}" url-mode="inter-app"/> + <link target="/ordermgr/control/FindRequest" url-mode="inter-app"> + <parameter param-name="lookupFlag=Y&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}&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 @@ <condition> <if-has-permission permission="ORDERMGR" action="_CREATE"/> </condition> - <link target="/ordermgr/control/EditQuote?partyId=${partyId}&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}&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 @@ <if-has-permission permission="ORDERMGR_CRQ_CREATE"/> </and> </condition> - <link target="editRequestFromCommEvent?communicationEventId=${communicationEvent.communicationEventId}&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 @@ </menu-item> <!-- TODO! <menu-item name="ListCommCustRequests" title="CustRequests"> - <link target="ListCommCustRequests?partyId=${partyId}&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 @@ <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}&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}&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}&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> Modified: ofbiz/trunk/applications/product/widget/facility/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/Menus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/facility/Menus.xml (original) +++ ofbiz/trunk/applications/product/widget/facility/Menus.xml Wed Apr 1 06:16:07 2009 @@ -118,13 +118,22 @@ <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}&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}&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}&facilityId=${facilityId}"/> + <link target="EditInventoryItemLabels"> + <parameter param-name="inventoryItemId" from-field="inventoryItemId"/> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> </menu> </menus> Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml Wed Apr 1 06:16:07 2009 @@ -39,7 +39,10 @@ <link target="EditWorkEffort?workEffortId=${workEffortId}"/> </menu-item> <menu-item name="WorkEffortAssocs" title="${uiLabelMap.CommonEntityChildren}"> - <link target="ChildWorkEfforts?workEffortId=${workEffortId}&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}"/> Modified: ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml Wed Apr 1 06:16:07 2009 @@ -26,7 +26,12 @@ <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}&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" Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml (original) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml Wed Apr 1 06:16:07 2009 @@ -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}&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}&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> Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/Menus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/Menus.xml (original) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/Menus.xml Wed Apr 1 06:16:07 2009 @@ -55,7 +55,10 @@ <link target="EditComputerHardware?fixedAssetId=${fixedAssetId}"/> </menu-item> <menu-item name="ListHardwareAccessories" title="${uiLabelMap.IsMgrHardwareAccessories}"> - <link target="ListHardwareAccessories?fixedAssetId=${fixedAssetId}&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}"/> Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogMenus.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogMenus.xml Wed Apr 1 06:16:07 2009 @@ -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}&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> Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml Wed Apr 1 06:16:07 2009 @@ -111,7 +111,10 @@ <container style="blogwrapper"> <include-menu name="view_edit" location="component://ecommerce/widget/blog/BlogMenus.xml"/> <label text="<p/>"/> - <link text="${blog.contentName} [${blog.contentId}]" target="ViewBlogArticle?contentId=${blog.contentId}&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="<p/>"/> <!--<label text="${blog.contentName} [${blog.contentId}]" style="blogheader"/>--> - <link text="${blog.contentName} [${blog.contentId}]" target="ViewBlogArticle?contentId=${blog.contentId}&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}&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="<p/>"/> <container style="bloghr"> <container style="leftjustify"> - <link text="${article.contentName}: ${article.description}" target="ViewBlogArticle?articleContentId=${articleContentId}&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=" --> ${content.contentName}: ${content.description}" style="blogtitle"/> </container> <section> Modified: ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml (original) +++ ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml Wed Apr 1 06:16:07 2009 @@ -225,7 +225,11 @@ <if-has-permission permission="PARTYMGR_CME-NOTE_CREATE"/> </and> </condition> - <link target="NewCommunicationEvents?communicationEventTypeId=EMAIL_COMMUNICATION&parentCommEventId=${parameters.communicationEventId}&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 @@ <if-has-permission permission="PARTYMGR_CME-NOTE_CREATE"/> </and> </condition> - <link target="NewCommunicationEvents?communicationEventTypeId=EMAIL_COMMUNICATION&originalCommEventId=${parameters.communicationEventId}&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> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml?rev=760789&r1=760788&r2=760789&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml Wed Apr 1 06:16:07 2009 @@ -796,8 +796,14 @@ <section> <widgets> <container> - <link style="smallSubmit" target="EditCommunicationEvent?partyId=${partyId}&partyIdFrom=${partyId}" text="${uiLabelMap.PartyNewCommunication}"/> - <link style="smallSubmit" target="EditCommunicationEvent?partyId=${partyId}&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"/> |
Free forum by Nabble | Edit this page |