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

Line 7: Line 7:


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:


  <!-- comments with CSS style rules in it >
  <!-- comments with CSS style rules in it >


It will be rendered as if it was not a comment.  The thing is that Dojo loads the content into the XHR response buffer, parses it and applies to the document. So then some tags in comments will just show..
It will be rendered as if it was not a comment.  The thing is that Dojo loads the content into the XHR response buffer, parses it and applies to the document. So then some tags in comments will just show..
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.


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

edits