Changes for page ERJQuery

Last modified by Ravi Mendis on 2010/11/30 05:16

From version 80.1
edited by Ravi Mendis
on 2010/05/03 20:11
Change comment: There is no comment for this version
To version 81.1
edited by Ravi Mendis
on 2010/11/18 05:11
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,6 @@
1 1  == What is ERJQuery? ==
2 2  
3 -ERJQuery is an alternative Ajax framework for WebObjects applications.
3 +ERJQuery is an alternative, //pseudo-stateless// Ajax framework for WebObjects applications.
4 4  It's is a [[jQuery>>http://jquery.com/]] version of [[ERPrototaculous]].
5 5  ERJQuery and [[ERPrototaculous]] are mutually exclusive frameworks. In other words, you may only use one or the other.
6 6  
... ... @@ -16,17 +16,40 @@
16 16  
17 17  Ajax actions and update containers are handled just like [[ERPrototaculous]] except they use jQuery instead of Prototype and Scriptaculous.
18 18  
19 +==== Unobtrusive JavaScript in ERJQuery ====
20 +
21 +{{include value="WO:Using Unobtrusive JavaScript"}}{{/include}}
22 +
23 +{{code}}
24 +
25 +er.jquery.useUnobtrusively = true
26 +
27 +{{/code}}
28 +
29 +==== jQuery WebObjects Elements ====
30 +
31 +//jQuery.get()// has been implemented as a WebObjects dynamic element. Currently support for [[jQuery.get()>>http://api.jquery.com/jQuery.get/]] and [[.load()>>http://api.jquery.com/load/]] is limited to the following:
32 +
33 +===== jQuery.get() =====
34 +
35 +* jQueryGetLink
36 +
37 +===== jQuery.load() =====
38 +
39 +* jQueryLoadLink
40 +
19 19  ==== jQuery Widgets ====
20 20  
21 21  * [[FileUpload>>http://valums.com/ajax-upload/]]
44 +* [[Video Player>>http://www.longtailvideo.com/players/jw-flv-player]]
22 22  
23 23  Support for the file upload widget has been implemented as an input and as a CSS style-able container.
24 24  
25 -= Embrace Statelessness! =
48 += Embrace Statelessness =
26 26  
27 27  {{include value="WO:Embrace Statelessness"}}{{/include}}
28 28  
29 -ERJQuery embraces the stateless model Ajax offers in exchange for simplifying the work WebObjects has to do - it's a win-win!
52 +ERJQuery embraces the stateless model Ajax offers in exchange for simplifying the work WebObjects has to do - it's a win-win
30 30  
31 31  So you may observe one notable difference between ERJQuery and the Ajax framework is in the way it handles ajax responses.
32 32  In ERJQuery, updates and actions break with standard WebObjects behaviour by being pseudo-stateless just like [[ERPrototaculous]].
... ... @@ -39,3 +39,7 @@
39 39  
40 40  
41 41  {{/warning}}
65 +
66 +== External Links ==
67 +
68 +WOWODC '10 (Slides) - [[DirectToWeb 2.0>>http://www.wocommunity.org/wowodc10/slides/D2W2.pdf]]