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/form/_SelectStackMixin.js

  • Provides:

    • dojox.form._SelectStackMixin
  • dojox.form._SelectStackMixin

    • type
      Function
    • summary
      Mix this class in to a dijit.form._FormSelectWidget in order to
      provide support for "selectable" multiforms.  The widget is pointed
      to a dijit.layout.StackContainer and will handle displaying and
      submitting the values of only the appropriate pane.
      
      The options for this widget will be automatically set - based on
      the panes that are in the stack container.  The "title" attribute of
      the pane will be used for the display of the option.  The "id" attribute
      of the pane will be used as the value of the option.  In order to
      avoid running into unique ID constraint issues, a stackPrefix mechanism
      is provided.
  • dojox.form._SelectStackMixin.stackId

    • type
      string
    • summary
      The id of the stack that this widget is supposed to control
  • dojox.form._SelectStackMixin.stackPrefix

    • type
      string
    • summary
      A prefix to remove from our stack pane ids when setting our options.
      This exists so that we won't run into unique ID constraints.  For
      example, if stackPrefix is set to "foo_", and there are three panes
      in our stack with ids of "foo_a", "foo_b", and "foo_c", then the values
      of the options created for the stack controller widget will be "a",
      "b", and "c".  This allows you to have multiple select stack widgets
      with the same values - without having to have the panes require the
      same ids.
  • dojox.form._SelectStackMixin._paneIdFromOption

    • parameters:
      • oVal: (typeof String)
    • returns
      String
    • summary
      Gets the pane ID given an option value
    • type
      Function
  • dojox.form._SelectStackMixin._optionValFromPane

    • parameters:
      • id: (typeof String)
    • returns
      String
    • summary
      Gets the option value given a pane ID
    • type
      Function
  • dojox.form._SelectStackMixin._togglePane

    • parameters:
      • pane: (typeof dijit._Widget)
      • shown: (typeof Boolean)
    • summary
      called when a pane is either shown or hidden (so that
      we can toggle the widgets on it)
    • type
      Function
  • dojox.form._SelectStackMixin._connectTitle

    • parameters:
      • pane: (typeof dijit._Widget)
      • value: (typeof String)
    • type
      Function
  • dojox.form._SelectStackMixin.onAddChild

    • parameters:
      • pane: (typeof dijit._Widget)
      • insertIndex: (typeof Integer)
    • summary
      Called when the stack container adds a new pane
    • type
      Function
  • dojox.form._SelectStackMixin._setValueAttr

    • parameters:
      • v
    • type
      Function
  • dojox.form._SelectStackMixin.attr

    • parameters:
      • name: (typeof String|Object)
      • value: (typeof Object)
    • type
      Function
  • dojox.form._SelectStackMixin._savedValue

  • dojox.form._SelectStackMixin.onRemoveChild

    • parameters:
      • pane: (typeof dijit._Widget)
    • summary
      Called when the stack container removes a pane
    • type
      Function
  • dojox.form._SelectStackMixin.onSelectChild

    • parameters:
      • pane: (typeof dijit._Widget)
    • summary
      Called when the stack container selects a new pane
    • type
      Function
  • dojox.form._SelectStackMixin.onStartup

    • parameters:
      • info: (typeof Object)
    • summary
      Called when the stack container is started up
    • type
      Function
  • dojox.form._SelectStackMixin.postMixInProperties

    • type
      Function
  • dojox.form._SelectStackMixin.postCreate

    • type
      Function
  • dojox.form._SelectStackMixin._panes

    • type
      Object
  • dojox.form._SelectStackMixin._subscriptions

    • type
      Array
  • dojox.form._SelectStackMixin.destroy

    • type
      Function
  • dojox.form._SelectStackMixin._handleSelfOnChange

    • parameters:
      • val: (typeof String)
    • summary
      Called when form select widget's value has changed
    • type
      Function
  • dojox.form

    • type
      Object
  • dojox

    • type
      Object