Thank you Ashish V. :-)
--
Ashish Nagar
Ashish Vijaywargiya wrote:
Done at trunk rev. no. 767392.
Thanks !
--
Ashish
Ashish Nagar wrote:
jler...@apache.org wrote:
- <a
href="<@ofbizUrl>removePartyFromCategory?productCategoryId=${(productCategoryRole.productCategoryId)?if_exists}&partyId=${(productCategoryRole.partyId)?if_exists}&roleTypeId=${(productCategoryRole.roleTypeId)?if_exists}&fromDate=${productCategoryRole.getString("fromDate")}</@ofbizUrl>"
class="buttontext">${uiLabelMap.CommonDelete}</a>
+ <FORM method="post"
action="<@ofbizUrl>removePartyFromCategory</@ofbizUrl>"
name="lineForm_delete${line}">
+ <#assign hasExpired = false>
+ <input type="hidden" name="productCategoryId"
value="${(productCategoryRole.productCategoryId)?if_exists}">
+ <input type="hidden" name="partyId"
value="${(productCategoryRole.partyId)?if_exists}">
+ <input type="hidden" name="roleTypeId"
value="${(productCategoryRole.roleTypeId)?if_exists}">
+ <input type="hidden" name="fromDate"
value="${(productCategoryRole.getTimestamp("fromDate"))?if_exists}">
+ <INPUT type="submit"
value="${uiLabelMap.CommonDelete}" style="font-size: x-small;">
+ </FORM>
Just wondering, could we use anchor <a href= "javascript:
document.lineForm_delete${line}.submit()" class=
"buttontext">${uiLabelMap.CommonDelete}</a> instead of a submit
button so as to maintain consistency?
--
Ashish Nagar