Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Container
        Panel
          Window
            Dialog

Class CQ.Dialog

Package:CQ
Class:Dialog
Subclasses:BrowseDialog, JavascriptEditor, MediaBrowseDialog, ShowHideRuleEditor, UploadDialog, MetadataTemplateWizard, UploadDialog, EditableClickstreamcloud, ProfileLoader, Annotation, AssetReferenceSearchDialog, AuditLogDialog, CreateSiteWizard, CreateVersionDialog, FindReplaceDialog, HeavyMoveDialog, LanguageCopyDialog, Launches.PromoteLaunchWizard, LicenseBox, ReferencesDialog, RestoreTreeDialog, RestoreVersionDialog, Scene7PublishDialog, Sidekick, RolloutPlan, RolloutWizard
Extends:CQ.Ext.Window
Clientlib:cq.widgets
xtype:dialog
The Dialog is a special kind of window with a form in the body and a button group in the footer. It is typically used to edit content, but can also just display information.

Config Options

Config Options Defined By
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  animateTarget : String/Element
Id or element from which the window should animate while opening (defaults to null with no animation).
Window
  cancelText : String
The text for the Cancel button (Defaults to "Cancel").
Dialog
  disabled : Boolean
Render this component disabled (default is false).
Component
  disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
  editLock : Boolean
True to prohibit editing in this dialog.
Dialog
  editLockMode : Boolean
True to enable lock/unlock mode. Contained fields can be enabled/disabled through a lock icon.
Dialog
  formUrl : String
The URL to submit the form data to.
Dialog
  helpPath : String
The path to open when the help button is clicked.
Dialog
  hideAnimDuration : Number
The number of seconds that the window hide animation takes if enabled. Defaults to 0.25
Window
  initHidden : Boolean
Deprecated:
True to hide the window until show() is explicitly called (defaults to true).
Window
  maximized : Boolean
True to initially display the window in a maximized state. (Defaults to false).
Window
  minHeight : Number
The minimum height in pixels allowed for this window (defaults to 100). Only applies when resizable = true.
Window
  minWidth : Number
The minimum width in pixels allowed for this window (defaults to 200). Only applies when resizable = true.
Window
  okText : String
The text for the OK button (Defaults to "OK").
Dialog
  pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
  pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
  path : String
The path to load the content from.
Dialog
  resizable : Boolean
True to allow user resizing at each edge and corner of the window, false to disable resizing (defaults to true).
Window
  responseScope : CQ.Ext.Component
The component to call the success or failure method on.
Dialog
  showAnimDuration : Number
The number of seconds that the window show animation takes if enabled. Defaults to 0.25
Window
  warnIfModified : Boolean
Warn the user if the window is unloaded while this dialog is open and fields are modified. Defaults to true.
Dialog
  x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
  y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent

Public Properties

Property Defined By
  Dialog.CANCEL : String
<static> The value for buttons to create a Cancel button.
Dialog
  Dialog.CANCEL_INHERITANCE : String
<static> The tool tip for the edit lock button to cancel inheritance.
Dialog
  Dialog.DEFAULT_ENCODING : String
<static> The default encoding (UTF-8).
Dialog
  Dialog.INHERITANCE_BROKEN : String
<static> The tool tip for the edit lock button when inheritance is broken at page level.
Dialog
  Dialog.OK : String
<static> The value for buttons to create an OK button.
Dialog
  Dialog.OKCANCEL : String
<static> The value for buttons to create an OK and Cancel button group.
Dialog
  Dialog.REVERT_INHERITANCE : String
<static> The tool tip for the edit lock button to revert inheritance.
Dialog
  buttons : Array
This Panel's Array of buttons as created from the buttons config property. Read only.
Panel
  bwrap : CQ.Ext.Element
The Panel's bwrap Element used to contain other Panel elements (tbar, body, bbar, footer). See bodyCfg. Read-only.
Panel
  collapsed : Boolean
True if this panel is collapsed. Read-only.
Panel
  disabled : Boolean
True if this component is disabled. Read-only.
Component
  editLock : Object
True if editing is prohibited.
Dialog
  editLockMode : Object
True if lock/unlock mode is enabled
Dialog
  form : Object
The form of the dialog.
Dialog
  header : CQ.Ext.Element
The Panel's header Element. Read-only.

This Element is used to house the title and tools


Note: see the Note for el also.

Panel
  hidden : Boolean
True if this component is hidden. Read-only.
Component
  initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
  isPinned : Object
True if the dialog is currently pinned.
Dialog
  items : MixedCollection
The collection of components in this container as a CQ.Ext.util.MixedCollection
Container
  onHide : Object
Method that is called immediately before the hide event is fired. Defaults to CQ.Ext.emptyFn.
Window
  onShow : Object
Method that is called immediately before the show event is fired. Defaults to CQ.Ext.emptyFn.
Window
  path : Object
The path content is loaded from.
Dialog
  refOwner : CQ.Ext.Container The
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component
  responseScope : Object
The component where the success or failure method is called on.
Dialog

Public Methods

Method Defined By

Public Events

Event Defined By