Changes for page ERPrototaculous
Last modified by Ravi Mendis on 2010/11/18 05:07
From version 108.1
edited by Ravi Mendis
on 2010/05/02 22:22
on 2010/05/02 22:22
Change comment:
There is no comment for this version
To version 122.1
edited by Ravi Mendis
on 2010/02/14 20:59
on 2010/02/14 20:59
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,10 +6,10 @@ 6 6 7 7 Features include: 8 8 9 -* 'Organic' support for [[Prototype>>http://www.prototypejs.org/]]and[[Scriptaculous>>http://script.aculo.us/]]in WebObjects.9 +* 'Organic' support for Prototype and Scriptaculous in WebObjects. 10 10 ** Light-weight dynamic elements to support Prototype 11 -** TransparentAPI thatdoesn'thideorabstractPrototypeand Scriptaculous12 -** Sans patches or extensions to Prototype11 +** No custom patches to Prototype 12 +** Sans extensions to Prototype 13 13 * Use of [[Unobtrusive Javascript>>http://en.wikipedia.org/wiki/Unobtrusive_JavaScript]]. 14 14 * Pseudo-stateless ajax responses 15 15 * A set of widgets in the Prototype + Scriptaculous family. ... ... @@ -63,7 +63,7 @@ 63 63 * LightWindow 64 64 * ModalBox 65 65 * CalendarDateSelect 66 -* [[FileUpload>>http://valums.com/ajax-upload/]]66 +* FileUpload 67 67 68 68 Support for these widgets have been similarly implemented as **button** and **link** variants, depending whether it is used inside a form or not. 69 69 ... ... @@ -78,7 +78,7 @@ 78 78 1*. Static ##<button>##. 79 79 1*. WOSubmitButton (if the result is to update whole page/app). 80 80 1*. AjaxUpdaterButton (to update a **container**). Or 81 -1*. AjaxRequestButton (for a **background** ajax request).81 +1*. AjaxRequestButton (for a **background** ajax submit). 82 82 83 83 So forms are different in Ajax.framework and ERPrototaculous. 84 84 ... ... @@ -91,14 +91,8 @@ 91 91 92 92 {{/warning}} 93 93 94 -= EmbraceStatelessness!=94 +== Ajax Response Handling in ERPrototaculous == 95 95 96 -{{include value="WO:Embrace Statelessness"}}{{/include}} 97 - 98 -So ERPrototaculous simplifies the work WebObjects has to do. 99 - 100 -=== Ajax Response Handling in ERPrototaculous === 101 - 102 102 One notable difference between the ERPrototaculous and Ajax frameworks is in the way they handle ajax responses. 103 103 In ERPrototaculous, updates and actions break with //The WebObjects Way// by being pseudo-stateless. 104 104 ... ... @@ -121,7 +121,7 @@ 121 121 122 122 Ajax responses are mostly page fragments or just part of a page. 123 123 So you should make sure the actions in ERPrototaculous (or AjaxUpdaterButton and AjaxRequestButton) return the proper page fragment as opposed to the entire page. 124 -This isdifferenttohowWebObjects normally works, so this is where you need to be careful.118 +This breaks with WO-tradition (again), so this is where you need to be careful. 125 125 126 126 {{note title="Note"}} 127 127 ... ... @@ -139,12 +139,3 @@ 139 139 140 140 It has been implemented as a utility or //convenience// for Prototype's ##Ajax.Updater##. 141 141 That is it can be used to update from a DOM //event// like popup //onchange//, or from a Prototype //callback// like //onComplete//, etc. 142 - 143 -== Compatibility == 144 - 145 -ERPrototaculous can not be used with WebObjects 5.3 as it is dependent on the hooks for ajax added to WebObjects with version 5.4. 146 - 147 -{{warning title="ERPrototaculous is WebObjects *5.4* compatible only"}} 148 - 149 - 150 -{{/warning}}