Skip to Content | Skip to Navigation


dojox.layout.ContentPane

Project owner:?–
since:V?

dojox.layout.ContentPane is an extension to dijit.layout.ContentPane providing script execution, among other things.

Introduction

TODO: introduce the component/class/method

Usage

TODO: how to use the component/class/method

<script type="text/javascript">
  // your code
</script>

Examples

Programmatic example

TODO: example

Declarative example

TODO: example

See also

  • Executing JavaScript inside Content Panes
  • through the use of the scriptHasHooks setting, a Deferred instance, onLoadDeferred and it’s then() method, you can simulate the dojo.ready behavior from inside the loaded content.
  • An alternative is to set scriptHasHooks=true, and have content like this in your loaded content:
<script>
  dojo.connect(_container_, "onLoad", function(){
     /* your script */
  });
</script>"

This will connect your local function to the onLoad callback of the enclosing ContentPane.