Modified: ofbiz/trunk/applications/product/widget/catalog/Menus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/Menus.xml?rev=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/Menus.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/Menus.xml Thu Apr 2 10:27:18 2009 @@ -59,159 +59,253 @@ <menu name="CategoryTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="EditCategory" title="${uiLabelMap.ProductCategory}"> - <link target="EditCategory?productCategoryId=${productCategoryId}"/> + <link target="EditCategory"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </link> </menu-item> <menu-item name="EditCategoryContent" title="${uiLabelMap.ProductCategoryContent}"> - <link target="EditCategoryContent?productCategoryId=${productCategoryId}"/> + <link target="EditCategoryContent"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </link> </menu-item> <menu-item name="EditCategoryRollup" title="${uiLabelMap.ProductRollup}"> - <link target="EditCategoryRollup?showProductCategoryId=${productCategoryId}"/> + <link target="EditCategoryRollup"> + <parameter param-name="showProductCategoryId" from-field="productCategoryId"/> + </link> </menu-item> <menu-item name="EditCategoryProducts" title="${uiLabelMap.ProductProducts}"> - <link target="EditCategoryProducts?productCategoryId=${productCategoryId}"/> + <link target="EditCategoryProducts"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </link> </menu-item> <menu-item name="EditCategoryProdCatalogs" title="${uiLabelMap.ProductCatalogs}"> - <link target="EditCategoryProdCatalogs?productCategoryId=${productCategoryId}"/> + <link target="EditCategoryProdCatalogs"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </link> </menu-item> <menu-item name="EditCategoryFeatureCats" title="${uiLabelMap.ProductFeatureCats}"> - <link target="EditCategoryFeatureCats?productCategoryId=${productCategoryId}"/> + <link target="EditCategoryFeatureCats"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </link> </menu-item> <menu-item name="EditCategoryParties" title="${uiLabelMap.PartyParties}"> - <link target="EditCategoryParties?productCategoryId=${productCategoryId}"/> + <link target="EditCategoryParties"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </link> </menu-item> <menu-item name="EditCategoryAttributes" title="${uiLabelMap.ProductAttributes}"> - <link target="EditCategoryAttributes?productCategoryId=${productCategoryId}"/> + <link target="EditCategoryAttributes"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </link> </menu-item> <menu-item name="EditProductCategoryLinks" title="${uiLabelMap.ProductCategoryLinks}"> - <link target="EditProductCategoryLinks?productCategoryId=${productCategoryId}"/> + <link target="EditProductCategoryLinks"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </link> </menu-item> </menu> <menu name="ProductStoreTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="EditProductStore" title="${uiLabelMap.ProductStore}"> - <link target="EditProductStore?productStoreId=${productStoreId}"/> + <link target="EditProductStore"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreRoles" title="${uiLabelMap.PartyRoles}"> - <link target="EditProductStoreRoles?productStoreId=${productStoreId}"/> + <link target="EditProductStoreRoles"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStorePromos" title="${uiLabelMap.ProductPromos}"> - <link target="EditProductStorePromos?productStoreId=${productStoreId}"/> + <link target="EditProductStorePromos"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreCatalogs" title="${uiLabelMap.ProductCatalogs}"> - <link target="EditProductStoreCatalogs?productStoreId=${productStoreId}"/> + <link target="EditProductStoreCatalogs"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreWebSites" title="${uiLabelMap.ProductWebSites}"> - <link target="EditProductStoreWebSites?viewProductStoreId=${productStoreId}"/> + <link target="EditProductStoreWebSites"> + <parameter param-name="viewProductStoreId" from-field="productStoreId"/> + </link> </menu-item> <!-- The tax stuff is in the Tax Authority area of the accounting manager, need to re-do this screen to list current tax entries and link to the accmgr screens <menu-item name="EditProductStoreTaxSetup" title="${uiLabelMap.ProductSalesTax}"> - <link target="EditProductStoreTaxSetup?productStoreId=${productStoreId}"/> + <link target="EditProductStoreTaxSetup"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> --> <menu-item name="EditProductStoreShipSetup" title="${uiLabelMap.ProductShipping}"> - <link target="EditProductStoreShipSetup?productStoreId=${productStoreId}"/> + <link target="EditProductStoreShipSetup"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreShipmentCostEstimates" title="${uiLabelMap.ProductViewEstimates}"> - <link target="EditProductStoreShipmentCostEstimates?productStoreId=${productStoreId}"/> + <link target="EditProductStoreShipmentCostEstimates"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStorePaySetup" title="${uiLabelMap.CommonPayments}"> - <link target="EditProductStorePaySetup?productStoreId=${productStoreId}"/> + <link target="EditProductStorePaySetup"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreFinAccountSettings" title="${uiLabelMap.CommonFinAccounts}"> - <link target="EditProductStoreFinAccountSettings?productStoreId=${productStoreId}"/> + <link target="EditProductStoreFinAccountSettings"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreEmails" title="${uiLabelMap.CommonEmails}"> - <link target="EditProductStoreEmails?productStoreId=${productStoreId}"/> + <link target="EditProductStoreEmails"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreSurveys" title="${uiLabelMap.CommonSurveys}"> - <link target="EditProductStoreSurveys?productStoreId=${productStoreId}"/> + <link target="EditProductStoreSurveys"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreKeywordOvrd" title="${uiLabelMap.ProductOverride}"> - <link target="editProductStoreKeywordOvrd?productStoreId=${productStoreId}"/> + <link target="editProductStoreKeywordOvrd"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="ViewProductStoreSegments" title="${uiLabelMap.ProductSegments}"> - <link target="ViewProductStoreSegments?productStoreId=${productStoreId}"/> + <link target="ViewProductStoreSegments"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreVendorPayments" title="${uiLabelMap.ProductVendorPayments}"> - <link target="EditProductStoreVendorPayments?productStoreId=${productStoreId}"/> + <link target="EditProductStoreVendorPayments"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> <menu-item name="EditProductStoreVendorShipments" title="${uiLabelMap.ProductVendorShipments}"> - <link target="EditProductStoreVendorShipments?productStoreId=${productStoreId}"/> + <link target="EditProductStoreVendorShipments"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + </link> </menu-item> </menu> <menu name="CatalogTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="ProductCatalog" title="${uiLabelMap.ProductCatalog}"> - <link target="EditProdCatalog?prodCatalogId=${prodCatalogId}"/> + <link target="EditProdCatalog"> + <parameter param-name="prodCatalogId" from-field="prodCatalogId"/> + </link> </menu-item> <menu-item name="ProductStores" title="${uiLabelMap.ProductStores}"> - <link target="EditProdCatalogStores?prodCatalogId=${prodCatalogId}"/> + <link target="EditProdCatalogStores"> + <parameter param-name="prodCatalogId" from-field="prodCatalogId"/> + </link> </menu-item> <menu-item name="PartyParties" title="${uiLabelMap.PartyParties}"> - <link target="EditProdCatalogParties?prodCatalogId=${prodCatalogId}"/> + <link target="EditProdCatalogParties"> + <parameter param-name="prodCatalogId" from-field="prodCatalogId"/> + </link> </menu-item> <menu-item name="ProductCategories" title="${uiLabelMap.ProductCategories}"> - <link target="EditProdCatalogCategories?prodCatalogId=${prodCatalogId}"/> + <link target="EditProdCatalogCategories"> + <parameter param-name="prodCatalogId" from-field="prodCatalogId"/> + </link> </menu-item> </menu> <menu name="PromoTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="EditProductPromo" title="${uiLabelMap.ProductPromotion}"> - <link target="EditProductPromo?productPromoId=${productPromoId}"/> + <link target="EditProductPromo"> + <parameter param-name="productPromoId" from-field="productPromoId"/> + </link> </menu-item> <menu-item name="EditProductPromoRules" title="${uiLabelMap.ProductRules}"> - <link target="EditProductPromoRules?productPromoId=${productPromoId}"/> + <link target="EditProductPromoRules"> + <parameter param-name="productPromoId" from-field="productPromoId"/> + </link> </menu-item> <menu-item name="EditProductPromoStores" title="${uiLabelMap.ProductStores}"> - <link target="EditProductPromoStores?productPromoId=${productPromoId}"/> + <link target="EditProductPromoStores"> + <parameter param-name="productPromoId" from-field="productPromoId"/> + </link> </menu-item> <menu-item name="FindProductPromoCode" title="${uiLabelMap.ProductPromotionCode}"> - <link target="FindProductPromoCode?productPromoId=${productPromoId}"/> + <link target="FindProductPromoCode"> + <parameter param-name="productPromoId" from-field="productPromoId"/> + </link> </menu-item> </menu> <menu name="ProductTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="EditProduct" title="${uiLabelMap.ProductProduct}"> - <link target="EditProduct?productId=${productId}"/> + <link target="EditProduct"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductPrices" title="${uiLabelMap.ProductPrices}"> - <link target="EditProductPrices?productId=${productId}"/> + <link target="EditProductPrices"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductContent" title="${uiLabelMap.ProductContent}"> - <link target="EditProductContent?productId=${productId}"/> + <link target="EditProductContent"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductGeos" title="${uiLabelMap.CommonGeos}"> - <link target="EditProductGeos?productId=${productId}"/> + <link target="EditProductGeos"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductGoodIdentifications" title="${uiLabelMap.CommonIds}"> - <link target="EditProductGoodIdentifications?productId=${productId}"/> + <link target="EditProductGoodIdentifications"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductCategories" title="${uiLabelMap.ProductCategories}"> - <link target="EditProductCategories?productId=${productId}"/> + <link target="EditProductCategories"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductKeyword" title="${uiLabelMap.ProductKeywords}"> - <link target="EditProductKeyword?productId=${productId}"/> + <link target="EditProductKeyword"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductAssoc" title="${uiLabelMap.ProductAssociations}"> - <link target="EditProductAssoc?productId=${productId}"/> + <link target="EditProductAssoc"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="ViewProductManufacturing" title="${uiLabelMap.ProductManufacturing}"> - <link target="ViewProductManufacturing?productId=${productId}"/> + <link target="ViewProductManufacturing"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductCosts" title="${uiLabelMap.ProductCosts}"> - <link target="EditProductCosts?productId=${productId}"/> + <link target="EditProductCosts"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductAttributes" title="${uiLabelMap.ProductAttributes}"> - <link target="EditProductAttributes?productId=${productId}"/> + <link target="EditProductAttributes"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductFeatures" title="${uiLabelMap.ProductFeatures}"> - <link target="EditProductFeatures?productId=${productId}"/> + <link target="EditProductFeatures"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductFacilities" title="${uiLabelMap.ProductFacilities}"> - <link target="EditProductFacilities?productId=${productId}"/> + <link target="EditProductFacilities"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductFacilityLocations" title="${uiLabelMap.ProductLocations}"> - <link target="EditProductFacilityLocations?productId=${productId}"/> + <link target="EditProductFacilityLocations"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductInventoryItems" title="${uiLabelMap.ProductInventory}"> <link target="EditProductInventoryItems"> @@ -220,70 +314,106 @@ </link> </menu-item> <menu-item name="EditSupplierProduct" title="${uiLabelMap.ProductSuppliers}"> - <link target="EditProductSuppliers?productId=${productId}"/> + <link target="EditProductSuppliers"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="ViewProductAgreements" title="${uiLabelMap.ProductAgreements}"> - <link target="ViewProductAgreements?productId=${productId}"/> + <link target="ViewProductAgreements"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductGlAccounts" title="${uiLabelMap.ProductAccounts}"> - <link target="EditProductGlAccounts?productId=${productId}"/> + <link target="EditProductGlAccounts"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductPaymentMethodTypes" title="${uiLabelMap.ProductPaymentTypes}"> - <link target="EditProductPaymentMethodTypes?productId=${productId}"/> + <link target="EditProductPaymentMethodTypes"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductMaints" title="${uiLabelMap.ProductMaintenance}"> - <link target="EditProductMaints?productId=${productId}"/> + <link target="EditProductMaints"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductMeters" title="${uiLabelMap.ProductMeters}"> - <link target="EditProductMeters?productId=${productId}"/> + <link target="EditProductMeters"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductSubscriptionResources" title="${uiLabelMap.ProductSubscriptionResources}"> - <link target="EditProductSubscriptionResources?productId=${productId}"/> + <link target="EditProductSubscriptionResources"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductQuickAdmin" title="${uiLabelMap.ProductQuickAdmin}"> - <link target="EditProductQuickAdmin?productId=${productId}"/> + <link target="EditProductQuickAdmin"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditVendorProduct" title="${uiLabelMap.PartyVendor}"> - <link target="EditVendorProduct?productId=${productId}"/> + <link target="EditVendorProduct"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="QuickAddVariants" title="${uiLabelMap.ProductVariants}"> <condition> <if-compare field="product.isVirtual" operator="equals" value="Y"/> </condition> - <link target="QuickAddVariants?productId=${productId}"/> + <link target="QuickAddVariants"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductConfigs" title="${uiLabelMap.ProductConfigs}"> <condition> <if-compare field="product.productTypeId" operator="equals" value="AGGREGATED"/> </condition> - <link target="EditProductConfigs?productId=${productId}"/> + <link target="EditProductConfigs"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductAssetUsage" title="${uiLabelMap.ProductAssetUsage}"> <condition> <if-compare field="product.productTypeId" operator="equals" value="ASSET_USAGE"/> </condition> - <link target="EditProductAssetUsage?productId=${productId}"/> + <link target="EditProductAssetUsage"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductWorkEfforts" title="${uiLabelMap.WorkEffortWorkEffort}"> - <link target="EditProductWorkEfforts?productId=${productId}"/> + <link target="EditProductWorkEfforts"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> <menu-item name="EditProductParties" title="${uiLabelMap.PartyParties}"> - <link target="EditProductParties?productId=${productId}"/> + <link target="EditProductParties"> + <parameter param-name="productId" from-field="productId"/> + </link> </menu-item> </menu> <menu name="ConfigItemTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="EditProductConfigItem" title="${uiLabelMap.ProductConfigItem}"> - <link target="EditProductConfigItem?configItemId=${configItemId}"/> + <link target="EditProductConfigItem"> + <parameter param-name="configItemId" from-field="configItemId"/> + </link> </menu-item> <menu-item name="EditProductConfigOptions" title="${uiLabelMap.ProductConfigOptions}"> - <link target="EditProductConfigOptions?configItemId=${configItemId}"/> + <link target="EditProductConfigOptions"> + <parameter param-name="configItemId" from-field="configItemId"/> + </link> </menu-item> <menu-item name="EditProductConfigItemContent" title="${uiLabelMap.ProductContent}"> - <link target="EditProductConfigItemContent?configItemId=${configItemId}"/> + <link target="EditProductConfigItemContent"> + <parameter param-name="configItemId" from-field="configItemId"/> + </link> </menu-item> <menu-item name="ProductConfigItemArticle" title="${uiLabelMap.ProductProduct}"> - <link target="ProductConfigItemArticle?configItemId=${configItemId}"/> + <link target="ProductConfigItemArticle"> + <parameter param-name="configItemId" from-field="configItemId"/> + </link> </menu-item> </menu> </menus> \ No newline at end of file Modified: ofbiz/trunk/applications/product/widget/catalog/SubscriptionMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/SubscriptionMenus.xml?rev=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/SubscriptionMenus.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/SubscriptionMenus.xml Thu Apr 2 10:27:18 2009 @@ -23,23 +23,33 @@ <menu name="EditSubscription" default-selected-style="selected" type="simple" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="EditSubscription" title="${uiLabelMap.ProductSubscription}"> - <link target="EditSubscription?subscriptionId=${subscriptionId}"/> + <link target="EditSubscription"> + <parameter param-name="subscriptionId" from-field="subscriptionId"/> + </link> </menu-item> <menu-item name="EditSubscriptionAttributes" title="${uiLabelMap.ProductSubscriptionAttributes}"> - <link target="EditSubscriptionAttributes?subscriptionId=${subscriptionId}"/> + <link target="EditSubscriptionAttributes"> + <parameter param-name="subscriptionId" from-field="subscriptionId"/> + </link> </menu-item> <menu-item name="EditSubscriptionCommEvent" title="${uiLabelMap.ProductSubscriptionCommEvent}"> - <link target="EditSubscriptionCommEvent?subscriptionId=${subscriptionId}"/> + <link target="EditSubscriptionCommEvent"> + <parameter param-name="subscriptionId" from-field="subscriptionId"/> + </link> </menu-item> </menu> <menu name="EditSubscriptionResource" default-selected-style="selected" type="simple" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="EditSubscriptionResource" title="${uiLabelMap.ProductSubscriptionResource}"> - <link target="EditSubscriptionResource?subscriptionResourceId=${subscriptionResourceId}"/> + <link target="EditSubscriptionResource"> + <parameter param-name="subscriptionResourceId" from-field="subscriptionResourceId"/> + </link> </menu-item> <menu-item name="EditSubscriptionResourceProducts" title="${uiLabelMap.ProductProducts}"> - <link target="EditSubscriptionResourceProducts?subscriptionResourceId=${subscriptionResourceId}"/> + <link target="EditSubscriptionResourceProducts"> + <parameter param-name="subscriptionResourceId" from-field="subscriptionResourceId"/> + </link> </menu-item> </menu> </menus> Modified: ofbiz/trunk/applications/product/widget/facility/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/Menus.xml?rev=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/facility/Menus.xml (original) +++ ofbiz/trunk/applications/product/widget/facility/Menus.xml Thu Apr 2 10:27:18 2009 @@ -30,65 +30,103 @@ <condition> <not><if-empty field="facilityId"/></not> </condition> - <link target="InventoryReports?facilityId=${facilityId}"/> + <link target="InventoryReports"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> </menu> <menu name="FacilityTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" default-menu-item-name="EditFacility"> <menu-item name="EditFacility" title="${uiLabelMap.ProductFacility}"> - <link target="EditFacility?facilityId=${facilityId}"/> + <link target="EditFacility"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="FacilityChildren" title="${uiLabelMap.CommonEntityChildren}"> - <link target="FacilityChildren?facilityId=${facilityId}"/> + <link target="FacilityChildren"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="ViewContactMechs" title="${uiLabelMap.PartyContactMechs}"> - <link target="ViewContactMechs?facilityId=${facilityId}"/> + <link target="ViewContactMechs"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="EditFacilityGroups" title="${uiLabelMap.ProductGroups}"> - <link target="EditFacilityGroups?facilityId=${facilityId}"/> + <link target="EditFacilityGroups"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="FindFacilityLocation" title="${uiLabelMap.ProductLocations}"> - <link target="FindFacilityLocation?facilityId=${facilityId}"/> + <link target="FindFacilityLocation"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="EditFacilityParties" title="${uiLabelMap.PartyRoles}"> - <link target="EditFacilityParties?facilityId=${facilityId}"/> + <link target="EditFacilityParties"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="ViewFacilityInventoryByProduct" title="${uiLabelMap.ProductInventory}"> - <link target="ViewFacilityInventoryByProduct?facilityId=${facilityId}"/> + <link target="ViewFacilityInventoryByProduct"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="EditFacilityInventoryItems" title="${uiLabelMap.ProductInventoryItems}"> - <link target="EditFacilityInventoryItems?facilityId=${facilityId}"/> + <link target="EditFacilityInventoryItems"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="ViewFacilityInventoryItemsDetails" title="${uiLabelMap.ProductInventoryItemsDetails}"> - <link target="ViewFacilityInventoryItemsDetails?facilityId=${facilityId}"/> + <link target="ViewFacilityInventoryItemsDetails"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="ReceiveInventory" title="${uiLabelMap.ProductInventoryReceive}"> - <link target="ReceiveInventory?facilityId=${facilityId}"/> + <link target="ReceiveInventory"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="PhysicalInventory" title="${uiLabelMap.ProductPhysicalInventory}"> - <link target="FindFacilityPhysicalInventory?facilityId=${facilityId}"/> + <link target="FindFacilityPhysicalInventory"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="FindFacilityTransfers" title="${uiLabelMap.ProductInventoryXfers}"> - <link target="FindFacilityTransfers?facilityId=${facilityId}"/> + <link target="FindFacilityTransfers"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="ReceiveReturn" title="${uiLabelMap.ProductReceiveReturn}"> - <link target="ReceiveReturn?facilityId=${facilityId}"/> + <link target="ReceiveReturn"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="PicklistOptions" title="${uiLabelMap.ProductPicking}"> - <link target="PicklistOptions?facilityId=${facilityId}"/> + <link target="PicklistOptions"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="PickMoveStock" title="${uiLabelMap.ProductStockMoves}"> - <link target="PickMoveStock?facilityId=${facilityId}"/> + <link target="PickMoveStock"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="PicklistManage" title="${uiLabelMap.ProductPicklistManage}"> - <link target="PicklistManage?facilityId=${facilityId}"/> + <link target="PicklistManage"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="PackOrder" title="${uiLabelMap.ProductPacking}"> - <link target="PackOrder?facilityId=${facilityId}"/> + <link target="PackOrder"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="Scheduling" title="${uiLabelMap.ProductScheduling}"> - <link target="Scheduling?facilityId=${facilityId}"/> + <link target="Scheduling"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="FindShipmentIn" title="${uiLabelMap.ProductIncomingShipments}"> <link target="FindShipment"> @@ -115,10 +153,14 @@ <menu name="InventoryItemLabelTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" default-menu-item-name="EditInventoryItemLabel" selected-menuitem-context-field-name="subTabButtonItem"> <menu-item name="EditInventoryItemLabel" title="${uiLabelMap.ProductInventoryItemLabel}"> - <link target="EditInventoryItemLabel?inventoryItemLabelId=${inventoryItemLabelId}"/> + <link target="EditInventoryItemLabel"> + <parameter param-name="inventoryItemLabelId" from-field="inventoryItemLabelId"/> + </link> </menu-item> <menu-item name="EditInventoryItemLabelAppls" title="${uiLabelMap.ProductInventoryItemLabelAppl}"> - <link target="EditInventoryItemLabelAppls?inventoryItemLabelId=${inventoryItemLabelId}"/> + <link target="EditInventoryItemLabelAppls"> + <parameter param-name="inventoryItemLabelId" from-field="inventoryItemLabelId"/> + </link> </menu-item> </menu> <menu name="InventoryItemTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" Modified: ofbiz/trunk/applications/workeffort/widget/TimesheetMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/TimesheetMenus.xml?rev=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/TimesheetMenus.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/TimesheetMenus.xml Thu Apr 2 10:27:18 2009 @@ -22,13 +22,19 @@ <menu name="TimesheetTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" default-menu-item-name="Timesheet"> <menu-item name="Timesheet" title="${uiLabelMap.WorkEffortTimesheet}"> - <link target="EditTimesheet?timesheetId=${timesheetId}"/> + <link target="EditTimesheet"> + <parameter param-name="timesheetId" from-field="timesheetId"/> + </link> </menu-item> <menu-item name="TimesheetRoles" title="${uiLabelMap.PartyParties}"> - <link target="EditTimesheetRoles?timesheetId=${timesheetId}"/> + <link target="EditTimesheetRoles"> + <parameter param-name="timesheetId" from-field="timesheetId"/> + </link> </menu-item> <menu-item name="TimesheetEntries" title="${uiLabelMap.CommonEntries}"> - <link target="EditTimesheetEntries?timesheetId=${timesheetId}"/> + <link target="EditTimesheetEntries"> + <parameter param-name="timesheetId" from-field="timesheetId"/> + </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=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml Thu Apr 2 10:27:18 2009 @@ -33,10 +33,14 @@ <menu name="WorkEffortTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" default-menu-item-name="WorkEffort"> <menu-item name="WorkEffortRelatedSummary" title="${uiLabelMap.WorkEffortSummary}"> - <link target="WorkEffortSummary?workEffortId=${workEffortId}"/> + <link target="WorkEffortSummary"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffort" title="${uiLabelMap.WorkEffortWorkEffort}"> - <link target="EditWorkEffort?workEffortId=${workEffortId}"/> + <link target="EditWorkEffort"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortAssocs" title="${uiLabelMap.CommonEntityChildren}"> <link target="ChildWorkEfforts"> @@ -45,58 +49,94 @@ </link> </menu-item> <menu-item name="WorkEffortPartyAssigns" title="${uiLabelMap.WorkEffortParties}"> - <link target="ListWorkEffortPartyAssigns?workEffortId=${workEffortId}"/> + <link target="ListWorkEffortPartyAssigns"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortRates" title="${uiLabelMap.WorkEffortTimesheetRates}"> - <link target="EditWorkEffortRates?workEffortId=${workEffortId}"/> + <link target="EditWorkEffortRates"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortCommEvents" title="${uiLabelMap.WorkEffortCommEvents}"> - <link target="ListWorkEffortCommEvents?workEffortId=${workEffortId}"/> + <link target="ListWorkEffortCommEvents"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortShopLists" title="${uiLabelMap.WorkEffortShopLists}"> - <link target="ListWorkEffortShopLists?workEffortId=${workEffortId}"/> + <link target="ListWorkEffortShopLists"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortRequests" title="${uiLabelMap.WorkEffortRequests}"> - <link target="ListWorkEffortRequests?workEffortId=${workEffortId}"/> + <link target="ListWorkEffortRequests"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortRequirements" title="${uiLabelMap.WorkEffortRequirements}"> - <link target="ListWorkEffortRequirements?workEffortId=${workEffortId}"/> + <link target="ListWorkEffortRequirements"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortQuotes" title="${uiLabelMap.WorkEffortQuotes}"> - <link target="ListWorkEffortQuotes?workEffortId=${workEffortId}"/> + <link target="ListWorkEffortQuotes"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortOrderHeaders" title="${uiLabelMap.WorkEffortOrderHeaders}"> - <link target="ListWorkEffortOrderHeaders?workEffortId=${workEffortId}"/> + <link target="ListWorkEffortOrderHeaders"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortTimeEntries" title="${uiLabelMap.WorkEffortTimesheetTimeEntries}"> - <link target="EditWorkEffortTimeEntries?workEffortId=${workEffortId}"/> + <link target="EditWorkEffortTimeEntries"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortNotes" title="${uiLabelMap.WorkEffortNotes}"> - <link target="EditWorkEffortNotes?workEffortId=${workEffortId}"/> + <link target="EditWorkEffortNotes"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortContents" title="${uiLabelMap.ContentContent}"> - <link target="EditWorkEffortContents?workEffortId=${workEffortId}"/> + <link target="EditWorkEffortContents"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortGoodStandards" title="${uiLabelMap.ProductProduct}"> - <link target="EditWorkEffortGoodStandards?workEffortId=${workEffortId}"/> + <link target="EditWorkEffortGoodStandards"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortReviews" title="${uiLabelMap.WorkEffortReviews}"> - <link target="EditWorkEffortReviews?workEffortId=${workEffortId}"/> + <link target="EditWorkEffortReviews"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortKeywords" title="${uiLabelMap.WorkEffortKeywords}"> - <link target="EditWorkEffortKeywords?workEffortId=${workEffortId}"/> + <link target="EditWorkEffortKeywords"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortContactMechs" title="${uiLabelMap.WorkEffortContactMechs}"> - <link target="EditWorkEffortContactMechs?workEffortId=${workEffortId}"/> + <link target="EditWorkEffortContactMechs"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortAgreementAppls" title="${uiLabelMap.WorkEffortAgreementAppls}"> - <link target="EditAgreementWorkEffortAppls?workEffortId=${workEffortId}"/> + <link target="EditAgreementWorkEffortAppls"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortFixedAssetAssigns" title="${uiLabelMap.AccountingFixedAssets}"> - <link target="ListWorkEffortFixedAssetAssigns?workEffortId=${workEffortId}"/> + <link target="ListWorkEffortFixedAssetAssigns"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> <menu-item name="WorkEffortEventReminders" title="${uiLabelMap.WorkEffortEventReminders}"> - <link target="listWorkEffortEventReminders?workEffortId=${workEffortId}"/> + <link target="listWorkEffortEventReminders"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </link> </menu-item> </menu> </menus> Modified: ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml?rev=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml Thu Apr 2 10:27:18 2009 @@ -37,23 +37,33 @@ <menu name="EditExample" default-selected-style="selected" type="simple" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="EditExample" title="${uiLabelMap.ExampleExample}"> - <link target="EditExample?exampleId=${exampleId}"/> + <link target="EditExample"> + <parameter param-name="exampleId" from-field="exampleId"/> + </link> </menu-item> <menu-item name="EditExampleItems" title="${uiLabelMap.CommonItems}"> - <link target="EditExampleItems?exampleId=${exampleId}"/> + <link target="EditExampleItems"> + <parameter param-name="exampleId" from-field="exampleId"/> + </link> </menu-item> <menu-item name="EditExampleFeatureAppls" title="${uiLabelMap.ExampleFeatures}"> - <link target="EditExampleFeatureAppls?exampleId=${exampleId}"/> + <link target="EditExampleFeatureAppls"> + <parameter param-name="exampleId" from-field="exampleId"/> + </link> </menu-item> </menu> <menu name="EditExampleFeature" default-selected-style="selected" type="simple" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="EditExampleFeature" title="${uiLabelMap.ExampleFeature}"> - <link target="EditExampleFeature?exampleFeatureId=${exampleFeatureId}"/> + <link target="EditExampleFeature"> + <parameter param-name="exampleFeatureId" from-field="exampleFeatureId"/> + </link> </menu-item> <menu-item name="EditExampleFeatureExampleAppls" title="${uiLabelMap.ExampleExamples}"> - <link target="EditExampleFeatureExampleAppls?exampleFeatureId=${exampleFeatureId}"/> + <link target="EditExampleFeatureExampleAppls"> + <parameter param-name="exampleFeatureId" from-field="exampleFeatureId"/> + </link> </menu-item> </menu> Modified: ofbiz/trunk/framework/webtools/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/Menus.xml?rev=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/widget/Menus.xml (original) +++ ofbiz/trunk/framework/webtools/widget/Menus.xml Thu Apr 2 10:27:18 2009 @@ -93,7 +93,9 @@ <condition> <not><if-empty field="temporalExpression"/></not> </condition> - <link target="editTemporalExpression?tempExprId=${temporalExpression.tempExprId}"/> + <link target="editTemporalExpression"> + <parameter param-name="tempExprId" from-field="temporalExpression.tempExprId"/> + </link> </menu-item> </menu> Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml?rev=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml (original) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml Thu Apr 2 10:27:18 2009 @@ -71,28 +71,44 @@ <menu name="FacilityTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" default-menu-item-name="ViewFacilityInventoryByProduct"> <menu-item name="EditFacility" title="${uiLabelMap.ProductFacility}"> - <link target="EditFacility?facilityId=${facilityId}"/> + <link target="EditFacility"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="FacilityChildren" title="${uiLabelMap.CommonEntityChildren}"> - <link target="FacilityChildren?facilityId=${facilityId}"/> + <link target="FacilityChildren"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="ViewContactMechs" title="${uiLabelMap.PartyContactMechs}"> - <link target="ViewContactMechs?facilityId=${facilityId}"/> + <link target="ViewContactMechs"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="FindFacilityLocation" title="${uiLabelMap.ProductLocations}"> - <link target="FindFacilityLocation?facilityId=${facilityId}"/> + <link target="FindFacilityLocation"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="ViewFacilityInventoryByProduct" title="${uiLabelMap.ProductInventory}"> - <link target="ViewFacilityInventoryByProduct?facilityId=${facilityId}"/> + <link target="ViewFacilityInventoryByProduct"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="EditFacilityInventoryItems" title="${uiLabelMap.ProductInventoryItems}"> - <link target="EditFacilityInventoryItems?facilityId=${facilityId}"/> + <link target="EditFacilityInventoryItems"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="ReceiveInventory" title="${uiLabelMap.ProductInventoryReceive}"> - <link target="ReceiveInventory?facilityId=${facilityId}"/> + <link target="ReceiveInventory"> + <parameter param-name="facilityId" from-field="facilityId"/> + </link> </menu-item> <menu-item name="FindFacilityTransfers" title="${uiLabelMap.ProductInventoryXfers}"> - <link target="FindFacilityTransfers?facilityId=${facilityId}"/> + <link target="FindFacilityTransfers"> + <parameter param-name="facilityId" from-field="facilityId"/> + </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=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/Menus.xml (original) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/Menus.xml Thu Apr 2 10:27:18 2009 @@ -52,7 +52,9 @@ default-menu-item-name="EditComputerHardware"> <!-- Tab Bar customized for Fixed Assets of type Computer Hardware --> <menu-item name="EditComputerHardware" title="${uiLabelMap.IsMgrComputerHardware}"> - <link target="EditComputerHardware?fixedAssetId=${fixedAssetId}"/> + <link target="EditComputerHardware"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </link> </menu-item> <menu-item name="ListHardwareAccessories" title="${uiLabelMap.IsMgrHardwareAccessories}"> <link target="ListHardwareAccessories"> @@ -61,23 +63,35 @@ </link> </menu-item> <menu-item name="ListInstalledSoftware" title="${uiLabelMap.IsMgrInstalledSoftware}"> - <link target="ListInstalledSoftware?fixedAssetId=${fixedAssetId}"/> + <link target="ListInstalledSoftware"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </link> </menu-item> <!-- Will add soon <menu-item name="EditFaComputerHardwareStdCosts" title="${uiLabelMap.AccountingFixedAssetStdCosts}"> - <link target="EditFaComputerHardwareStdCosts?fixedAssetId=${fixedAssetId}"/> + <link target="EditFaComputerHardwareStdCosts"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </link> </menu-item> <menu-item name="EditFaComputerHardwareIdents" title="${uiLabelMap.AccountingFixedAssetIdents}"> - <link target="EditFaComputerHardwareIdents?fixedAssetId=${fixedAssetId}"/> + <link target="EditFaComputerHardwareIdents"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </link> </menu-item> <menu-item name="EditFaComputerHardwareRegistrations" title="${uiLabelMap.AccountingFixedAssetRegistrations}"> - <link target="EditFaComputerHardwareRegistrations?fixedAssetId=${fixedAssetId}"/> + <link target="EditFaComputerHardwareRegistrations"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </link> </menu-item> <menu-item name="ListFaComputerHardwareMaints" title="${uiLabelMap.AccountingFixedAssetMaints}"> - <link target="ListFaComputerHardwareMaints?fixedAssetId=${fixedAssetId}"/> + <link target="ListFaComputerHardwareMaints"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </link> </menu-item> <menu-item name="EditPartyFixedAssetAssignments" title="${uiLabelMap.AccountingPartyFixedAssetAssignments}"> - <link target="EditPartyFixedAssetAssignments?fixedAssetId=${fixedAssetId}"/> + <link target="EditPartyFixedAssetAssignments"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </link> </menu-item> --> </menu> Modified: ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml?rev=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml (original) +++ ofbiz/trunk/specialpurpose/mypage/widget/MyPageMenus.xml Thu Apr 2 10:27:18 2009 @@ -31,7 +31,9 @@ <condition> <not><if-empty field="userLogin"/></not> </condition> - <link target="viewprofile?partyId=${userLogin.partyId}"/> + <link target="viewprofile"> + <parameter param-name="partyId" from-field="userLogin.partyId"/> + </link> </menu-item> <menu-item name="myCommunications" title="${uiLabelMap.MyPageCommunications}"> <condition> @@ -132,7 +134,9 @@ <menu name="MyCompanyCommsMenu"> <menu-item name="newEvent" title="${uiLabelMap.WorkEffortNewEvent}"> - <link target="newEvent?donePage=${parameters.donePage}"/> + <link target="newEvent"> + <parameter param-name="donePage" from-field="parameters.donePage"/> + </link> </menu-item> </menu> <menu name="communicationsMenu"> @@ -213,7 +217,9 @@ <if-has-permission permission="PARTYMGR_CME-EMAIL_CREATE"/> </and> </condition> - <link target="EditCommunicationEvent?donePage=${parameters.donePage}"/> + <link target="EditCommunicationEvent"> + <parameter param-name="donePage" from-field="parameters.donePage"/> + </link> </menu-item> <menu-item name="newEmail" title="${uiLabelMap.PartyNewEmail}"> <condition> @@ -230,7 +236,9 @@ <condition> <if-has-permission permission="PARTYMGR_CME-NOTE_CREATE"/> </condition> - <link target="EditCommunicationEvent?communicationEventTypeId=COMMENT_NOTE&donePage=${parameters.donePage}"/> + <link target="EditCommunicationEvent"> + <parameter param-name="communicationEventTypeId=COMMENT_NOTE&donePage" from-field="parameters.donePage"/> + </link> </menu-item> <menu-item name="reply" title="${uiLabelMap.PartyReply}"> <condition> @@ -272,7 +280,9 @@ <if-has-permission permission="ORDERMGR_CRQ_CREATE"/> </and> </condition> - <link target="editRequestFromCommEvent?communicationEventId=${parameters.communicationEventId}"/> + <link target="editRequestFromCommEvent"> + <parameter param-name="communicationEventId" from-field="parameters.communicationEventId"/> + </link> </menu-item> <menu-item name="close" title="${uiLabelMap.CommonClose}"> <condition> @@ -318,10 +328,14 @@ </menu> <menu name="RequestTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="ViewRequest" title="${uiLabelMap.OrderRequestOverview}" > - <link target="ViewRequest?custRequestId=${custRequest.custRequestId}"/> + <link target="ViewRequest"> + <parameter param-name="custRequestId" from-field="custRequest.custRequestId"/> + </link> </menu-item> <menu-item name="custRequestContent" title="${uiLabelMap.ContentContent}"> - <link target="EditCustRequestContent?custRequestId=${custRequest.custRequestId}"/> + <link target="EditCustRequestContent"> + <parameter param-name="custRequestId" from-field="custRequest.custRequestId"/> + </link> </menu-item> </menu> <menu name="RequestSubTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" @@ -347,7 +361,9 @@ <if-compare field="custRequest.statusId" operator="not-equals" value="CRQ_COMPLETED"/> </and> </condition> - <link target="EditCustRequestContent?custRequestId=${custRequest.custRequestId}"/> + <link target="EditCustRequestContent"> + <parameter param-name="custRequestId" from-field="custRequest.custRequestId"/> + </link> </menu-item> </menu> </menus> \ No newline at end of file Modified: ofbiz/trunk/specialpurpose/myportal/widget/MyPortalMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/MyPortalMenus.xml?rev=761238&r1=761237&r2=761238&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/myportal/widget/MyPortalMenus.xml (original) +++ ofbiz/trunk/specialpurpose/myportal/widget/MyPortalMenus.xml Thu Apr 2 10:27:18 2009 @@ -24,12 +24,16 @@ extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="main" parent-portal-page-value="${parameters.parentPortalPageId}"/> <menu-item name="Preferences" title="${uiLabelMap.CommonPreferences}" align-style="opposed"> - <link target="ManagePortalPages?parentPortalPageId=${parameters.parentPortalPageId}"/> + <link target="ManagePortalPages"> + <parameter param-name="parentPortalPageId" from-field="parameters.parentPortalPageId"/> + </link> </menu-item> </menu> <menu name="MyCompanyCommsMenu"> <menu-item name="newEvent" title="${uiLabelMap.WorkEffortNewEvent}"> - <link target="newEvent?portalPageId=${parameters.portalPageId}"/> + <link target="newEvent"> + <parameter param-name="portalPageId" from-field="parameters.portalPageId"/> + </link> </menu-item> </menu> @@ -66,10 +70,14 @@ </menu> <menu name="RequestTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="ViewRequest" title="${uiLabelMap.OrderRequestOverview}" > - <link target="ViewRequest?custRequestId=${custRequest.custRequestId}"/> + <link target="ViewRequest"> + <parameter param-name="custRequestId" from-field="custRequest.custRequestId"/> + </link> </menu-item> <menu-item name="custRequestContent" title="${uiLabelMap.ContentContent}"> - <link target="EditCustRequestContent?custRequestId=${custRequest.custRequestId}"/> + <link target="EditCustRequestContent"> + <parameter param-name="custRequestId" from-field="custRequest.custRequestId"/> + </link> </menu-item> </menu> <menu name="RequestSubTabBar" type="simple" menu-container-style="button-bar button-style-2"> @@ -94,7 +102,9 @@ <if-compare field="custRequest.statusId" operator="not-equals" value="CRQ_COMPLETED"/> </and> </condition> - <link target="EditCustRequestContent?custRequestId=${custRequest.custRequestId}"/> + <link target="EditCustRequestContent"> + <parameter param-name="custRequestId" from-field="custRequest.custRequestId"/> + </link> </menu-item> </menu> </menus> \ No newline at end of file |
Free forum by Nabble | Edit this page |