Author: jleroux
Date: Mon Dec 18 09:20:24 2017
New Revision: 1818537
URL:
http://svn.apache.org/viewvc?rev=1818537&view=revLog:
Fixed: Creating an example from the Ajax screen does not work
(OFBIZ-10037)
Problem:
After update, it requests ListExampleFormOnly where parameters were not set as
exampleCtx needed when running performFind. exampleCtx is passed as inputFields
to performFind service.
Solution:
In ListExampleFormOnly screen, set parameters to exampleCtx.
Thanks: Aditya
Modified:
ofbiz/ofbiz-plugins/trunk/example/widget/example/ExampleAjaxScreens.xml
Modified: ofbiz/ofbiz-plugins/trunk/example/widget/example/ExampleAjaxScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/example/widget/example/ExampleAjaxScreens.xml?rev=1818537&r1=1818536&r2=1818537&view=diff==============================================================================
--- ofbiz/ofbiz-plugins/trunk/example/widget/example/ExampleAjaxScreens.xml (original)
+++ ofbiz/ofbiz-plugins/trunk/example/widget/example/ExampleAjaxScreens.xml Mon Dec 18 09:20:24 2017
@@ -73,6 +73,7 @@ under the License.
<!-- NOTE: these are needed because this may be run as a top level screen and would have no decorator -->
<property-map resource="ExampleUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+ <set field="exampleCtx" from-field="parameters"/>
</actions>
<widgets>
<include-grid name="ListExamplesAjax" location="component://example/widget/example/ExampleForms.xml"/>