Method Summary
|
public Object |
addBusyStateListener(Object instance, Function listener)
-
Adds a listener to be invoked whenever there is a busy state event.
|
public Object |
addComponents(Object components)
-
Add the list of components as varargs to be managed by the Page
|
private Object |
_addDelayedMessages(Object showMessages)
-
Allow lazy content loaded components to ensure all messages for its children components are added once the children's client components are loaded.
|
public Object |
addEventListener(Object eventType, Object listener, Object instance)
|
public Object |
addMessage(String componentId, AdfFacesMessage facesMessage, Object toBeRemoved)
-
Adds a Message to AdfDhtmlPage's message queue.
|
private Object |
_addPageId(Object headerParams)
|
private Object |
_addPageStateIdField(Object id)
|
private static Object |
_addPageStateIdParameter(Object formElem, Object params)
|
public Object |
addPartialTargets(Object components)
-
Adds the components to the set of components that will be redrawn on the next communication with the server.
|
private Object |
_addPendingStreamingIDs(Object arr, Object params)
|
Object |
__addPopupInfo(Object component, Object popupInfo)
-
Called by AdfRichUIPeer to inform the page of popped up content
|
public Object |
addPropertyChangeListener(Object instance, Function listener)
-
Adds a PropertyChangeListener with the specified instance and listener function
|
public Object |
addResource(Object type, Object value)
-
Adds either a JavaScript script or CSS link to the page.
|
static Object |
__addServerParamsToEvent(Object event, Object params)
-
A back door for a peer to add extra parameters to an event by attaching them to the event object.
|
private static Object |
_addStateParameter(Object formElem, Object params)
|
boolean |
__alert(String title, String message, Function callback)
-
Launches a modal inline popup alert dialog.
|
public Object |
announceToAssistiveTechnology(Object message, Object onlyIfChanged)
-
Issues an announcement for AT users using our "status" live region.
|
private Object |
_appendParameter(Object form, Object name, Object value)
|
private Object |
_appendResponseId(Object url)
-
Append response identifier to the URL.
|
private static Object |
_appendUrlFormEncoded(Object buffer, Object key, Object value)
|
Object |
__applyNewPageStyleSheets(Object newStyleSheetURIs)
-
Called by the server to apply any new skin stylesheets when ppr navigating This function determines the current set of skin style sheets, intersects the result with the new set of style sheets and makes any changes.
|
private Object |
_applyRichResponse(Object documentElement, Object needsUnescape, Object isStreaming, Object reqContext)
-
Applies rich postback response
|
private Object |
_areComponentsLoaded()
-
Loop over the loading components, returning true if all of them are loaded.
|
public Object |
areCssSelectorsUncompressed()
-
Tests if css selector compression is disabled for the page.
|
private Object |
_areSynchronousTimersCleared()
-
Used in isSynchronizedWithServer to wait for timers which need to considered.
|
private Object |
_attemptToRelayoutForNewlyCompleteImages()
|
private Object |
_blockUI(Object block, Object reason)
-
Prevents the user from interacting with the client UI.
|
private Object |
_broadcastBusyStateEvent(Boolean newBusyState)
-
=-= Unsupported, internal implementation method.
|
static Object |
__callTimerCallback(Object timerId)
-
Calls the callback specified for the timer in the correct state.
|
public static Object |
cancelAllPopupsCallback(Object currComponent, Object callbackParameters)
-
This callback can be passed to ComponentsInSubtreeCallback in order to cancel popups
|
public Object |
cancelTimer(Object timerId)
-
Cancels the firing of the specified timer.
|
private Object |
_checkCoreBackgroundLoaded(Object forceLoad)
|
private Object |
_checkDirtyDataComponents()
|
private Object |
_checkForHighContrastInBrowser()
-
Private method run during the body's onLoad to verify if the client is registered as being in high contrast mode.
|
public Object |
checkRegionUncommittedData(Object regionClientIds, Object message)
-
Displays uncommitted data warning for regions.
|
private Object |
_checkResizeNotifyCallback()
|
private Object |
_checkResizeNotifyDelayed()
|
Object |
__checkRichResponseDirty()
|
public Object |
checkUncommittedData(Object regionMessageCallback)
-
Displays uncommitted data warning if <af:document> has uncommittedDataWarning="on", and the page contains uncommitted data (either on the client or on the server).
|
private Object |
_clearAllDelayedMessages()
-
Clears all of the delayed messages for a particular page.
|
public Object |
clearAllMessages()
-
Clears all of the messages for a particular page.
|
private Object |
_clearDelayedMessages(String componentId)
-
Clears delayed messages array for a component id
|
Object |
__clearDnDContext()
|
private Object |
_clearFloatingDiv(Object floatingDiv)
-
Removes the conteiner content of the floating div
|
public Object |
clearMessages(String componentId)
-
Clears a messages for a particular component id.
|
private Object |
_clearStatusRegion()
|
public Object |
clearSubtreeMessages(String rootId)
-
Clear the messages for a subtree of components, including the root of the subtree
|
private Object |
_collectCss()
|
private Object |
_collectPostbackParams(Object actionForm, Object eventTargets)
|
private Object |
_collectProtectionKeys(Object formParams, Object actionForm)
-
Collect protectionKeys for all the input controls
|
protected Object |
ComponentsInSubtreeCallback(Object targetDomElement, Object callback, Object callbackParameters)
-
Calls the callback for components in the subtree
|
boolean |
__confirm(String title, String message, Function callback, int timeout, Object disableCancel)
-
Launches a modal inline popup confirm dialog.
|
public Object |
confirmNavigation(Object token, Object isPartial)
-
This method gets called when the user should be asked to confirm server-side navigation.
|
public Object |
createFloatingDiv(Object parent, Object zIndex, Object className)
-
Creates a floating div with the specified zIndex and style class for the included span
|
private Object |
_createGlassPane(Object ownerDocument)
|
private Object |
_createLink(Object href, Object extraProps)
-
Creates a link with the specified href, adding on any extra properties as attributes
|
public Object |
createMaskingFrame(HTMLElement element)
-
Creates a masking IFrame underneath a floating element.
|
private Object |
_createStyle(Object content)
|
public Object |
decrementPendingAnimation()
-
Remove one from the number of pending animations.
|
private Object |
_delayedOnResize()
|
private Object |
_delayMessageForComponent(Object componentId, Object facesMessage, Object title)
-
Add a message as delayed since the target client component is not available
|
private Object |
_deliverAllQueuedEvents()
|
public Object |
deliverEventToNewWindow(Object event)
-
Delivers a single event synchronously to a new window.
|
private Object |
_deliverQueuedEvents()
-
Deliver queued events to their sources for broadcast
|
private void |
_deliverQueuedServerEvents(boolean checkEventAndDelta, boolean pageUnloading)
-
Deliver all of the events in the server event queue.
|
private static Object |
_descendantResizeNotifyListComparator(Object itemA, Object itemB)
|
Object |
__disableDirtyDataRetainPPR()
|
private Object |
_disableUncommittedWarnings()
|
private Object |
_displayRegionUncommittedDataWarning(Object message)
|
private Object |
_displayUncommittedDataWarning(Object message)
|
protected Object |
Dispose()
-
Tear down the Rich Client environment
|
private static Object |
_disposeIFrames(Object domDocument)
-
Cleanup code to remove all IFrames This cleans up IFrame leaks in IE
|
private Object |
_disposeTimers()
-
Clean up all of the outstanding timers
|
Object |
__doDescendantResizeNotify()
-
=-= Unsupported, internal method per Andy and Blake discussion.
|
private Object |
_doDescendantResizeNotifyOnQueue(Object descendantResizeNotifyQueue)
|
private Object |
_doFullPostback(Object formElement, Object params, Object blockUI, Object responseExpected)
|
public Object |
doRedirect(Object url, Object noNavigation)
-
Redirects to a supplied url
|
public Object |
doResizeNotify(AdfUIComponent component)
-
Performs the resize notify traversal on the subtree rooted at the specified component.
|
private Object |
_doResizeNotify(Object domNodes)
|
private static Object |
_doResizeNotify(Object node, Object forceResize, Object checkAll)
|
public Object |
doResizeNotifyDom(Object domNode, Object forceResize)
-
Performs a resize notify traversal for the subtree rooted at the specified DOM node.
|
private Object |
_doResizeNotifyDomChildren(Object domNode, Object resizeNotifyNode, Object checkDescendents)
|
private Object |
_doRichPostback(HTMLElement formElement, Object params, Object headerParams, Object blockUI, Object context, Array<String> eventTargets)
-
Perform a rich postback
|
private Object |
_dragKeyDown(Object evt)
|
private Object |
_dragMouseMove(Object evt)
|
private Object |
_dragMouseUp(Object evt)
|
private Object |
_dtsStateChanged()
-
Called when Data Transfer Service's status changes from READY to BUSY or vice versa When the state becomes READY, we check whether there are any queued server events
|
Object |
__enableDirtyPostbackPayloads()
|
Object |
__ensureCoreBackgroundLoaded()
|
private static Object |
_eraseCookie(Object domDocument, Object name)
-
Erase the cookie, by setting its expiration to a past time.
|
private Object |
_eventLoopDeliverEvents()
-
Called from the event loop to dispatch events to the components and server
|
private static Object |
_extractInstructionXML(Object responseText, Object element)
|
private Object |
_filterComponent(Object component, Object domElement, Object filterFunction, Object filterContext)
|
private Object |
_filterEditableSubtree(Object subtree, Object filterFunction, Object filterContext)
-
Recursively add all of selectable and editable the styles from a subtree
|
public AdfUIComponent |
findComponent(String clientId)
-
Retrieves a component by its clientID.
|
private String |
_findComponentAbsoluteLocator(String clientId)
-
Retrieves a component's absolute locator from the cache by its clientID.
|
public AdfUIComponent |
findComponentByAbsoluteLocator(String absoluteLocator)
-
Retrieves a component by its absolute locator.
|
public Object |
findComponentByComplexLocator(Object locator, Object backupInfo)
-
This method allows for "wildcard" searches.
|
public AdfUIComponent |
findComponentOrAncestorByAbsoluteLocator(String absoluteLocator)
-
Retrieves a component or one of its ancestors by its absolute locator.
|
public Object |
findComponentsByComplexLocator(Object locator, Object backupInfo)
-
This method is the same as findComponentByComplexLocator except that it returns an array of matching components (i.e.
|
public Object |
findComponentWithBackup(Object locator, Object backupInfo)
-
Returns a component matching either the locator or the backup information.
|
private HtmlElement |
_findFirstAdfForm()
|
private Object |
_fixupLinkOnClick(Object element)
|
private Object |
_flushMessageComponentNotifications()
-
Flush the component's messages notifications into component.
|
public Object |
flushToAssistiveTechnology()
|
private static Object |
_forceGC(Object count)
-
Code for forcing a GC
|
private Object |
_forcePreloadOfAllImages()
|
public String |
getAbsoluteLocator(Object component)
-
Returns the absolute locator, an implementation-agnostic String identifier.
|
public Object |
getAccessibilityMode()
-
Returns the accessibility mode.
|
public AdfUIComponent |
getActiveComponent()
-
Returns the AdfUIComponent with the current focus
|
public String |
getActiveComponentId()
-
Returns the id of the currently focused component on the page.
|
public Object |
getActiveDataSupport()
|
public Node |
getActiveDomElement()
-
Returns the DOM Element with the current DOM focus
|
public Object |
getAllMessages()
-
Return an object containing all messages keyed by componentID and containing an array of FacesMessages.
|
private Object |
_getAndClearDeltas(Object doClear)
|
public String |
getAsynchronousUpdatesState()
-
Gets the state of Asynchronous updates for the page.
|
public AdfAutoDismissalManager |
getAutoDismissalManager()
-
Returns the autoDismissal manager for this page.
|
private Object |
_getClientIdFromComment(Object comment)
-
Returns the clientId, if any, represented by a DOM comment Node
|
public Object |
getClientIdsWithMessages(Object rootId)
-
Return an array of the client identifiers for which at least one FacesMessage has been queued.
|
private Object |
_getClientIdToAbsoluteLocatorMap()
-
Internal function for retrieving a named map of client IDs to client component absolute locators.
|
public Object |
getClientIdToComponentMap()
-
Internal function for retrieving a named map of client IDs to client components.
|
private Object |
_getComponentFromComment(Object comment)
-
Returns the component, if any, represented by a DOM comment Node
|
public Object |
getComponentIdsUpdatedByPollEvent()
-
Returns a list of components ID that were update by the last Poll event.
|
public Object |
getComponentsByType(Object componentType)
-
Returns an array of component instances, whose component type matches the argument.
|
private static Object |
_getCookie(Object domDocument, Object name)
-
Returns the value of a cookie or null if the cookie doesn't exist.
|
public AdfDataTransferService |
getDataTransferService(Object noCreate, Object adsDTS, Object uploadDTS)
-
Returns the AdfDataTransferService instance for this page.
|
public String |
getDefaultMessageHandlerComponentId()
-
Retrieves the component ID that is the default message handler (for global messages).
|
private Object |
_getDefaultPostbackURL()
|
private Object |
_getDelayedResizeCallback()
|
private Object |
_getDirtyRegionIds()
-
Returns an array or client Ids for regions that have uncommitted data or null if there is none
|
public Object |
getDirtyStateService()
|
public Object |
getDnDContext()
-
Returns the current Drag and Drop context, associated with the page
|
public Object |
getDocument()
-
Returns the DOM Document that the AdfPage is associated with
|
public String |
getDocumentClientId()
-
Internal function to retrieve the document component's client ID.
|
public Object |
getDomDocument()
|
public Object |
getDomWindow()
|
private Object |
_getEditableEventTargetComponents(Array<String> eventTargets)
-
Given an array of event target ids, returns a non-null array containing any corresponding AdfUIEditableValue components.
|
private Object |
_getEditableFieldSelectionRange(HTMLElement domElement)
-
Gets the selection range for an editable component element.
|
public AdfUIComponent |
getEditableSubtree()
-
Returns the root of the component subtree that inline-editing is allowed on
|
private Object |
_getEditableSubtrees(String subtreeId, boolean returnAnchors)
-
Given a DOM id, return all of the subtrees that should be inside this subtree.
|
public AdfUIComponent |
getEditedComponent()
-
Returns the current component being edited.
|
private Object |
_getExistingStyleSheetElements()
-
returns the array of stylesheet LINK elements in the head
|
public Object |
getFacesPath()
-
Internal method to retrieve the faces path for the page.
|
public Object |
getFailedConnectionText()
-
Gets the text to display in an alert if the XMLHttpRequest fails.
|
private Object |
_getFilterResult(Object component, Object filterFunction, Object filterContext)
|
private Object |
_getFirstElementFromFragment(Object fragmentNode, Object needsUnescape)
|
private static Object |
_getFirstElementWithId(Object domNode)
|
private Array<HTMLElement> |
_getFocusPath()
-
Returns the current focus path, divorced of the actual DOM elements, so that the focus can be reapplied after the DOM has changed.
|
private static Object |
_getFormElement(Object component)
-
Returns the form element for a component
|
public Object |
getGlassPane()
-
Returns the GlassPane, creating it if it hasn't already been created
|
private Object |
_getHead()
|
Object |
__getLastDomEvent()
-
Get access to the last DOM event that was fired by the browser
|
public HTMLElement |
getLastFocusedElement(Object element)
-
Gets the last focused element.
|
public Object |
getLazyFetchURI(Object id)
-
Returns a URI for a lazy fetch request (used for loading Rich Text Editor's IFRAME)
|
private Object |
_getLinkChildren(Object ancestor)
|
private Object |
_getMaxType()
|
public String |
getMessageHandlerSlaveComponentId()
-
Retrieves the component ID that is the slave to the default message handler (provides configuration attributes that the default handler can consume).
|
public Array |
getMessages(Object componentId)
-
Get FacesMessage objects associated with a particular component.
|
public AdfDhtmlModalityManager |
getModalityManager()
-
Returns the modality manager for this page.
|
public Object |
getOutputMode()
-
Called by server to set the outputMode
|
public Object |
getPageId()
-
get the page instance Id
|
public Object |
getPageProperty(Object propertyName)
-
Gets the value of a page property.
|
public int |
getPageStateId()
|
private Object |
_getParameterElement(Object form, Object name)
|
public AdfDhtmlPositionManager |
getPositionManager()
-
Returns the position manager for this page.
|
private Object |
_getPostbackContent(HTMLElement actionForm, Object params, Array<String> eventTargets)
-
Returns the payload to include in the rich postback
|
public Object |
getPPRNavigationOptions()
-
Retrieves PPR Navigation options
|
private Object |
_getPPRURL(Object element)
|
private Object |
_getProcessedRootsInfo(Object documentElement)
|
private Object |
_getPublicAncestor(Object component)
|
private Object |
_getQueryParamsFromActionUrl()
|
public Object |
getResourceURL(Object path)
-
Returns the resource URL for the given path.
|
public Object |
getResponseIdentifier()
-
Returns an identifier for the previous response if one is available.
|
public Object |
getRestDataService()
-
Returns the {AdfRestDataService} instance for the page.
|
public String |
getRootClientId()
-
Returns the value of the rootClientId, if set
|
private Object |
_getScriptLoadingService()
|
public Array<AdfUIComponent> |
getSelectedEditingComponents()
-
Returns the array of AdfUIComponents currently selected for inline editing, or null if no AdfUIComponents are selected.
|
public Object |
getSessionIdentifier()
-
Returns an identifier for the current middle-tier session if one is available.
|
Object |
__getSessionTimeoutHelper()
-
Gets the helper object that manages session timeout
|
private Object |
_getSubtreeRootNode(Object rootId)
|
private static Object |
_getTargetWindow(Object target, Object domWindow)
|
public Object |
getUncommittedRegionIds()
-
Determines which regions (if any) contain uncommitted data.
|
Object |
__getUserInactivityTimeoutHelper()
-
Return an instance of AdfUserInactivityTimeoutHelper if user inactivity timeout feature is enabled.
|
public Object |
getViewId()
-
Returns an identifier for the current view being displayed in the page.
|
public Object |
getWindowId()
-
convenience method for getting the window ID, i.e.
|
public AdfDhtmlZOrderManager |
getZOrderManager()
-
Returns the z-order manager for this page.AdfDhtmlPage().
|
private Object |
_handleBeforeUnload(Object evt)
-
the onbeforeunload event handler we attach to window
|
Object |
__handleGlobalError(String msg, String url, int line)
-
This method is caleld from the onerror handler used when test automation is enabled (see bug #9939286)
|
private Object |
_handleInvalidPprResponse(Object responseText, Object requestContext, Object requestEvent)
-
Called when we receive invalid (non-XML) response to PPR or streaming request
|
private Object |
_handleKey(Object event)
-
Checks whether the key matches a registered global key handler
|
private static Object |
_handleMessage(Object event)
-
Listens for the "_adfShowBody" message from a whitelisted frame
|
Object |
__handleNavigation(Object url, Object target)
-
Handle GET request triggered by clicking Faces navigation components.
|
private Object |
_handleRedirect(Object responseDocument)
|
void |
__handleReload()
-
This is called from two locations to force the page to be reloaded:
|
private Object |
_handleResize()
-
Called when the window is resized
|
private Object |
_handleRichResponse(Object responseDocument, Object reqContext)
|
Object |
__handleRichResponseAction(Object action, Object pprAction)
|
private Object |
_handleRichResponseFragment(Node fragmentNode, Array<HTMLElement> resizeDomNodes, Object domReplacedIds, Boolean needsUnescape, Array<HTMLElement> savedFocusPath, Boolean isStreaming, Object replacedDirtyValues, Object oldValues, Object selectionRanges)
-
Handles a single fragment node in a rich response.
|
private Object |
_handleRichResponseLibrary(Object scriptNode, Object loadInTheBackground)
|
private Object |
_handleRichResponseScript(Object scriptNode)
|
public Object |
handleStreamingResponse(Object doc, Object id, Object needsUnescape)
-
Called when a single streaming data fragment has arrived This function will be called form a script block embedded in the XHTML content sent over the streaming IFRAME
|
public Boolean |
hasMessages(String componentId)
-
Returns true if this particular component has messages or false if it does not.
|
public Object |
hideFloatingDiv(Object floatingDiv)
-
Hide's a floating Div and cleans out its content
|
public Object |
hideGlassPane(Object listenerMap)
-
Hide the GlassPane, removing all of the listeners in the listener map
|
public Object |
incrementPendingAnimation()
-
Add one to the number of pending animations.
|
protected Object |
Init(Object lookAndFeel, Object domWindow)
-
Initializes the instance.
|
protected static Object |
InitClass()
-
Initializes the AdfDhtmlPage class
|
Object |
__initializeSessionTimeoutTimer(Object timeout, Object warningBeforeTimeout, Object newSessionURL)
-
Initializes the session timer on the client side, and shedules showing the session timeout warning and final timeout dialog.
|
Object |
__initUncommittedDataWarningForDocument(Object enabled)
-
Initializes uncommitted data warning facility for the document
|
Object |
__initUserInactivityTimeout(Object userInactivityTimeout)
-
Called by "DocumentRenderer" to initialize the user inactivity timeout for active components, like and ADS.
|
private Object |
_inlineSelectionListener(Object event)
-
Event capture listener used to select and start editing of components when we are in editing mode
|
private static Object |
_inlineSelectionStub(Object event)
-
Event capture stub used with in-place editing.
|
private static Object |
_insertReduce(Object state, Object createURL)
-
Reduce callback for inserting new skin stylesheets
|
private Object |
_installBlockingHandler(HTMLDocument ownerDocument)
-
Creates a blocking pane, masking frame and installs keyboard blocking.
|
private Object |
_intersectSelectionWithEditableSubtree(AdfUIComponent editableSubtree, Object selection)
-
Given the proposed selected components, returns an array of those that are in the editable subtree.
|
private Object |
_intersectSelectionWithEditableSubtreeDom(Object editableSubtreeDom, Object selection)
-
Given the proposed selected components, returns an array of those that are in the editable subtree.
|
public Object |
isActiveDataSupported()
|
private Object |
_isAdfForm(Object form)
|
private Boolean |
_isAncestorComponent(AdfUIComponent possibleAncestor, AdfUIComponent possibleChild)
-
Returns true if the possibleAncestor is an ancestor of component
|
private Boolean |
_isAncestorComponentOrSelf(AdfUIComponent possibleAncestor, AdfUIComponent possibleChild)
-
Returns true if the possibleAncestor is an ancestor of component or the component iself.
|
private static Object |
_isAncestorForResize(Object ancestorNode, Object node, Object rootNode)
-
Checks to see if the "ancestorNode" is a ancestor of "node".
|
private Object |
_isAncestorOrSelf(Object ancestorClientId, Object node)
-
Internal helper method to check if a DOM node identified by ancestorClientId is ancestor of another node or not.
|
public Object |
isAnimationEnabled()
-
Tests if animation is enabled for the page.
|
public Object |
isAttachmentMode()
-
Tests whether the page is running in attachment output mode.
|
public Object |
isAutomationEnabled()
-
Tests if automation is enabled for the page.
|
private Boolean |
_isComponentInlineSelectable(HTMLElement componentDomElement)
-
Determines whether the component is inline selectable based on the presence of style classes on the component's DOM
|
public boolean |
isCoreBackgroundScriptLoaded()
|
private Object |
_isDestinationLocal(Object destinationUri)
|
private Object |
_isDirtyDataRetainPPRDisabled()
|
Object |
__isDirtyPostbackPayloadsEnabled()
|
public Object |
isDragging()
-
Determines whether a drag operation is in progress
|
public Object |
isHighContrast()
|
private Object |
_isImmediateEditableValueComponent(Object clientId)
-
Check whether the component identified by the clientId has immediate set to true.
|
public Boolean |
isPageFullyLoaded()
-
Automation tools such as selenium use this function to verify that our rich page has successfully loaded.
|
public Boolean |
isPageOnloadCalled()
|
public Boolean |
isPerformingFullSubmit()
|
public Boolean |
isPortlet()
-
Returns whether or not this Page is in a Portlet context based on an internal flag.
|
public Boolean |
isPPRNavigationEnabled()
-
Returns whether or not PPR-Navigation is enabled.
|
private boolean |
_isPrintablePage()
|
public Object |
isProcessingIndicatorDisplayed()
-
Returns whether the processing indicator is displayed or not
|
private Object |
_isRichResponseDirty()
|
public Object |
isScreenReaderMode()
-
Deprecated: ADF no longer supports a separate mode for screen readers, but instead renders screen reader compatible conten in regular rich mode.
|
public Object |
isStreamingDisabled()
-
Determines whether table data streaming is disabled
|
public Object |
isStreamingRequestPending(Object id)
-
Returns true if there is a streaming request for this client ID
|
public Boolean |
isSynchronizedWithServer()
-
The logic for checking for completion of a full page postback has been combining with the logic to check for a partial page postback.
|
private Object |
_isTrackingDirtyData()
|
private Object |
_isTrackingDocumentUncommittedData()
|
private Object |
_isTrackingRegionClientUncommittedData()
|
private Object |
_isTrackingRegionUncommittedData()
|
private Boolean |
_isUIBlocked(Object reason)
-
Returns whether the UI is currently blocked in the rich page.
|
private Object |
_isUncheckedInput(Object inputElement)
|
public Object |
isUserActivityMonitoringOn()
|
private Object |
_jsfAjaxAddOnError(Object callback)
|
private Object |
_jsfAjaxAddOnEvent(Object callback)
|
private Object |
_jsfAjaxRequest(Object source, Object event, Object options)
|
private static Object |
_keyEventCallback(Object event)
-
Static stub callback for ensuring that we have an event and using the correct "this"
|
public Object |
launchHelpWindow(Object url)
-
Method that will launch the help window given a url.
|
private Object |
_loadBackgroundScript(Object source)
|
Object |
__loadCoreBackgroundScript(Object url)
|
private Object |
_loadCss(Object source)
|
Object |
__loadJavaScriptInBackground(...string scripts)
-
Causes JS files to be loaded in the background.
|
private Object |
_loadScript(Object source)
|
private Object |
_loadSynchronousScript(Object source)
|
public Object |
loadView(Object viewId, Object params, Object loadId, Object pageId)
-
This function is called by AdfNavigationHistoryAgent when it needs to load a new view
|
public Object |
localNavigate(String uri)
-
Issue a GET request for a local page and perform a page transition.
|
public Object |
logAsGlobalError(Object e)
|
private Object |
_logAsGlobalError(Object e)
|
public Object |
mapComponent(Object clientId, Object component)
-
Adds a component to the clientID map.
|
private Object |
_mapComponentAbsoluteLocator(Object clientId, Object locator)
-
Adds an absolute locator to the clientID absolute locator map.
|
private Object |
_mapInputElementToComponent(Object inputElement)
|
private Object |
_marshallMultipleEventParameters(Object paramList)
|
public Array |
matchComponents(Function filterFunction, Object context)
-
Visits the components in the page in arbitrary order, returning the array of components matching a filter condition.
|
private Object |
_mergeFormParamValues(Object oldValue, Object newValue)
|
public Object |
moveMaskingFrame(Object element, Object maskFrame)
-
Moves a masking IFrame underneath a floating element.
|
private Object |
_navResetPage()
|
private Object |
_nodeListToArray(Object nodeList)
|
private Object |
_notifyComponentEventListeners(Object componentEvent)
|
private Object |
_notifyComponentMessaging(Object componentId)
-
Notifies a component that its message queue has changed
|
void |
__notifyReturnFromDialog()
-
Called when the DialogService closes the dilaog programmatically within a partial request.
|
void |
__notifyWindowClose(string returnId)
-
Queues the header parameters needed to process a window closed notification with the next trip to the server.
|
Object |
__notifyWindowCloseImmediately(Object windowClosed, Object returnId)
-
this method notifies the server about window closed event.
|
public void |
notifyWindowUnloaded()
-
Send window-unloaded notification if necessary
|
Object |
__onLoad()
-
Called when the window first loads.
|
private Object |
_onLoadPerfTimings()
|
private Object |
_onResize()
|
private Object |
_onSelectStart()
-
Cancel drag selection if we're already dragging
|
public Object |
pageIdNotSavedWithURI()
-
Specifies that page Id should not be saved with the URI
|
Object |
__perfTimings(Boolean closeRecord, Boolean closeBefore, Boolean timing, String str1, String str2)
-
For performance timings.
|
private Object |
_positionBlockingGlassPane(Boolean assumeVisible)
-
Position the blocking pane to fill the visible area of the window.
|
private Object |
_positionGlassPane(Boolean assumeVisible)
-
Position the GlassPane to fill the visible area of the window.
|
private Object |
_postOrderPopulate(Object targetNode, Object depth, Object depthArrays, Object ignoreHidden)
|
private Object |
_postOrderPopulateComponent(Object clientId, Object depth, Object depthArrays)
|
public Object |
preloadImages()
-
Requests that the page attempt to preload/force loading for all images present in the DOM on document ready.
|
private Object |
_prepareForIncompleteImages()
|
public void |
prepareMaskingFrame(HTMLElement element)
-
Makes sure that a masking frame is available in the maskFramePool, in anticipation of an upcoming call to createMaskingFrame method.
|
private Object |
_processValidators(Object sourceComponent, Object eventRoots, Object onlyImmediate)
|
private Object |
_pushEditableComponent(Array<AdfUIEditableComponent> editableComponents, String clientId)
-
Determines whether the specified client id corresponds to an AdfUIEdtiable component and if so pushes it into an array.
|
Object |
__queueDescendantResizeNotifySource(AdfUIComponent component)
-
=-= Unsupported, internal method per Andy and Blake discussion.
|
public Object |
queueEvent(Object event)
-
Queues the specified event for delivery during the next event delivery phase.
|
Object |
__queueEventTimerIfNeeded(Object timeout)
-
Queue a timer to run the event thread.
|
public Object |
queueEventToServer(Object event)
-
Queues an event for later delivery to the server
|
private void |
_reattachInlineEditing(Array pendingEditableSubtrees)
-
Filters pending editable subtree notes after the complete response has been applied to the document.
|
private void |
_redistribute(HTMLDomEvent event)
-
Converts the native dom event into a AdfComponentEvent that is queueed and then sent to the target component.
|
Object |
__registerDescendantResizeNotifyComponent(AdfUIComponent component)
-
=-= Unsupported, internal method per Andy and Blake discussion.
|
public Object |
registerDirtyDataComponent(AdfUIComponent component, Object level)
-
Registers a component with special dirty data handling.
|
private Object |
_registerGetRequestNavigationTracking()
|
public Object |
registerKeyStroke(AdfKeyStroke keystroke, Function callback, Object callbackContext)
-
Registers a global keyboard shortcut/accelerator.
|
public Object |
registerLoadingComponent(AdfUIComponent component)
-
Registers a component that isn't fully loaded on creation with the framework.
|
Object |
__registerRegionClientUncommittedDataTracking(Object clientId)
|
public Object |
registerResizeNotifyComponent(AdfUIComponent component)
-
Register a component to recieve resize notification when the browser window is resized.
|
private static Object |
_removeAllFormElements(Object formObject)
-
remove all form elements, such as inputs requires a valid form object to be passed in
|
private Object |
_removeBlockingHandler(HTMLDocument ownerDocument)
-
Removes the blocking pane and masking frame.
|
public Object |
removeBusyStateListener(Object instance, Function listener)
-
Removes a listener so that it will no longer be invoked whenever there is a busy state event.
|
public Object |
removeComponentsInSubtree(Object targetDomElement)
-
Removes all of the componetns in the subtree specified by the clientId
|
public Object |
removeEventListener(Object eventType, Object listener, Object instance)
|
private static Object |
_removeFrameBusting()
-
Removes the framebusting style for platofmrs (Safari), that don't support framebusting headers that allow at least one domain to be white listed
|
public Object |
removeMaskingFrame(Object maskFrame)
-
Removes the masking IFrame underneath a floating element.
|
public Object |
removePageResources()
-
Removes CSS resources added to the page via af:resource during a PPR navigation to ensure styles from one page are not carried over to the next.
|
Object |
__removePopupInfo(Object component, Object popupId)
-
Called by AdfRichUIPeer to inform the page that a component is no longer popped up
|
private Object |
_removeProcessedRootsFromDirtyValues(Object processedRoots, Object immediateOnly, Object replacedDirtyValues, Object oldValues)
-
Remove all of the dirty elements that are inside of the processed roots, since they are processed on server side, thus no longer dirty.
|
public Object |
removePropertyChangeListener(Object instance, Function listener)
-
Removes a PropertyChangeListener with the specified instance and listener function
|
private static Object |
_removeResourcesByTagName(Object tagName, Object head)
-
Removes all of the resources with the specified name form the head section
|
public Object |
removeResourceURL(Object resourcePath)
-
Returns the URL minus the resourceURL for the given path Note:
|
private Boolean |
_removeStyleFromComponent(String clientId, String styleClass)
-
Removes the style class from the component with the specified client id and returns whether it actually removed the style class
|
Object |
__replaceDomElement(HTMLElement newElement, HTMLElement oldElement)
-
Replaces the a dom element contained in a peer.
|
private Object |
_replaceJsfAjaxFunctions()
-
Replaces the jsf.ajax public API functions so that we can have JSF2 requests and responses channel through the rich client framework and honer queuing, client events and other rich framework architecture
|
public Object |
requestStatusChanged(Object requestEvent)
|
public Object |
rescheduleTimer(Object timerId, Number delay)
-
Reschedules the timer to fire delay</coee> milliseconds in the future
|
private Object |
_resetPendingStreamingIDs()
|
private void |
_resetPerformingFullSubmit()
-
Called from a scheduled timeout from a full page postback that doesn't expect a response to reset the flag.
|
private Object |
_resetUncommittedIds()
|
private Object |
_resolveMessageComponentId(String componentId, Boolean useDefaultAsFallback)
-
Calculate the id of the component to show message associated with component whose id is componentId.
|
Object |
__restartAllADSComponents()
-
Restart All ADS components that have changes since the last ADS update.
|
private Object |
_restoreDirtyValues(Object replacedDirtyValues, Object savedActiveComponent)
-
Restore the submitted values saved off in _saveValuesOfDirtyComponentsBeingReplaced
|
private Object |
_restoreFocusPath(Array<HTMLElement> focusPath, Object maxIndex)
-
Restores the focus to the best focusable element based on the focusPath
|
private Object |
_restorePreviousUserActivityData()
-
Called during onload or when a PPR navigation of the entire view root / document occurs.
|
private Object |
_restoreSelectionRanges(Object selectionRanges)
-
Restores the cursor position in the components by setting the selection range to the prestored value
|
private Object |
_richResponseComplete(Object reqContext)
|
private Object |
_richResponseCompleteCallback(Object reqContext)
|
private Object |
_richUpdateComplete(Object resizeDomNodes, Object domReplacedIds, Object pprNavParams, Object reqContext, Object savedFocusPath, Object savedActiveComponent, Object pendingEditableSubtrees, Object oldActiveComponents, Object replacedDirtyValues, Object selectionRanges)
|
private Object |
_richUpdateCompleteCallback(Object state)
|
private Object |
_saveDirtyValueForComponent(Object dirtyComponent, Object replacedDirtyValues, Object oldValues, Object selectionRanges)
-
save the submittedValues of the dirty components to be restored later
|
private Object |
_saveValuesOfDirtyComponentsBeingReplaced(Object targetNode, Object replacedDirtyValues, Object oldValues, Object selectionRanges)
-
find all of the presently dirty components about to be replaced and save off their submitted values
|
public Object |
scheduleTimer(Object context, Function callback, Object state, Object delay, Object options)
-
Schedules a callback to be fired in the future.
|
private Object |
_scriptLoadingStatusChange(Object status)
|
static Object |
__scrollComponentIntoView(Object clientId, Object focus)
-
Private function used from the server to scroll a component into view.
|
private static Object |
_scrollComponentIntoView(Object argObj)
-
Private function to be called from a timer
|
private Object |
_scrubPartialTargets(Object oldPartialTargets)
-
Returns a scrubbed partial targets array with any clientIds that are no longer in the DOM removed.
|
private Object |
_sendJsfAjaxEvent(Object type, Object params)
|
private Object |
_sendRichPayload(Object params, Object context)
|
public Object |
sendStreamingRequest(Object pageStateId, Object iDs)
-
sends streaming requtest over an IFRAME
|
public Object |
setAccessibilityMode(Object mode)
-
Sets the accessibility mode.
|
private Object |
_setActiveComponentId(Object clientId)
-
Sets the page's active component to the component with the specified id.
|
Object |
__setActiveDomNodeInfo(HTMLElement domNode, string clientId)
-
Sets the currently focused DOM Node and the clientID of the focused component Package private method, needed for cases where there's another document and the _redistribute method is not called.
|
private Object |
_setActiveTimeout(Object argObj)
|
public Object |
setAnimationEnabled(Boolean enabled)
-
Sets the accessibility mode.
|
Object |
__setAsynchronousUpdatesState(String state)
-
Sets the asynchronous update's state
|
Object |
__setAutomationEnabled(Boolean enabled)
-
Sets the automation mode.
|
private static Object |
_setCookie(Object domDocument, Object name, Object value, Object expiresAfter, Object path)
-
Sets the value of a cookie on the page.
|
Object |
__setCssSelectorsUncompressed(Object disabled)
-
Sets the compression mode for css selectors.
|
public Object |
setDataDirty(Object isDirty)
|
public Object |
setDefaultMessageHandlerComponentId(String id, String slaveId)
-
Sets the component id for global messages.
|
Object |
__setDirtyRegions()
-
This method is called by the DirtyRegionTracker on each request.
|
public Object |
setDocumentClientId(Object documentClientId)
|
private Object |
_setEditableFieldSelectionRange(HTMLElement domElement, Object range)
-
Sets the selectionRange for an editable component element
|
public Object |
setEditableSubtree(AdfUIComponent newEditableSubtree)
-
Sets the root of the component subtree that inline-editing is allowed on.
|
public Object |
setEditableSubtreeFilter(Function callback, Object context)
-
Sets the filter applied to all components in the editable subtree.
|
public Object |
setEditedComponent(AdfUIComponent newEditedComponent, Event event)
-
Attempts to start editing on the specified component with an option DOM event as the editing trigger.
|
public Object |
setFacesPath(Object path)
-
This method is called by the DocumentRenderer during page initialization
|
Object |
__setGlobalMessagesResetStrategy(Object strategy)
-
Sets the strategy that determines when global messages are to be cleared
|
public Object |
setHelpWindowName(String windowName)
-
Method that will set the help window name.
|
public Object |
setHighContrast(Object state)
-
Set the High Contrast Mode
|
Object |
__setHintPresentationMode(Object hintMode)
-
Called by server to specify the presentation strategy to be followed by components while displaying converter hints
|
public Object |
setLastFocusedElement(Object element)
-
Sets the last focused element.
|
static Object |
__setNonHtmlResponse(Object event)
-
Forces an event to be submitted as a full-page event and mark it as one whose response will never be received by this framework (Excel export, file download)
|
static Object |
__setNonHtmlResponsePartialSubmit(Object event)
-
In some instances an event will need to be forced to partial (ExportCollectionActionListener is one such case).
|
public Object |
setOnLoadCallback(Object onLoadCallback)
-
Sets the onLoad callback to fire when the AdfPage has finished loading.
|
Object |
__setOutputMode(Object outputMode)
-
Called by server to set the outputMode
|
public Object |
setPageId(String pageId)
-
set the page instance id
|
public Object |
setPageProperty(Object propertyName, Object propertyValue)
-
Sets the value of a page property.
|
public Object |
setPageStateId(Object id)
-
Updates the client with the new Page object id
|
private Object |
_setParameter(Object form, Object name, Object value)
|
public Object |
setPortlet(Boolean flag, Object rootClientId)
-
Setter for internal variable
|
public Object |
setPPRNavigationOptions(Object options)
-
Sets PPR Navigation options
|
private Object |
_setProcessedRoots(Object ids, Object immediateOnly)
|
Object |
__setResponseIdentifier(Object responseId)
-
Called by response handling code to save the ECID
|
private Object |
_setRichResponseDirty(Object isDirty)
|
public Object |
setScriptLoadingPolicy(Object policy)
-
Sets the library loading policy used by AdfScriptLoadingService.
|
public Object |
setSelectedEditingComponents(Array<AdfUIComponent> newSelection)
-
Sets the array of AdfUIComponents for inline selection.
|
private Object |
_setSelectedEditingComponents(Array<AdfUIComponent> newSelection)
-
Sets the array of AdfUIComponents for inline selection.
|
Object |
__setSessionIdentifier(Object sessionId)
-
Called by server to set the session indentifier
|
Object |
__setShouldInterpretEmptyStringSubmittedValuesAsNull(Object interpretEmptyString)
-
Called by server to specify if the client validation should interpret an submitted empty strung as NULL
|
Object |
__setShouldTracePPRRequestId(Object tracePPRRequestId)
-
Set the flag to control whether we should trace request id on PPR request.
|
Object |
__setShouldValidateEmptyFields(Object validateEmptyFields)
-
Called by server to specify if the client validation should validate empty fields
|
public Object |
setStreamingDisabled(Object disabled)
-
Specifies whether table data streaming should be disabled
|
Object |
__setUpFrameBusting(Object whiteListPatterns)
-
For browsers (Safari) that don't support whitelisting at least one domain, or browsers that support a single domain, but there was no referer, header, configure the support for a whitelisted domain to cause the framed content ot be displayed
|
Object |
__setViewId(Object viewId)
-
Called from the server DocumentRenderer when a full page render or a PPR Navigation occurs.
|
void |
__setWindowDetectionStrategy(Object option)
-
This page flag is used to determine the strategy used by window detection.
|
public Object |
setWindowId(String windowId)
-
set the window id
|
public Object |
shouldInterpretEmptyStringSubmittedValuesAsNull()
-
Checks if the client validation should interpret an empty submitted value should be handle as .NULL.
|
private Object |
_shouldPostbackValue(Object inputElement, Object editableEventTargetComponents)
|
public Object |
shouldShowHintInNoteTip()
-
Gets the presentation strategy for component/converter hint display
|
public Object |
shouldTracePPRRequestId()
-
Checks whether we should trace request id on PPR request.
|
public Object |
shouldValidateEmptyFields()
-
Checks if the client validation should handle empty field validation.
|
public Object |
showFloatingDiv(Object floatingDiv, Object floatingContent)
-
Shows the content from the floating content in the specified floating Div at the specified location
|
public Object |
showGlassPane(Object listenerMap, Object cursor)
-
Show the GlassPane, adding all of the listeners in the listener map and setting the cursor to the specified CSS-3 cursor
|
public Object |
showMessages(String componentId)
-
Displays the messages to the user.
|
public Object |
showPageProcessingIndicator(Object show)
-
Displays a processing indicator for the entire page that is useful when and application developer wants to relayout the entire page
|
public Object |
simulateDomMouse(String domElement, Object mouseEvent)
-
Simulate mouse event on a dom element.
|
public Object |
simulateMouse(String locator, Object mouseEvent)
-
Simulate mouse type event using locator.
|
public Object |
startActiveData()
|
public Object |
startDrag(Object evt, Object moveCallback, Object dropCallback, Object abortCallback, Object showGlassPane)
-
Initiates drag operation
|
private Object |
_startGlobalActiveData()
-
Part of interlock called by components to prevent active data from being delivered until the component is in its initial state ready to receive data
|
public Object |
stopActiveData()
|
private Object |
_stopAutoPPR(Object clientId)
-
notifies the active data manager to stop delivering events for the specified autoPPR component
|
public void |
stopDrag()
-
Terminates the drag operation.
|
private Object |
_stopGlobalActiveData()
-
Part of interlock called by components to prevent active data from being delivered until the component is in its initial state ready to receive data.
|
public Object |
streamingResponseComplete()
-
Called after all streaming fragments have arrived This function will be called from the IFRAME's onload handler
|
public Object |
streamingResponseStarted()
-
A call to this script is rendered at the beginning of the streaming document.
|
public Object |
streamingResponseWritten()
-
A call to this script is rendered just before the end of the streaming document.
|
private Object |
_stripSubId(Object id)
|
private static Object |
_styleSheetMapper(Object map, Object value)
-
Reduce callback for building a map of href->element for skin links
|
private Object |
_throwAndClearSavedErrors()
|
private Object |
_throwSavedErrors()
|
private static Object |
_timerDeliverEvents()
-
Static function called from timer to dispatch events to the components and server if no UI event has occurred recently
|
private Object |
_toUrlEncodedForm(Object formParams)
|
private Object |
_unfilterEditableSubtree(Object subtree)
-
Recursively remove all of selectable and editable the styles from a subtree
|
public Object |
unmapComponent(Object clientId)
-
Removes a component from the clientID map
|
private Object |
_unmapComponentAbsoluteLocator(Object clientId)
-
Adds an absolute locator to the clientID absolute locator map.
|
public Object |
unmapDescendantComponentAbsoluteLocators(Object parentComponent)
-
Removes from the cache a component's descendant's absolute locator from the cache.
|
Object |
__unregisterDescendantResizeNotifyComponent(AdfUIComponent component)
-
=-= Unsupported, internal method per Andy and Blake discussion.
|
private Object |
_unregisterGetRequestNavigationTracking()
|
public Object |
unregisterKeyStroke(Object keystroke, Object clientId)
-
Unregisters a global keyboard shortcut/accelerator.
|
public Object |
unregisterLoadingComponent(AdfUIComponent component)
-
Unregisters a component registered with registerLoadingComponent.
|
Object |
__unregisterRegionClientUncommittedDataTracking(Object clientId)
|
public Object |
unregisterResizeNotifyComponent(AdfUIComponent component)
-
Unregister a component so that it will no longer receive resize notifications.
|
public Object |
updateAutoPPRComponents(Object pageId, Object clientIds)
-
Called by server to register one or more clientIds as representing server components on which auto-PPR will be performed.
|
private Object |
_updateCombinedMessageHandler(Object messageArray)
-
Updates the combined, i.e.
|
private Object |
_updateDeliveryTimer(Object timeout)
-
Called to reset the timer that will deliver the events
|
public Object |
updateStartActiveDataStateChange(Boolean modelChanged, String clientId)
-
Updates the sets of components to start active data on, ensuring that the sets of components to start active data on and stop active data on are disjoint.
|
public Object |
updateStopActiveDataStateChange(String clientId)
-
Updates the sets of components to stop active data on, ensuring that the sets of components to start active data on and stop active data on are disjoint and queueing a stop event if necessary
|
public Object |
updateStreamingViewState(Object doc, Object id)
-
Called after the block with the current view state has been delivered over the streaming IFRAME This function will be called from a script block embedded in the XHTML content sent over the streaming IFRAME
|
private Object |
_updateViewState(Object fragmentNode)
|
boolean |
__validateWindowId(Object id)
-
This function is called from the onload script of the document for the IE browser to capture a Ctrl+N that has loaded a cached page.
|
private static Object |
_valueMapper(Object map, Object value)
-
Reduce callback for adding the value to a map
|
private Object |
_waitingForAnimation()
|
private Object |
_waitingForDescendantResize()
|
private Object |
_waitingForIncompleteImages()
|
public Object |
whyIsNotSynchronizedWithServer(Object currentDialogReturnId)
|