svn commit: r1056824 - /ofbiz/trunk/framework/example/widget/example/ExampleForms.xml

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

svn commit: r1056824 - /ofbiz/trunk/framework/example/widget/example/ExampleForms.xml

jleroux@apache.org
Author: jleroux
Date: Sat Jan  8 22:34:50 2011
New Revision: 1056824

URL: http://svn.apache.org/viewvc?rev=1056824&view=rev
Log:
Fixes the last issue related to "Ajax example creation has somme issues" (https://issues.apache.org/jira/browse/OFBIZ-1994) - OFBIZ-1994

The issues already fixed were
* A Save File dialog box pop up to save a json file    
* Creation did not update the list
* You can't edit the column "Name" content
* Sometimes it worked on an instance, not another (both with same configuration)
* Sometimes the same instance, which did not work before, worked

I found another issue, the line
<on-event-update-area event-type="submit" area-id="EditExampleAjax" area-target="CreateExampleFormOnly">
was duplicating the list and hiding the create section.

Modified:
    ofbiz/trunk/framework/example/widget/example/ExampleForms.xml

Modified: ofbiz/trunk/framework/example/widget/example/ExampleForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleForms.xml?rev=1056824&r1=1056823&r2=1056824&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/ExampleForms.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Sat Jan  8 22:34:50 2011
@@ -151,7 +151,7 @@ under the License.
             </drop-down>
         </field>
         <on-event-update-area event-type="submit" area-id="ListExamplesAjax" area-target="ListExampleFormOnly"/>
-        <on-event-update-area event-type="submit" area-id="EditExampleAjax" area-target="CreateExampleFormOnly"/>
+        <!--on-event-update-area event-type="submit" area-id="EditExampleAjax" area-target="CreateExampleFormOnly"/--><!-- JLR: this does not seem to be useful -->
     </form>
 
     <!-- ExampleItem -->