Author: jleroux
Date: Wed Mar 12 18:20:26 2014
New Revision: 1576839
URL:
http://svn.apache.org/r1576839Log:
Fixes a bug reported by Rong "Error when search Requirements"
https://issues.apache.org/jira/browse/OFBIZ-5571jleroux: I simply replaced bsh by groovy. I also spotted a typo: facilityIdId
Modified:
ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml
Modified: ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml?rev=1576839&r1=1576838&r2=1576839&view=diff==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml Wed Mar 12 18:20:26 2014
@@ -64,8 +64,8 @@ under the License.
</service>
</actions>
<row-actions>
- <set field="lookupProductId" value="${bsh: (productId == null? "_NA_": productId);}" type="String"/>
- <set field="lookupFacilityId" value="${bsh: (facilityIdId == null? "_NA_": facilityId);}" type="String"/>
+ <set field="lookupProductId" value="${groovy: productId == null? '_NA_' : productId}" type="String"/>
+ <set field="lookupFacilityId" value="${groovy: facilityId == null? '_NA_' : facilityId}" type="String"/>
<service service-name="getInventoryAvailableByFacility" result-map="resultQoh">
<field-map field-name="productId" from-field="lookupProductId"/>
<field-map field-name="facilityId" from-field="lookupFacilityId"/>