Wiki source code of ERPrototaculous
Version 222.1 by Ravi Mendis on 2009/07/16 08:46
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | == Introduction == | ||
2 | |||
3 | ERPrototaculous was developed to provide the ajax functionality in ERDivaLook. | ||
4 | |||
5 | === What is ERPrototaculous? === | ||
6 | |||
7 | Features include: | ||
8 | |||
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 | * Use of [[Unobtrusive Javascript>>http://en.wikipedia.org/wiki/Unobtrusive_JavaScript]]. | ||
13 | |||
14 | ==== Unobtrusive Javascript in ERPrototaculous ==== | ||
15 | |||
16 | Unobtrusive Javascript is used in contrast to ajax on-demand style of 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. | ||
18 | |||
19 | The result is **faster** and more **reliable** ajax in WebObjects applications. | ||
20 | |||
21 | ==== Prototype + Scriptaculous Widgets ==== | ||
22 | |||
23 | * Accordion | ||
24 | * LightWindow | ||
25 | * ModalBox | ||
26 | * CalendarDateSelect | ||
27 | * FileUpload | ||
28 | |||
29 | == Forms in ERPrototaculous == | ||
30 | |||
31 | Differences from using forms in WebObjects. i.e ##WOForm##: | ||
32 | |||
33 | * All form controls must be named. This includes text fields, selects and buttons. | ||
34 | (WebObjects dynamically assigned names are not compatible with ERPrototaculous). |