OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adfinternal.view.js.agent.ie
Class AdfIENavigationHistoryAgent

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adfinternal.view.js.agent.AdfNavigationHistoryAgent
               |
               +--oracle.adfinternal.view.js.agent.ie.AdfIENavigationHistoryAgent

public class AdfIENavigationHistoryAgent
extends AdfNavigationHistoryAgent



Field Summary

private static Object
_IFRAME_ID
private static Object
_TIMER_INTERVAL


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfIENavigationHistoryAgent()


Method Summary

protected Object
AddHistoryEntry(Object id, Object queryParams)
Overridden to update the IFRAME
private static Object
_checkURI()
public Object
dispose()
Disposes of this agent
protected static Object
InitClass()
public Object
initialize(Object defaultViewId, Object queryParams)
Overridden to write the initial state into the IFRAME
Object
__notifyViewLoaded(Object id, Object params)
protected Object
SetQueryStringImpl(Object id, Object queryParams, Object noHistory)
Overridden to store a new query string for the view Id Unfortunately, we cannot update the IFRAME without adding a history entry, so the noHistory parameter will be effectively ignored in IE7
public Object
startTrackingURI(Object callbackObj)
Overridden to start timer Note that we track navigation using the IFRAME in IE7, so one would expect that the timer is not needed.
private Object
_updateNavigationIframe(Object viewId, Object params)


Methods inherited from oracle.adfinternal.view.js.agent.AdfNavigationHistoryAgent

GetDomDocument, GetDomWindow, getInstance, GetViewInfoFromBrowserURI, Init, isInitialized, setCurrentPage, setQueryString, SetViewIdOnURI, ValidateCurrentView


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString


Field Detail


_IFRAME_ID

private static Object _IFRAME_ID

_TIMER_INTERVAL

private static Object _TIMER_INTERVAL

Constructor Detail


AdfIENavigationHistoryAgent

public AdfIENavigationHistoryAgent()

Method Detail


AddHistoryEntry

protected Object AddHistoryEntry(Object id,
                                 Object queryParams)

Overridden to update the IFRAME

Parameters:
id    
queryParams    
Return:
Object
Overrides:
AdfNavigationHistoryAgent.AddHistoryEntry(Object, Object)

_checkURI

private static Object _checkURI()

Return:
Object

dispose

public Object dispose()

Disposes of this agent

Return:
Object
Overrides:
AdfNavigationHistoryAgent.dispose()

InitClass

protected static Object InitClass()

Return:
Object
Overrides:
AdfNavigationHistoryAgent.InitClass()

initialize

public Object initialize(Object defaultViewId,
                         Object queryParams)

Overridden to write the initial state into the IFRAME

Parameters:
defaultViewId    
queryParams    
Return:
Object
Overrides:
AdfNavigationHistoryAgent.initialize(Object, Object)

__notifyViewLoaded

Object __notifyViewLoaded(Object id,
                           Object params)

Parameters:
id    
params    
Return:
Object

SetQueryStringImpl

protected Object SetQueryStringImpl(Object id,
                                    Object queryParams,
                                    Object noHistory)

Overridden to store a new query string for the view Id Unfortunately, we cannot update the IFRAME without adding a history entry, so the noHistory parameter will be effectively ignored in IE7

Parameters:
id    
queryParams    
noHistory    
Return:
Object
Overrides:
AdfNavigationHistoryAgent.SetQueryStringImpl(Object, Object, Object)

startTrackingURI

public Object startTrackingURI(Object callbackObj)

Overridden to start timer Note that we track navigation using the IFRAME in IE7, so one would expect that the timer is not needed. However, fixing bug #7514664 required us to use a timer. The issue is that IE does not issue a GET request when a bookmark is dereferenced for a URL identical to the current one except for the hash value. So we are using the timer to detect when the URL got updated without our knowledge.

Parameters:
callbackObj    
Return:
Object
Overrides:
AdfNavigationHistoryAgent.startTrackingURI(Object)

_updateNavigationIframe

private Object _updateNavigationIframe(Object viewId,
                                       Object params)

Parameters:
viewId    
params    
Return:
Object

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2011.04.27 02:28 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.