Author: jleroux
Date: Sat Apr 4 18:08:08 2009 New Revision: 761977 URL: http://svn.apache.org/viewvc?rev=761977&view=rev Log: Securing URLs, link element in screens and menus : 30th set + tabs to 4 spaces Modified: ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/CalendarForms.xml ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/RoutingTaskForms.xml ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml ofbiz/trunk/applications/marketing/webapp/marketing/segment/SegmentForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml ofbiz/trunk/applications/product/webapp/catalog/catalog/ProdCatalogForms.xml ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml ofbiz/trunk/applications/product/webapp/catalog/promo/PromoForms.xml ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Modified: ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml Sat Apr 4 18:08:08 2009 @@ -268,8 +268,10 @@ </field> <field name="idValue" title="${uiLabelMap.AccountingFixedAssetIdentIdValue}"/> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="removeFixedAssetIdent?fixedAssetId=${fixedAssetId}&fixedAssetIdentTypeId=${fixedAssetIdentTypeId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="removeFixedAssetIdent" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + <parameter param-name="fixedAssetIdentTypeId" from-field="fixedAssetIdentTypeId"/> + </hyperlink> </field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> @@ -305,8 +307,10 @@ <field name="licenseNumber" title="${uiLabelMap.AccountingFixedAssetLicenseNumber}"><text size="20" /></field> <field name="govAgencyPartyId" title="${uiLabelMap.AccountingFixedAssetGovAgencyPartyId}"><lookup target-form-name="LookupPartyName"/></field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="deleteFixedAssetRegistration?fixedAssetId=${fixedAssetId}&fromDate=${fromDate}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="deleteFixedAssetRegistration" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + <parameter param-name="fromDate" from-field="fromDate"/> + </hyperlink> </field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> @@ -428,8 +432,10 @@ <field name="readingDate"><display/></field> <field name="meterValue" title="${uiLabelMap.AccountingFixedAssetMeterValue}"><text/></field> <field name="maintHistSeqId" title="${uiLabelMap.AccountingFixedAssetMaint}"> - <hyperlink target="EditFixedAssetMaint?fixedAssetId=${fixedAssetId}&maintHistSeqId=${maintHistSeqId}" - description="${maintHistSeqId}" also-hidden="false"/> + <hyperlink target="EditFixedAssetMaint" description="${maintHistSeqId}" also-hidden="false"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + <parameter param-name="maintHistSeqId" from-field="maintHistSeqId"/> + </hyperlink> </field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="deleteLink" title="${uiLabelMap.CommonRemove}" widget-style="buttontext"> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml Sat Apr 4 18:08:08 2009 @@ -546,8 +546,10 @@ <field name="invoiceId"><hidden/></field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="unlinkInvoiceFromTimeEntry?timeEntryId=${timeEntryId}&invoiceId=${invoiceId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="unlinkInvoiceFromTimeEntry" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="timeEntryId" from-field="timeEntryId"/> + <parameter param-name="invoiceId" from-field="invoiceId"/> + </hyperlink> </field> </form> <form name="ListTimeEntries" type="list" list-name="timeEntries" Modified: ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml Sat Apr 4 18:08:08 2009 @@ -203,8 +203,10 @@ <field name="finAccountAuthId"><display/></field> <field name="finAccountId"><hidden/></field> <field name="expireLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="expireFinAccountAuth?finAccountId=${finAccountId}&finAccountAuthId=${finAccountAuthId}" - description="${uiLabelMap.CommonExpire}" also-hidden="false"/> + <hyperlink target="expireFinAccountAuth" description="${uiLabelMap.CommonExpire}" also-hidden="false"> + <parameter param-name="finAccountId" from-field="finAccountId"/> + <parameter param-name="finAccountAuthId" from-field="finAccountAuthId"/> + </hyperlink> </field> </form> <form name="AddFinAccountAuth" type="single" target="createFinAccountAuth" Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/CalendarForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/CalendarForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/CalendarForms.xml (original) +++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/CalendarForms.xml Sat Apr 4 18:08:08 2009 @@ -58,12 +58,16 @@ <field name="exceptionDateStartTime" title="${uiLabelMap.ManufacturingExceptionDateStartTime}"><display/></field> <field name="exceptionCapacity" title="${uiLabelMap.ManufacturingCalendarCapacity}" ><display/></field> <field name="updateLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="EditCalendarExceptionDay?calendarId=${calendarId}&exceptionDateStartTime=${exceptionDateStartTime}" - description="${uiLabelMap.CommonSelect}" /> + <hyperlink target="EditCalendarExceptionDay" description="${uiLabelMap.CommonSelect}" > + <parameter param-name="calendarId" from-field="calendarId"/> + <parameter param-name="exceptionDateStartTime" from-field="exceptionDateStartTime"/> + </hyperlink> </field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="RemoveCalendarExceptionDay?calendarId=${calendarId}&exceptionDateStartTime=${exceptionDateStartTime}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="RemoveCalendarExceptionDay" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="calendarId" from-field="calendarId"/> + <parameter param-name="exceptionDateStartTime" from-field="exceptionDateStartTime"/> + </hyperlink> </field> </form> @@ -102,12 +106,16 @@ <display description="${calendarWeek.description} "/> </field> <field name="updateLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="EditCalendarExceptionWeek?calendarId=${calendarExceptionWeek.calendarId}&exceptionDateStart=${calendarExceptionWeek.exceptionDateStart}" - description="${uiLabelMap.CommonSelect}" /> + <hyperlink target="EditCalendarExceptionWeek" description="${uiLabelMap.CommonSelect}" > + <parameter param-name="calendarId" from-field="calendarExceptionWeek.calendarId"/> + <parameter param-name="exceptionDateStart" from-field="calendarExceptionWeek.exceptionDateStart"/> + </hyperlink> </field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="RemoveCalendarExceptionWeek?calendarId=${calendarExceptionWeek.calendarId}&exceptionDateStart=${calendarExceptionWeek.exceptionDateStart}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="RemoveCalendarExceptionWeek" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="calendarId" from-field="calendarExceptionWeek.calendarId"/> + <parameter param-name="exceptionDateStart" from-field="calendarExceptionWeek.exceptionDateStart"/> + </hyperlink> </field> </form> <form name="UpdateCalendarExceptionWeek" type="single" target="UpdateCalendarExceptionWeek" title="" Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/RoutingTaskForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/RoutingTaskForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/RoutingTaskForms.xml (original) +++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/RoutingTaskForms.xml Sat Apr 4 18:08:08 2009 @@ -366,8 +366,10 @@ <submit button-type="button" /> </field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="removeRoutingTaskFixedAsset?workEffortId=${workEffortId}&fixedAssetTypeId=${fixedAssetTypeId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false" /> + <hyperlink target="removeRoutingTaskFixedAsset" description="${uiLabelMap.CommonDelete}" also-hidden="false" > + <parameter param-name="workEffortId" from-field="workEffortId"/> + <parameter param-name="fixedAssetTypeId" from-field="fixedAssetTypeId"/> + </hyperlink> </field> </form> <form name="EditRoutingTaskFixedAsset" type="single" title="" target="createRoutingTaskFixedAsset" Modified: ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml (original) +++ ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml Sat Apr 4 18:08:08 2009 @@ -60,8 +60,10 @@ </field> <field name="partyClassificationGroupId" title="${uiLabelMap.MarketingSegmentGroupPartyClassificationGroupId}"><display/></field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="deleteSegmentGroupClass?segmentGroupId=${segmentGroupId}&partyClassificationGroupId=${partyClassificationGroupId}" - description="[${uiLabelMap.CommonDelete}]" also-hidden="false"/> + <hyperlink target="deleteSegmentGroupClass" description="[${uiLabelMap.CommonDelete}]" also-hidden="false"> + <parameter param-name="segmentGroupId" from-field="segmentGroupId"/> + <parameter param-name="partyClassificationGroupId" from-field="partyClassificationGroupId"/> + </hyperlink> </field> </form> <form name="LookupSalesForecast" target="LookupSalesForecast" title="" type="single" Modified: ofbiz/trunk/applications/marketing/webapp/marketing/segment/SegmentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/segment/SegmentForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/webapp/marketing/segment/SegmentForms.xml (original) +++ ofbiz/trunk/applications/marketing/webapp/marketing/segment/SegmentForms.xml Sat Apr 4 18:08:08 2009 @@ -96,8 +96,10 @@ <field name="segmentGroupId"><hidden/></field> <field name="partyClassificationGroupId"><display/></field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="deleteSegmentGroupClassification?segmentGroupId=${segmentGroupId}&partyClassificationGroupId=${partyClassificationGroupId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="deleteSegmentGroupClassification" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="segmentGroupId" from-field="segmentGroupId"/> + <parameter param-name="partyClassificationGroupId" from-field="partyClassificationGroupId"/> + </hyperlink> </field> </form> @@ -120,8 +122,10 @@ <field name="segmentGroupId"><hidden/></field> <field name="geoId" title="${uiLabelMap.CommonSegmentGroupGeoId}"><display-entity entity-name="Geo" description="${geoName} [Code:${geoCode}][ID:${geoId}]"/></field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="deleteSegmentGroupGeo?segmentGroupId=${segmentGroupId}&geoId=${geoId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="deleteSegmentGroupGeo" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="segmentGroupId" from-field="segmentGroupId"/> + <parameter param-name="geoId" from-field="geoId"/> + </hyperlink> </field> </form> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml Sat Apr 4 18:08:08 2009 @@ -103,8 +103,10 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> <field name="deleteLink" title="" widget-style="buttontext"> - <hyperlink target="deleteSalesForecastDetail?salesForecastId=${salesForecastId}&salesForecastDetailId=${salesForecastDetailId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="deleteSalesForecastDetail" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="salesForecastId" from-field="salesForecastId"/> + <parameter param-name="salesForecastDetailId" from-field="salesForecastDetailId"/> + </hyperlink> </field> </form> Modified: ofbiz/trunk/applications/product/webapp/catalog/catalog/ProdCatalogForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/catalog/ProdCatalogForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/catalog/ProdCatalogForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/catalog/ProdCatalogForms.xml Sat Apr 4 18:08:08 2009 @@ -151,8 +151,10 @@ </hyperlink> </field> <field name="makeTopLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="EditCategory?CATALOG_TOP_CATEGORY=${productCategoryId}&productCategoryId=${productCategoryId}" - description="${uiLabelMap.ProductMakeTop}" also-hidden="false"/> + <hyperlink target="EditCategory" description="${uiLabelMap.ProductMakeTop}" also-hidden="false"> + <parameter param-name="CATALOG_TOP_CATEGORY" from-field="productCategoryId"/> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </hyperlink> </field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> Modified: ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml Sat Apr 4 18:08:08 2009 @@ -31,8 +31,10 @@ <field name="attrValue"><text size="60"/></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="deleteProductCategoryAttribute?productCategoryId=${productCategoryId}&attrName=${attrName}" - description="${uiLabelMap.CommonDelete}"/> + <hyperlink target="deleteProductCategoryAttribute" description="${uiLabelMap.CommonDelete}"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + <parameter param-name="attrName" from-field="attrName"/> + </hyperlink> </field> </form> Modified: ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/config/ConfigForms.xml Sat Apr 4 18:08:08 2009 @@ -149,8 +149,10 @@ <auto-fields-service service-name="updateProductConfigItemContent" map-name="productContent"/> <field name="configItemId"><hidden/></field> <field name="contentId" title="${uiLabelMap.ProductContent_Id}" widget-style="buttontext"> - <hyperlink target="EditProductConfigItemContentContent?configItemId=${productContent.configItemId}&contentId=${productContent.contentId}" - description="${content.description} [${productContent.contentId}]"/> + <hyperlink target="EditProductConfigItemContentContent" description="${content.description} [${productContent.contentId}]"> + <parameter param-name="configItemId" from-field="productContent.configItemId"/> + <parameter param-name="contentId" from-field="productContent.contentId"/> + </hyperlink> </field> <field name="confItemContentTypeId" title="${uiLabelMap.ProductProductContentTypeId}"> <drop-down> Modified: ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml Sat Apr 4 18:08:08 2009 @@ -101,8 +101,10 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="removeSupplierProductFeature?productFeatureId=${productFeatureId}&partyId=${partyId}" - description="${uiLabelMap.CommonDelete}"/> + <hyperlink target="removeSupplierProductFeature" description="${uiLabelMap.CommonDelete}"> + <parameter param-name="productFeatureId" from-field="productFeatureId"/> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> </field> </form> <form name="FindFeatureType" type="single" target="EditFeatureTypes" Modified: ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml Sat Apr 4 18:08:08 2009 @@ -586,8 +586,10 @@ <auto-fields-service service-name="updateProductContent" map-name="productContent"/> <field name="productId"><hidden/></field> <field name="contentId" title="${uiLabelMap.ProductContent_Id}" widget-style="buttontext"> - <hyperlink target="EditProductContentContent?productId=${productContent.productId}&contentId=${productContent.contentId}" - description="${content.description} [${productContent.contentId}]"/> + <hyperlink target="EditProductContentContent" description="${content.description} [${productContent.contentId}]"> + <parameter param-name="productId" from-field="productContent.productId"/> + <parameter param-name="contentId" from-field="productContent.contentId"/> + </hyperlink> </field> <field name="productContentTypeId" title="${uiLabelMap.ProductProductContentTypeId}"> <drop-down> Modified: ofbiz/trunk/applications/product/webapp/catalog/promo/PromoForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/promo/PromoForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/promo/PromoForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/promo/PromoForms.xml Sat Apr 4 18:08:08 2009 @@ -110,8 +110,10 @@ description="${productPromoCodeId}" also-hidden="false"/> </field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="deleteProductPromoCode?productPromoCodeId=${productPromoCodeId}&productPromoId=${productPromoId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="deleteProductPromoCode" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="productPromoCodeId" from-field="productPromoCodeId"/> + <parameter param-name="productPromoId" from-field="productPromoId"/> + </hyperlink> </field> </form> </forms> Modified: ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml Sat Apr 4 18:08:08 2009 @@ -509,8 +509,10 @@ <field name="fromAddress" title="${uiLabelMap.CommonFromAddress}"></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext"> - <hyperlink target="removeProductStoreEmail?productStoreId=${productStoreId}&emailType=${emailType}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="removeProductStoreEmail" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="productStoreId" from-field="productStoreId"/> + <parameter param-name="emailType" from-field="emailType"/> + </hyperlink> </field> </form> Modified: ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/SubscriptionForms.xml Sat Apr 4 18:08:08 2009 @@ -451,8 +451,10 @@ <field name="datetimeStarted" title="${uiLabelMap.CommonStartDate}"><display/></field> <field name="datetimeEnded" title="${uiLabelMap.CommonFinishDate}"><display/></field> <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext"> - <hyperlink target="removeSubscriptionCommEvent?subscriptionId=${subscriptionId}&communicationEventId=${communicationEventId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="removeSubscriptionCommEvent" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="subscriptionId" from-field="subscriptionId"/> + <parameter param-name="communicationEventId" from-field="communicationEventId"/> + </hyperlink> </field> </form> <form name="createSubscriptionCommEvent" type="single" target="createSubscriptionCommEvent" title="" Modified: ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml Sat Apr 4 18:08:08 2009 @@ -235,8 +235,10 @@ <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="deleteTimesheetEntry?timesheetId=${timesheetId}&timeEntryId=${timeEntryId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="deleteTimesheetEntry" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="timesheetId" from-field="timesheetId"/> + <parameter param-name="timeEntryId" from-field="timeEntryId"/> + </hyperlink> </field> </form> <form name="AddTimesheetEntry" type="single" target="createTimesheetEntry" title="" Modified: ofbiz/trunk/framework/example/widget/example/ExampleForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleForms.xml?rev=761977&r1=761976&r2=761977&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleForms.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Sat Apr 4 18:08:08 2009 @@ -183,8 +183,10 @@ </drop-down> </field> <field name="deleteLink" title="" widget-style="buttontext"> - <hyperlink target="deleteExampleItem?exampleId=${exampleId}&exampleItemSeqId=${exampleItemSeqId}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="deleteExampleItem" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="exampleId" from-field="exampleId"/> + <parameter param-name="exampleItemSeqId" from-field="exampleItemSeqId"/> + </hyperlink> </field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> </form> |
Free forum by Nabble | Edit this page |