Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/layout/ContentPane.js

  • Provides:

    • dojox.layout.ContentPane
  • Requires:

    • dijit.layout.ContentPane in common
    • dojox.html._base in common
  • dojox.layout.ContentPane

    • type
      Function
    • chains:
      • dijit.layout.ContentPane: (prototype)
      • dijit.layout.ContentPane: (call)
    • summary
      cleans content to make it less likely to generate DOM/JS errors.
    • description
      useful if you send ContentPane a complete page, instead of a html fragment
      scans for
      
      * title Node, remove
      * DOCTYPE tag, remove
  • dojox.layout.ContentPane.adjustPaths

    • type
      Boolean
    • summary
      Adjust relative paths in html string content to point to this page.
      Only useful if you grab content from a another folder then the current one
  • dojox.layout.ContentPane.cleanContent

    • type
      Boolean
  • dojox.layout.ContentPane.renderStyles

    • type
      Boolean
    • summary
      trigger/load styles in the content
  • dojox.layout.ContentPane.executeScripts

    • type
      Boolean
    • summary
      Execute (eval) scripts that is found in the content
  • dojox.layout.ContentPane.scriptHasHooks

    • type
      Boolean
    • summary
      replace keyword '_container_' in scripts with 'dijit.byId(this.id)'
      NOTE this name might change in the near future
  • dojox.layout.ContentPane.ioMethod

    • alias - dojo.xhrGet
    • type
      dojo.xhrGet|dojo.xhrPost
    • summary
      reference to the method that should grab the content
  • dojox.layout.ContentPane.ioArgs

    • type
      Object
    • summary
      makes it possible to add custom args to xhrGet, like ioArgs.headers['X-myHeader'] = 'true'
      could put back _renderStyles by wrapping/aliasing dojox.html._ContentSetter.prototype._renderStyles
  • dojox.layout.ContentPane.constructor

    • constructor - constructor
    • type
      Function
  • dojox.layout.ContentPane.onExecError

    • parameters:
      • e
    • summary
      event callback, called on script error or on java handler error
      overide and return your own html string if you want a some text
      displayed within the ContentPane
    • type
      Function
  • dojox.layout.ContentPane._setContent

    • parameters:
      • cont
    • type
      Function
  • dojox.layout.ContentPane._contentSetter

    • type
      Object
  • dojox.layout.ContentPane._contentSetterParams

    • type
      Object
  • dojox.layout

    • type
      Object
  • dojox

    • type
      Object