Changes for page ERPrototaculous

Last modified by Ravi Mendis on 2010/11/18 05:07

From version 257.1
edited by Ravi Mendis
on 2009/07/16 09:08
Change comment: Add note on Ajax.Updater elements
To version 256.1
edited by Ravi Mendis
on 2009/07/16 09:17
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -19,16 +19,25 @@
19 19  
20 20  The result is **faster** and more **reliable** ajax in WebObjects applications.
21 21  
22 -==== Prototype Elements ====
22 +==== Prototype WebObjects Elements ====
23 23  
24 +##Ajax.Updater## and ##Ajax.Request## have been implemented as WebObjects dynamic elements.
25 +
24 24  ===== Ajax.Updater =====
25 25  
26 26  Support for Prototype's [[Ajax.Updater>>http://www.prototypejs.org/api/ajax/updater]] is in the form of three components:
27 27  
28 -1. AjaxUpdaterLink
29 -1. AjaxUpdaterButton
30 -1. AjaxUpdaterForm (with ##onsubmit## for ajax form submission)
30 +* AjaxUpdaterLink
31 +* AjaxUpdaterButton
32 +* AjaxUpdaterForm (with ##onsubmit## for ajax form submission)
31 31  
34 +===== Ajax.Request =====
35 +
36 +Prototype's [[Ajax.Request>>http://www.prototypejs.org/api/ajax/request]] is in the form of:
37 +
38 +* AjaxRequestLink
39 +* AjaxRequestButton
40 +
32 32  ==== Prototype + Scriptaculous Widgets ====
33 33  
34 34  * Accordion
... ... @@ -41,10 +41,12 @@
41 41  
42 42  Differences from using forms in WebObjects. i.e ##WOForm##:
43 43  
44 -* All form controls must be named. This includes text fields, selects and buttons.
53 +1. All form controls must be named. This includes text fields, selects and buttons.
45 45  (WebObjects dynamically assigned names are not compatible with ERPrototaculous).
46 -* All forms in an ERPrototaculous app are instances of ##AjaxUpdaterForm##.
47 -* Form submits can be the form of a:
55 +1. All forms in an ERPrototaculous app are instances of ##AjaxUpdaterForm##.
56 +1. Form submits can be the form of a:
57 +
58 +*
48 48  ** Static ##<button>##
49 49  ** WOSubmitButton (if the result is to update whole page/app.
50 50  ** AjaxUpdaterButton (to update a **container**). Or