You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2009/04/21 10:42:56 UTC
svn commit: r767072 -
/ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl
Author: ashish
Date: Tue Apr 21 08:42:56 2009
New Revision: 767072
URL: http://svn.apache.org/viewvc?rev=767072&view=rev
Log:
https://localhost:8443/catalog/control/EditCategoryProdCatalogs?productCategoryId=CATALOG1
Delete link was not working.
Changed code on the basis of David's suggestion on Dev mailing list on thread "Secured URLs strategy".
Am I done it right David ?
Modified:
ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl?rev=767072&r1=767071&r2=767072&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl Tue Apr 21 08:42:56 2009
@@ -72,8 +72,13 @@
</form>
</td>
<td align="center">
- <a href="<@o...@ofbizUrl>" class="buttontext">
- ${uiLabelMap.CommonDelete}</a>
+ <form method="post" action="<@o...@ofbizUrl>" name="removeProductCategoryFromProdCatalogForm">
+ <input type="hidden" name="prodCatalogId" value="${(prodCatalogCategory.prodCatalogId)?if_exists}"/>
+ <input type="hidden" name="productCategoryId" value="${(prodCatalogCategory.productCategoryId)?if_exists}"/>
+ <input type="hidden" name="prodCatalogCategoryTypeId" value="${prodCatalogCategory.prodCatalogCategoryTypeId}"/>
+ <input type="hidden" name="fromDate" value="${(prodCatalogCategory.fromDate)?if_exists}"/>
+ <input type="submit" value="${uiLabelMap.CommonDelete}"/>
+ </form>
</td>
</tr>
<#-- toggle the row color -->