svn commit: r925146 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityEvents.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r925146 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityEvents.xml

bibryam
Author: bibryam
Date: Fri Mar 19 08:58:55 2010
New Revision: 925146

URL: http://svn.apache.org/viewvc?rev=925146&view=rev
Log:
Allow passing from/thru dates to createFacilityContent service.

Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityEvents.xml

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityEvents.xml?rev=925146&r1=925145&r2=925146&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityEvents.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityEvents.xml Fri Mar 19 08:58:55 2010
@@ -23,9 +23,10 @@ under the License.
     
     <simple-method method-name="createFacilityContent" short-description="Create Facility Content">
         <call-simple-method method-name="createGenericContent" xml-resource="component://content/script/org/ofbiz/content/layout/LayoutEvents.xml"/>
+        <set field="facilityContext.contentId" from-field="context.contentId"/>        
         <set field="facilityContext.facilityId" from-field="formInput.formInput.facilityId"/>
-        <set field="facilityContext.contentId" from-field="context.contentId"/>
-
+        <set field="facilityContext.fromDate" from-field="formInput.formInput.fromDate" type="Timestamp"/>
+        <set field="facilityContext.thruDate" from-field="formInput.formInput.thruDate" type="Timestamp"/>
         <!-- Create FacilityContent -->
         <call-service service-name="createFacilityContent" in-map-name="facilityContext">
             <result-to-field result-name="contentId" field="contentId"/>