Changes for page ERPrototaculous

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

From version 240.1
edited by Ravi Mendis
on 2009/07/16 09:26
Change comment: There is no comment for this version
To version 241.1
edited by Ravi Mendis
on 2009/07/16 09:47
Change comment: Re-order the features

Summary

Details

Page properties
Content
... ... @@ -7,10 +7,10 @@
7 7  Features include:
8 8  
9 9  * 'Organic' support for Prototype and Scriptaculous in WebObjects.
10 -* No custom Prototype extensions
11 -* A set of widgets in the Prototype + Scriptaculous family.
12 12  * Use of [[Unobtrusive Javascript>>http://en.wikipedia.org/wiki/Unobtrusive_JavaScript]].
13 13  * Pseudo-stateless ajax responses
12 +* No custom Prototype extensions
13 +* A set of widgets in the Prototype + Scriptaculous family.
14 14  
15 15  ==== Unobtrusive Javascript in ERPrototaculous ====
16 16  
... ... @@ -64,3 +64,13 @@
64 64  ** WOSubmitButton (if the result is to update whole page/app.
65 65  ** AjaxUpdaterButton (to update a **container**). Or
66 66  ** AjaxRequestButton (for a background ajax request)
67 +
68 +== Page Caching Ajax in ERPrototaculous ==
69 +
70 +One notable difference in the ERPrototaculous and Ajax.framework is in the ajax responses.
71 +ERPrototaculous updates and actions break with "The WebObjects Way" by being pseudo-stateless.
72 +
73 +Instead of returning a new context, an ajax update or action is in fact the same.
74 +
75 +The reason returning a new context is not necessary is because a client never travels back or forwards through an ajax application unlike in a typical WebObjects app.
76 +Here the current state (or context) of the update or action is all that is necessary.