> > Attribute Default Value Description > parseContent (true) > When true, Dojo will parse the response into an XHTML Document Object and > traverse the nodes searching for Dojo Widget markup. The parse and traversal > is performed prior to inserting the nodes into the DOM. This attribute must > be enabled to nest Dojo widgets (dojo tags) within responses. Note that > there is significant performance overhead creating and parsing the document > so switch this feature off when not required. Note also that the response > must be valid XHTML for cross-browser support. >
good > > separateScripts (true) > When true, Dojo will extract the <script> tags from the response, > concatenate the extracted code into one block, create a new Function whose > body is the extracted code and immediately invoke the function. The > invocation is performed after the DOM has been updated with the XHTML. The > function is executed within the scope of the widget (that is, the this > variable points to the widget instance) > see bellow > > executeScripts (false) > When true, Dojo will extract the <script> tags from the response, > concatenate the extracted code into one block and immediately perform an > eval() on that code (run it). The eval() is performed after the DOM has been > updated. Note that the separateScripts takes precedence over executeScripts. > Enable this feature when your response contains TRUSTED inline javascript. > > I think this part is confusing. If separateScripts is false, then what is described above, takes place. executeScripts enables/disables the script execution, and separateScripts says if it is executed in the global scope, using eval, or inside a function, where "this" points to the widget. So, I think merging the 2 explanations would be easier to understand: "separateScripts (true) When true, Dojo will extract the <script> tags from the response, concatenate the extracted code into one block, create a new Function whose body is the extracted code and immediately invoke the function. The invocation is performed after the DOM has been updated with the XHTML. The function is executed within the scope of the widget (that is, the this variable points to the widget instance). When false, Dojo will extract the <script> tags from the response, concatenate the extracted code into one block and immediately perform an eval() on that code (run it). The eval() is performed after the DOM has been updated. Note that the separateScripts takes precedence over executeScripts. Enable this feature when your response contains TRUSTED inline javascript. executeScripts (false) When true, javascript code is extracted from the content end executed. See 'separateScripts' for more details on the scripts are executed." just some ideas. musachy -- "Hey you! Would you help me to carry the stone?" Pink Floyd