Author: jleroux
Date: Sat Apr 4 17:33:50 2009 New Revision: 761971 URL: http://svn.apache.org/viewvc?rev=761971&view=rev Log: Securing URLs, link element in screens and menus : 27th set + tabs to 4 spaces Modified: ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryForms.xml ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml Modified: ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml?rev=761971&r1=761970&r2=761971&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml Sat Apr 4 17:33:50 2009 @@ -143,8 +143,13 @@ <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="deleteTaxAuthorityAssoc?taxAuthPartyId=${taxAuthPartyId}&taxAuthGeoId=${taxAuthGeoId}&toTaxAuthPartyId=${toTaxAuthPartyId}&toTaxAuthGeoId=${toTaxAuthGeoId}&fromDate=${fromDate}" - description="${uiLabelMap.CommonDelete}" also-hidden="false"/> + <hyperlink target="deleteTaxAuthorityAssoc" description="${uiLabelMap.CommonDelete}" also-hidden="false"> + <parameter param-name="taxAuthPartyId" from-field="taxAuthPartyId"/> + <parameter param-name="taxAuthGeoId" from-field="taxAuthGeoId"/> + <parameter param-name="toTaxAuthPartyId" from-field="toTaxAuthPartyId"/> + <parameter param-name="toTaxAuthGeoId" from-field="toTaxAuthGeoId"/> + <parameter param-name="fromDate" from-field="fromDate"/> + </hyperlink> </field> </form> <form name="AddTaxAuthorityAssoc" type="single" target="createTaxAuthorityAssoc" title="" default-map-name="taxAuthorityAssoc" Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryForms.xml?rev=761971&r1=761970&r2=761971&view=diff ============================================================================== --- ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryForms.xml (original) +++ ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryForms.xml Sat Apr 4 17:33:50 2009 @@ -127,8 +127,13 @@ <display-entity entity-name="Product" description="${productId} - ${description}"/> </field> <field name="addToCart" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="additem/editShoppingList?shoppingListId=${shoppingListId}&shoppingListItemSeqId=${shoppingListItemSeqId}&add_product_id=${productId}&quantity=${quantity}&configId=${configId}" - description="${uiLabelMap.CommonAdd} ${quantity} ${uiLabelMap.OrderAddQntToOrder}" also-hidden="false"/> + <hyperlink target="additem/editShoppingList" description="${uiLabelMap.CommonAdd} ${quantity} ${uiLabelMap.OrderAddQntToOrder}" also-hidden="false"> + <parameter param-name="shoppingListId" from-field="shoppingListId"/> + <parameter param-name="shoppingListItemSeqId" from-field="shoppingListItemSeqId"/> + <parameter param-name="add_product_id" from-field="productId"/> + <parameter param-name="quantity" from-field="quantity"/> + <parameter param-name="configId" from-field="configId"/> + </hyperlink> </field> </form> <form name="AddFromShoppingListAll" type="single" target=""> 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=761971&r1=761970&r2=761971&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml Sat Apr 4 17:33:50 2009 @@ -865,8 +865,13 @@ </field> <!-- not usable : no fields modifiable --> <!--field name="updateLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="EditProductSuppliers?productId=${productId}&partyId=${partyId}&currencyUomId=${currencyUomId}&minimumOrderQuantity=${minimumOrderQuantity}&availableFromDate=${availableFromDate}" - description="${uiLabelMap.CommonUpdate}" also-hidden="false"/> + <hyperlink target="EditProductSuppliers" description="${uiLabelMap.CommonUpdate}" also-hidden="false"> + <parameter param-name="productId" from-field="productId"/> + <parameter param-name="partyId" from-field="partyId"/> + <parameter param-name="currencyUomId" from-field="currencyUomId"/> + <parameter param-name="minimumOrderQuantity" from-field="minimumOrderQuantity"/> + <parameter param-name="availableFromDate" from-field="availableFromDate"/> + </hyperlink> </field--> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> <hyperlink target="removeSupplierProduct" description="${uiLabelMap.CommonDelete}" also-hidden="false"> |
Free forum by Nabble | Edit this page |