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