Contributor Console Window Context Ensuring the Contributor Console Window is Root
15.4 Using the Contributor Console Window
The Contributor console window must be the root browser window to accommodate logging and to facilitate JavaScript code execution across multiple contexts. If the Contributor console window is not the root browser window, or the chain of linked window objects is broken, the Contributor console window can become orphaned, and will no longer work properly. This section covers the following topics: ■ Section 15.4.1, Contributor Console Window Context ■ Section 15.4.2, Ensuring the Contributor Console Window is Root ■ Section 15.4.3, Practical Use of the Contributor Console Window ■ Section 15.4.4, Orphaned Console Windows15.4.1 Contributor Console Window Context
Individual HTML window objects exist within every browser window, every HTML FRAME element, and every HTML IFRAME element. Site Studio hosts many contexts and many additional contexts are created and destroyed during the course of contribution. In order for these windows to communicate with each other, the contexts must be from the same domain. Since Contributors contexts are of the same domain, the application can dynamically iterate through a linked list of contexts to locate and log to an open Contributor console window.15.4.2 Ensuring the Contributor Console Window is Root
You will not encounter an orphaned Contributor console window scenario if you establish the Contributor console window as the root browser window and then launch new browser windows from the Contributor console window. All new windows, as well as their spawned child windows, will log to the Contributor console window. Establishing the Contributor Console Window as Root Browser Window To establish the Contributor console window as the root browser window, you must navigate directly to the Contributor console window file on the server. Navigating to the Contributor console window will open a Contributor console window in a new browser window. Make sure you close the other window behind the Contributor console window if it is not needed. Launching a New Browser Window from the Contributor Console Window When you launch new browser windows from the Contributor console window, you ensure that the Contributor console window is the root window. To launch a new browser window from the Contributor console window, enter the following JavaScript code snippet in the command window and click Execute: D.launchhttp:www.url.com: The launched window, as well as its spawned children, will all log to the Contributor console window. All spawned windows will log to the Contributor console window if they are of the same domain. Contributor Console Window 15-515.4.3 Practical Use of the Contributor Console Window
Parts
» Oracle Fusion Middleware Online Documentation Library
» About the Site Studio Technical Reference Scope of the Technical Reference About Site Assets
» Page Templates Subtemplates Templates
» Relationship Between Templates and Definitions Serving Web Pages
» xWebsiteSection xWebsites Metadata Fields
» xDontShowInListsForWebsites xRegionDefinition Metadata Fields
» Conversions Definitions About Metadata About Link Formats Using Path-Based Links
» wcmUrl Using Server-Side Script Links
» ssLink ssNodeLink ssWebLayoutUrl Using Server-Side Script Links
» ssLINK ssNODELINK Using Token Links
» sitenavigation.js Runtime Auto-Generated Files
» sitenavigationfunctions.js sitenavigation.xml
» Using JavaScript Links About Runtime Generated Files wcm.toggle.js
» About Fragments Oracle Fusion Middleware Online Documentation Library
» Fragment Libraries Oracle Fusion Middleware Online Documentation Library
» Read-Only Fragment Libraries Fragment Inclusion Using wcmFragment
» Client-Side JavaScript Server-Side Idoc Script
» fragments fragment parameter The Fragment Definition File
» snippet designview element The Fragment Definition File
» Fragment Snippets and the ssIncludeXml Fragment Instance Structure in the ssinfo XML Data Island
» About Native Documents wcmDynamicConversion Document Conversion in the Properties Pane
» Loading the Element API Element API Dependent Scripts
» Communication from a Contributor Form to a Custom Element
» Detecting Legacy Custom Element Forms Upgrading Legacy Custom Elements
» wcmElement wcmListStart wcmListEnd wcmListElement
» wcmUrl ssIncludeXml Oracle Fusion Middleware Online Documentation Library
» ssGetDocInfo ssGetXmlNodeCount ssIncDynamicConversion ssIncDynamicConversionByRule
» ssRandom ssGetNodeProperty ssGetWebsiteNodeType ssGetCoreMajorVersion
» ssSplitString ssGetWebsiteName ssGetSiteProperty ssGetFirstNodeId ssGetRelativeNodeId
» ssLoadSiteNavResultSet ssGetServerRelativeUrl ssGetServerRelativePath ssGetUrlPageName
» ssGetNodeLabel ssGetNodeLabelPath ssGetAllSites ssLink ssNodeLink
» ssWeblayoutUrl About Idoc Script Variables HttpWebsitesRoot HttpRelativeWebsitesRoot
» Services Related to Designer
» SS_ADD_NODE SS_ADD_WEBSITE_ID SS_BATCH_DECODE_LINK SS_CHECKIN_FRAGMENT_LIBRARY
» SS_COMMIT_SITE_CHANGES SS_CREATE_NEW_SITE_EX2 SS_CREATE_SITE_NAV_JS
» SS_DECODE_LINK SS_DELETE_NODE SS_DOC_INFO_LATEST SS_EDIT_NATIVE_DOCUMENT
» SS_GET_DOCUMENT_USAGE SS_GET_ENVIRONMENT_PROPERTY_NAMES SS_GET_FIRST_NODE_ID SS_GET_FRIENDLY_URL
» TARGET SECTION SOURCE SS_GET_PAGE
» SS_GET_NODE_LINK SS_GET_NODE_PROPERTY SS_GET_PLACEHOLDER_SWITCH_CONTENT_CONFIG
» SS_GET_SITE_AS_XML_EX2 SS_GET_SITE_ASSET_CATEGORIES SS_GET_SITE_CHANGE_MONITOR_TOKEN
» SS_PREPARE_PREVIEW SS_PUBLISH_THIS_PAGE SS_REMOVE_WEBSITE_ID SS_SET_ALL_CUSTOM_NODE_PROP_DEFS
» SS_SET_ELEMENT_DATA SS_SET_ENVIRONMENT_PROPERTY_NAMES SS_SET_NODE_PROPERTY SS_SET_NODES_PROPERTIES
» SS_SWITCH_REGION_ASSOCIATION SS_VALIDATE_WEBSITE_OBJECT WCM_PLACEHOLDER
» WCM_EDIT_DATA_FILE WCM_BEGIN_EDIT_SESSION
» Optimization Requirements The Build Process
» Installing the Contributor Console Window Launching the Contributor Console Window
» Contributor Console Window Context Ensuring the Contributor Console Window is Root
» Logging Syntax Time Profiling
» Command Window Helper Functions Keyboard Commands About the Manager Settings File ssm:settings Tag
» ssm:general Tag ssm:addSection Tag
» ssm:primaryLayout Tag ssm:secondaryLayout Tag
Show more