Author: sichen
Date: Tue Jul 25 14:19:13 2006
New Revision: 425527
URL:
http://svn.apache.org/viewvc?rev=425527&view=revLog:
OFBIZ-106: Fix bug where controller for create/delete TaxAuthorityGlAccount was calling the wrong service. Fix the delete link to include a required parameter. Thanks to Scott Gray.
Modified:
incubator/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
incubator/ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml
Modified: incubator/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml?rev=425527&r1=425526&r2=425527&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml (original)
+++ incubator/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml Tue Jul 25 14:19:13 2006
@@ -820,13 +820,13 @@
<request-map uri="EditTaxAuthorityGlAccounts"><security https="true" auth="true"/><response name="success" type="view" value="EditTaxAuthorityGlAccounts"/></request-map>
<request-map uri="createTaxAuthorityGlAccount">
<security https="true" auth="true"/>
- <event type="service" path="" invoke="createTaxAuthorityCategory"/>
+ <event type="service" path="" invoke="createTaxAuthorityGlAccount"/>
<response name="success" type="view" value="EditTaxAuthorityGlAccounts"/>
<response name="error" type="view" value="EditTaxAuthorityGlAccounts"/>
</request-map>
<request-map uri="deleteTaxAuthorityGlAccount">
<security https="true" auth="true"/>
- <event type="service" path="" invoke="deleteTaxAuthorityCategory"/>
+ <event type="service" path="" invoke="deleteTaxAuthorityGlAccount"/>
<response name="success" type="view" value="EditTaxAuthorityGlAccounts"/>
<response name="error" type="view" value="EditTaxAuthorityGlAccounts"/>
</request-map>
Modified: incubator/ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml?rev=425527&r1=425526&r2=425527&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml (original)
+++ incubator/ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml Tue Jul 25 14:19:13 2006
@@ -178,7 +178,7 @@
</field>
<field name="deleteLink" title="" widget-style="buttontext">
- <hyperlink target="deleteTaxAuthorityGlAccount?taxAuthPartyId=${taxAuthPartyId}&taxAuthGeoId=${taxAuthGeoId}&glAccountId=${glAccountId}"
+ <hyperlink target="deleteTaxAuthorityGlAccount?taxAuthPartyId=${taxAuthPartyId}&taxAuthGeoId=${taxAuthGeoId}&glAccountId=${glAccountId}&organizationPartyId=${organizationPartyId}"
description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
</field>
</form>