Wiki source code of ERPrototaculous

Version 220.1 by Ravi Mendis on 2009/07/16 08:48

Hide last authors
Ravi Mendis 100.1 1 == Introduction ==
2
Ravi Mendis 209.1 3 ERPrototaculous was developed to provide the ajax functionality in ERDivaLook.
4
5 === What is ERPrototaculous? ===
6
Ravi Mendis 211.1 7 Features include:
Ravi Mendis 209.1 8
Ravi Mendis 211.1 9 * 'Organic' support for Prototype and Scriptaculous in WebObjects.
Ravi Mendis 219.1 10 * No custom Prototype extensions
Ravi Mendis 211.1 11 * A set of widgets in the Prototype + Scriptaculous family.
12 * Use of [[Unobtrusive Javascript>>http://en.wikipedia.org/wiki/Unobtrusive_JavaScript]].
Ravi Mendis 209.1 13
Ravi Mendis 211.1 14 ==== Unobtrusive Javascript in ERPrototaculous ====
15
Ravi Mendis 219.1 16 Unobtrusive javascript is used in contrast to on-demand style of ajax programming.
17 By including Javascript as well as CSS globally in the page wrapper, CSS and/or Javascript doesn't have to load inside ajax requests.
Ravi Mendis 211.1 18
19 The result is **faster** and more **reliable** ajax in WebObjects applications.
20
21 ==== Prototype + Scriptaculous Widgets ====
22
Ravi Mendis 209.1 23 * Accordion
24 * LightWindow
25 * ModalBox
26 * CalendarDateSelect
27 * FileUpload
Ravi Mendis 211.1 28
29 == Forms in ERPrototaculous ==
30
31 Differences from using forms in WebObjects. i.e ##WOForm##:
32
Ravi Mendis 213.1 33 * All form controls must be named. This includes text fields, selects and buttons.
Ravi Mendis 211.1 34 (WebObjects dynamically assigned names are not compatible with ERPrototaculous).