Labs/Joey/clients/ajaxy/dojojoey: Difference between revisions

Jump to navigation Jump to search
 
Line 4: Line 4:
* Reference Manual http://manual.dojotoolkit.org/index.html
* Reference Manual http://manual.dojotoolkit.org/index.html


== Problems FOund and Solutions ==
== History of Development ( problems solutions and notes ) ==


1) Avoid genrating XHTML content with comments in it, Dojo contentpane XHR / parser will get the  content as if it was not a comment. Example:
1) Avoid genrating XHTML content with comments in it, Dojo contentpane XHR / parser will get the  content as if it was not a comment. Example:
Line 13: Line 13:


2) The dojo.io.FormBind can be used to intercept a form and mutate its action events so that the forms submit goes via the Dojo XHR infra. This is good for us, and help us to keep our aspect-driven approach.
2) The dojo.io.FormBind can be used to intercept a form and mutate its action events so that the forms submit goes via the Dojo XHR infra. This is good for us, and help us to keep our aspect-driven approach.
3) setContent(String or DomNode); from contentpane. You can pass the fragment DOM Node or a string and it will parsed.


== Optmizing a Build with Dojo ==
== Optmizing a Build with Dojo ==
773

edits

Navigation menu