ariba.ui.aribaweb.core
Class AWPage
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWPage
- All Implemented Interfaces:
- AWRequestContext._SubcomponentLookup, AWDisposable, AWObject
public final class AWPage
- extends AWBaseObject
- implements AWDisposable, AWRequestContext._SubcomponentLookup
| Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject |
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber |
AllowCrossPageRefresh
public static boolean AllowCrossPageRefresh
AllowParentFrame
public static boolean AllowParentFrame
NewPageForceFPRThreshold
public static final int NewPageForceFPRThreshold
- See Also:
- Constant Field Values
SamePageForceFPRThreshold
public static final int SamePageForceFPRThreshold
- See Also:
- Constant Field Values
DEBUG_REFRESH_REGION_TOP_LEVEL_CHANGE
public static boolean DEBUG_REFRESH_REGION_TOP_LEVEL_CHANGE
ARIBA_DIFF_TOOL_COMMAND
public static String ARIBA_DIFF_TOOL_COMMAND
PrevPageHasValidationDisplayError
public static final String PrevPageHasValidationDisplayError
- See Also:
- Constant Field Values
AWPage
public AWPage(AWComponent pageComponent,
AWRequestContext requestContext)
AllowIncrementalScriptLoading
public static boolean AllowIncrementalScriptLoading()
DeferGlobalScopeScript
public static boolean DeferGlobalScopeScript()
dispose
public void dispose()
- Specified by:
dispose in interface AWDisposable
pageComponent
public AWComponent pageComponent()
requestContext
public AWRequestContext requestContext()
_setResourceManager
public void _setResourceManager(AWResourceManager resourceManager)
_resourceManager
public AWResourceManager _resourceManager()
templateParser
public AWTemplateParser templateParser()
setTemplateParser
public void setTemplateParser(AWTemplateParser templateParser)
setCharacterEncoding
public void setCharacterEncoding(AWCharacterEncoding characterEncoding)
characterEncoding
public AWCharacterEncoding characterEncoding()
setClientTimeZone
public void setClientTimeZone(TimeZone timeZone)
clientTimeZone
public TimeZone clientTimeZone()
preferredLocale
public Locale preferredLocale()
otherBindingsValuesScratch
public AWStringDictionary otherBindingsValuesScratch()
isScrolled
public boolean isScrolled()
setPageScrollTop
public void setPageScrollTop(String offset)
pageScrollTop
public String pageScrollTop()
setPageScrollLeft
public void setPageScrollLeft(String offset)
pageScrollLeft
public String pageScrollLeft()
hiddenFormValueManager
public AWHiddenFormValueManager hiddenFormValueManager()
errorManager
public AWErrorManager errorManager()
pushErrorManager
public Object pushErrorManager(Object stored)
popErrorManager
public Object popErrorManager(Object state)
foregroundErrorManager
public AWErrorManager foregroundErrorManager()
modalPanels
public List modalPanels()
topPanel
public AWComponent topPanel()
addModalPanel
public void addModalPanel(AWComponent panel)
popModalPanel
public AWComponent popModalPanel()
applyValues
public void applyValues()
invokeAction
public AWResponseGenerating invokeAction()
fullPageRefreshCause
public String fullPageRefreshCause()
_computePageRefreshCause
public String _computePageRefreshCause(boolean isComplete)
renderResponse
public void renderResponse()
appendPageScrollingScript
public void appendPageScrollingScript()
truncateBacktrackState
public void truncateBacktrackState()
truncateBacktrackState
public void truncateBacktrackState(AWBacktrackState backtrackStateMark)
markBacktrackState
public AWBacktrackState markBacktrackState()
previousPage
public AWPage previousPage()
registerLifecycleListener
public static void registerLifecycleListener(AWPage.LifecycleListener listener)
awake
public void awake()
ensureAwake
public void ensureAwake(AWRequestContext requestContext)
sleep
public void sleep()
debug_setPrevPageHasValidationDisplayError
public void debug_setPrevPageHasValidationDisplayError(boolean state)
debug_prevPageHasValidationDisplayError
public boolean debug_prevPageHasValidationDisplayError()
getStatefulComponent
public AWComponent getStatefulComponent(AWElementIdPath elementIdPath)
- Specified by:
getStatefulComponent in interface AWRequestContext._SubcomponentLookup
putStatefulComponent
public void putStatefulComponent(AWElementIdPath elementIdPath,
AWComponent subcomponent)
- Specified by:
putStatefulComponent in interface AWRequestContext._SubcomponentLookup
put
public void put(Object key,
Object value)
- Specified by:
put in interface AWRequestContext._SubcomponentLookup
get
public Object get(Object key)
- Specified by:
get in interface AWRequestContext._SubcomponentLookup
putFormIds
public void putFormIds(String formId,
AWArrayManager array)
- Maintains the lists of element id's for each form elements keyed by the id of the
form itself. Used during applyValues to allow element id tree skipping.
- Parameters:
formId - element id of the AWFormarray - list of element id's of all input elements in the AWForm
getFormIds
public AWArrayManager getFormIds(String formId)
- Given the element id of a form, returns the list of form input element id's for
the form.
- Parameters:
formId -
hasMultipleForms
public boolean hasMultipleForms()
getDefaultFormId
public String getDefaultFormId()
_pageScriptList
public List _pageScriptList()
hasScript
public boolean hasScript(String scriptName)
recordCurrentScript
public void recordCurrentScript(String scriptName)
validationContext
public AWValidationContext validationContext()
notifyChange
public final boolean notifyChange()
- Notify that AWPoll-relevant changes have taken place (and client should be updated)
- Returns:
- true if a changeNotifier is in effect
resetHasChanged
public void resetHasChanged()
getChangeNotifier
public AWChangeNotifier getChangeNotifier()
hasChangeNotifier
public boolean hasChangeNotifier()
isPollingInitiated
public boolean isPollingInitiated()
- Determines if polling should be initiated for this page.
- Returns:
- boolean true if polling is enabled.
setPollingInitiated
public void setPollingInitiated(boolean pollEnabled)
- Set the flag to initiate polling for this page.
defaultPollInterval
public static int defaultPollInterval()
getPollInterval
public int getPollInterval()
- Returns the poll interval for this page. If the value has not been explicitly
set, then this method will return the default poll interval value defined by
AWApplication.
- Returns:
- int poll interval in seconds
setPollInterval
public void setPollInterval(int pollInterval)
- Overrides the default poll interval as defined by AWApplication.
- Parameters:
pollInterval - interval in seconds
toString
public String toString()
- Overrides:
toString in class Object
formValueManager
public AWFormValueManager formValueManager()
hasFormValueManager
public boolean hasFormValueManager()
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.