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

Class CQ.wcm.Sidekick

Package:CQ.wcm
Class:Sidekick
Extends:CQ.Dialog
Clientlib:cq.widgets
xtype:sidekick
The Sidekick is a floating helper providing the user with common tools for page editing.

Config Options

Config Options Defined By
  adminText : String
The text for the Websites button (defaults to "Websites").
Sidekick
  adminUrl : String
The URL for the Websites button (defaults to "/siteadmin.html").
Sidekick
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  analyticsText : String
The text for the Analytics button (defaults to "Analytics").
Sidekick
  animateTarget : String/Element
Id or element from which the window should animate while opening (defaults to null with no animation).
Window
  auditDialog : String/Object
The dialog to show when the Audit Log button is clicked (defaults to "/libs/wcm/core/content/tools/auditlogdialog").
Sidekick
  auditText : String
The text for the Audit Log button (defaults to "Audit Log...").
Sidekick
  cancelText : String
The text for the Cancel button (Defaults to "Cancel").
Dialog
  clientContextText : String
The text for the ClientContext button (defaults to "Client Context").
Sidekick
  copyPageText : String
The text for the Copy Page button (defaults to "Copy Page").
Sidekick
  createChildPageText : String
The text for the Create Sub Page button (defaults to "Create Sub Page").
Sidekick
  createText : String
Deprecated: No longer in use.
The text for the Create button (defaults to "Create Page...").
Sidekick
  deactivateText : String
The text for the Deactivate button (defaults to "Deactivate Page").
Sidekick
  deleteText : String
The text for the Delete button (defaults to "Delete Page").
Sidekick
  deleteUrl : String
The URL used to delete pages (defaults to "/bin/wcmcommand?cmd=deletePage").
Sidekick
  designText : String
The text for the Design button (defaults to "Design").
Sidekick
  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
  editText : String
The text for the Edit button (defaults to "Edit").
Sidekick
  formUrl : String
The URL to submit the form data to.
Dialog
  gotoText : String
Deprecated: No longer in use.
The text for the Go To menu item.
Sidekick
  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
  liveCopyStatusText : String
The text for the Live Copy Status button (defaults to "Live Copy Status").
Sidekick
  lockText : String
The text for the Lock button (defaults to "Lock Page").
Sidekick
  lockUrl : String
The URL used to lock pages (defaults to "/bin/wcmcommand?cmd=lockPage").
Sidekick
  locked : Boolean
True if the current page is locked (defaults to false).
Sidekick
  lockedByText : String
The text to display when the user is not allowed to unlock.
Sidekick
  markProductionReadyText : String
The text for the Mark Production Ready button (defaults to "Mark Launch Production Ready").
Sidekick
  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
  miscText : String
The text for the Tools button (defaults to "Tools").
Sidekick
  miscUrl : String
The URL for the Websites button if path starts with /etc (defaults to "/miscadmin.html").
Sidekick
  movePageText : String
The text for the Move Page button (defaults to "Move Page").
Sidekick
  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
  pathParam : String
The parameter name used to send the content path (defaults to "path").
Sidekick
  permsDialog : String/Object
The dialog to show when the Permissions button is clicked (defaults to "/libs/wcm/core/content/tools/permissiondialog").
Sidekick
  permsText : String
The text for the Permissions button (defaults to "Permissions...").
Sidekick
  previewText : String
The text for the Preview button (defaults to "Preview").
Sidekick
  productionNotReadyText : String
The text for the Production Not Ready status (defaults to "Launch is no more Production Ready").
Sidekick
  productionReadyText : String
The text for the Production Ready status (defaults to "Launch marked Production Ready").
Sidekick
  promoteText : String
The text for the Promote button (defaults to "Promote Launch").
Sidekick
  propsDialog : String/Object
The dialog to show when the Properties button is clicked (defaults to "/libs/foundation/components/page/dialog").
Sidekick
  propsText : String
The text for the Properties button (defaults to "Properties...").
Sidekick
  publishText : String
The text for the Publish button (defaults to "Activate Page").
Sidekick
  publishUrl : String
The URL used to publish pages (defaults to "/bin/replicate.json").
Sidekick
  readOnly : String
True to render the Sidekick read-only (defaults to false).
Sidekick
  referencesText : String
The text for the References button (defaults to "Show References...").
Sidekick
  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
  restoreDialog : String/Object
Deprecated: No longer in use.
The dialog to show when the Restore button is clicked (defaults to "/libs/wcm/core/content/tools/restoreversiondialog").
Sidekick
  restoreText : String
The text for the Restore button (defaults to "Restore").
Sidekick
  rolloutText : String
The text for the Rollout button (defaults to "Rollout Page").
Sidekick
  rolloutUrl : String
The URL used to rollout pages (defaults to "/bin/wcmcommand?cmd=rollout").
Sidekick
  scaffoldingText : String
The text for the Scaffolding button (defaults to "Scaffolding").
Sidekick
  showAnimDuration : Number
The number of seconds that the window show animation takes if enabled. Defaults to 0.25
Window
  startWorkflowText : String
The text for the Start Workflow button (defaults to "Start Workflow").
Sidekick
  templateList : String/Object
The list of templates or a URL used to retrieve them (defaults to "/bin/wcmcommand?cmd=getTemplates").
Sidekick
  templateSelectionId : String
The ID of the template selection widget (defaults to "templateselection").
Sidekick
  unlockText : String
The text for the Unlock button (defaults to "Unlock Page").
Sidekick
  unlockUrl : String
The URL used to unlock pages (defaults to "/bin/wcmcommand?cmd=unlockPage").
Sidekick
  unmarkProductionReadyText : String
The text for the Unmark Production Ready button (defaults to "Unmark Launch Production Ready").
Sidekick
  versionDialog : String/Object
Deprecated: No longer in use.
The dialog to show when the Version button is clicked (defaults to "/libs/wcm/core/content/tools/createversiondialog").
Sidekick
  versionList : String/Object
The list of versions or URL used to retrieve them (defaults to "/bin/wcmcommand?cmd=getRevisions").
Sidekick
  versionSelectionId : String
The ID of the version selection widget (defaults to "versionselection").
Sidekick
  versionText : String
The text for the Version button (defaults to "Create Version...").
Sidekick
  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
  Sidekick.AUDIT : String
<static> The value for actions to create an Audit log button.
Sidekick
  Sidekick.CLASSNAME : String
<static> The name of the Sidekick CSS class.
Sidekick
  Sidekick.COLLAPSE_COOKIE : String
<static> The name of the cookie holding if the sidekick is collapsed.
Sidekick
  Sidekick.COLLAPSE_COOKIE_PATH : String
<static> The path for of the cookie holding if the sidekick is collapsed.
Sidekick
  Sidekick.COMPONENTS : String
<static> The context value for actions to appear on the components tab.
Sidekick
  Sidekick.COPYPAGE : String
<static> The value for actions to create a Copy Page button.
Sidekick
  Sidekick.CREATE : String
Deprecated: No longer in use.
<static> The value for actions to create a Create button.
Sidekick
  Sidekick.CREATECHILDPAGE : String
<static> The value for actions to create a Create Sub Page button.
Sidekick
  Sidekick.DEACTIVATE : String
<static> The value for actions to create a Deactivate button.
Sidekick
  Sidekick.DELETE : String
<static> The value for actions to create a Delete button.
Sidekick
  Sidekick.INFO : String
<static> The context value for actions to appear on the information tab.
Sidekick
  Sidekick.LOCK : String
<static> The value for actions to create a Lock button.
Sidekick
  Sidekick.MOVEPAGE : String
<static> The value for actions to create a Move Page button.
Sidekick
  Sidekick.PAGE : String
<static> The context value for actions to appear on the page tab.
Sidekick
  Sidekick.PERMS : String
<static> The value for actions to create a Permissions button.
Sidekick
  Sidekick.PRODUCTION_READY : String
<static> The value for actions to create a (Un-)Mark Production Ready button.
Sidekick
  Sidekick.PROPS : String
<static> The value for actions to create a Properties button.
Sidekick
  Sidekick.PUBLISH : String
<static> The value for actions to create a Publish button.
Sidekick
  Sidekick.REFERENCES : String
<static> The value for actions to create a References button.
Sidekick
  Sidekick.RESTORE : String
Deprecated: No longer in use.
<static> The value for actions to create a Restore button.
Sidekick
  Sidekick.ROLLOUT : String
<static> The value for actions to create a Rollout button.
Sidekick
  Sidekick.SCROLLPOS_COOKIE : String
<static> The (base) name of the cookie holding the position of the content scroll.
Sidekick
  Sidekick.START_WORKFLOW : String
Deprecated: No longer in use.
<static> The value for actions to create a Properties button.
Sidekick
  Sidekick.VERSION : String
Deprecated: No longer in use.
<static> The value for actions to create a Version button.
Sidekick
  Sidekick.VERSIONING : String
<static> The context value for actions to appear on the versioning tab.
Sidekick
  Sidekick.WORKFLOW : String
<static> The context value for actions to appear on the workflow tab.
Sidekick
  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
  locked : Object
True if the current page is locked (defaults to false).
Sidekick
  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