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()
|
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)
|
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)
|
private Object |
_detectSeleniumRC()
|
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 static Object |
_doFrameBusting(Object newLocation)
|
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()
|
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.
|
public AdfUIComponent |
findComponentByAbsoluteLocator(String absoluteLocator)
-
Retrieves a component by its absolute locator.
|
private Object |
_findComponentByAbsoluteLocator(Object componentId, Object absoluteLocator)
-
Given a componentId and absoluteLocator, return the component with that absolute locator.
|
public AdfUIComponent |
findComponentOrAncestorByAbsoluteLocator(String absoluteLocator)
-
Retrieves a component or one of its ancestors by its absolute locator.
|
private HtmlElement |
_findFirstAdfForm()
|
private Object |
_fixupLinkOnClick(Object element)
|
public Object |
flushToAssistiveTechnology()
|
private static Object |
_forceGC(Object count)
-
Code for forcing a GC
|
private Object |
_forcePreloadOfAllImages()
|
static Object |
__frameBusting(Object frameBusting)
|
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.
|
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.
|
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 |
_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 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)
|
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 Object |
_handleNavigation(Object url, Object target)
-
Handle GET request triggered by clicking Faces navigation components.
|
Object |
__handleNavigationClick(Object evt, Object url, Object target)
-
onclick event handler for Faces navigation components with GET request, here we only handle it if left button is clicked by clalling _handleNavigation, otherwise let the browser to handle it.
|
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)
-
Handles a single fragment node in a rich response.
|
private Object |
_handleRichResponseLibrary(Object scriptNode)
|
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.
|
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()
|
Object |
__isDirtyPostbackPayloadsEnabled()
|
public Object |
isDragging()
-
Determines whether a drag operation is in progress
|
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()
-
Tests whether the page is running in screen reader mode.
|
Object |
__isSeleniumRC()
-
Tests whether we are running under Selenium RC.
|
private Object |
_isSeleniumRCWindow(Object domWindow)
|
public Object |
isStreamingDisabled()
-
Determines whether table data streaming is disabled
|
public Object |
isStreamingRequestPending(Object 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)
|
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 |
_mapInputElementToComponent(Object inputElement)
|
Object |
__markSeleniumRC()
-
Called our Selenium RC-specific user-extensions.js code to let us know that we are running under RC.
|
private Object |
_marshallMultipleEventParameters(Object paramList)
|
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()
|
public Object |
needsWindowUnload()
-
Mark that this page needs windowUnloaded events.
|
private Object |
_nodeListToArray(Object nodeList)
|
private Object |
_notifyComponent(Object componentId, Object messageArray)
-
Notifies a component that it's message queue has changed
|
private Object |
_notifyComponentEventListeners(Object componentEvent)
|
void |
__notifyReturnFromDialog()
-
Called when the DialogService closes the dilaog programmatically within a partial request.
|
Object |
__notifyWindowCloseImmediately(Object windowClosed, Object returnId)
-
this method notifies the server about window closed event.
|
private Object |
_notifyWindowEvent(Object isWindowOpen, Object windowId, Object pageId, Object isDialog)
-
build the notify window open/unregister event and queue the event this function puts the event information into the global variable _windowEventHeaderMap, which afterwards got cleaned up by deliverQueuedServerEvents()
|
private Object |
_notifyWindowOpened(Object isDialog)
|
public void |
notifyWindowUnloaded()
-
Send window-unloaded notification if necessary
|
private Object |
_notifyWindowUnregistered(Object windowId, Object pageId)
|
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)
|
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
|
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.
|
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 |
_richResponseComplete(Object reqContext)
|
private Object |
_richResponseCompleteCallback(Object reqContext)
|
private Object |
_richUpdateComplete(Object resizeDomNodes, Object domReplacedIds, Object pprNavParams, Object reqContext, Object savedFocusPath, Object pendingEditableSubtrees, Object oldActiveComponents)
|
private Object |
_richUpdateCompleteCallback(Object state)
|
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)
|
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 |
setExpectedWindowId(Object windowId)
|
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 |
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
|
public 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 |
__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 |
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 |
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 |
_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
|
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 |
_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()
|