You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/12/18 09:20:25 UTC
svn commit: r1818537 -
/ofbiz/ofbiz-plugins/trunk/example/widget/example/ExampleAjaxScreens.xml
Author: jleroux
Date: Mon Dec 18 09:20:24 2017
New Revision: 1818537
URL: http://svn.apache.org/viewvc?rev=1818537&view=rev
Log:
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"/>