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:28 UTC

svn commit: r1818538 - /ofbiz/branches/release16.11/specialpurpose/example/widget/example/ExampleAjaxScreens.xml

Author: jleroux
Date: Mon Dec 18 09:20:28 2017
New Revision: 1818538

URL: http://svn.apache.org/viewvc?rev=1818538&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/branches/release16.11/specialpurpose/example/widget/example/ExampleAjaxScreens.xml

Modified: ofbiz/branches/release16.11/specialpurpose/example/widget/example/ExampleAjaxScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/specialpurpose/example/widget/example/ExampleAjaxScreens.xml?rev=1818538&r1=1818537&r2=1818538&view=diff
==============================================================================
--- ofbiz/branches/release16.11/specialpurpose/example/widget/example/ExampleAjaxScreens.xml (original)
+++ ofbiz/branches/release16.11/specialpurpose/example/widget/example/ExampleAjaxScreens.xml Mon Dec 18 09:20:28 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-form name="ListExamplesAjax" location="component://example/widget/example/ExampleForms.xml"/>