ERPrototaculous
Version 222.1 by Ravi Mendis on 2009/07/16 08:46
Introduction
ERPrototaculous was developed to provide the ajax functionality in ERDivaLook.
What is ERPrototaculous?
Features include:
- 'Organic' support for Prototype and Scriptaculous in WebObjects.
- No custom Prototype extensions
- A set of widgets in the Prototype + Scriptaculous family.
- Use of Unobtrusive Javascript.
Unobtrusive Javascript in ERPrototaculous
Unobtrusive Javascript is used in contrast to ajax on-demand style of programming.
By including Javascript as well as CSS globally in the page wrapper, CSS and/or Javascript doesn't have to load inside Ajax requests.
The result is faster and more reliable ajax in WebObjects applications.
Prototype + Scriptaculous Widgets
- Accordion
- LightWindow
- ModalBox
- CalendarDateSelect
- FileUpload
Forms in ERPrototaculous
Differences from using forms in WebObjects. i.e WOForm:
- All form controls must be named. This includes text fields, selects and buttons.
(WebObjects dynamically assigned names are not compatible with ERPrototaculous).