<w:DateField>

TBD

Bindings
value *

TBD

ariba.util.Date
(both)
formatter

todo: is this true? Note that ariba.util.DateFormatter has been adapted to AWFormatting

ariba.ui.aribaweb.util.AWFormatting
(get)
action

TBD

AWResponseGenerating
(get)
showYearNavigation

TBD

boolean
(get)
size

TBD

int
(get)
textFieldType

The name of a component to use as the TextField portion of the DateField. For example, AN needs to use ANVTextField, so they would have something like: This is temporary until the new errorManager scheme is promulgated.

String
(get)
disabled

Disables the date field if true.

boolean
(get)
errorKey String
(get)
calendarDate

See ariba.ui.widgets.Calendar

boolean
(get)
isRefresh

See ariba.ui.aribaweb.html.AWTextField

boolean
(get)
formValueStrings

The trimmed and untrimmed value pair. When the user uses the calendar control we set this to null.

Object[]
(set)

ariba.ui.widgets
Class DateField

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWComponent
          extended by ariba.ui.widgets.DateField
All Implemented Interfaces:
AWCycleable, AWCycleableReference, AWResponseGenerating, AWResponseGenerating.ResponseSubstitution, AWObject

public class DateField
extends AWComponent


Nested Class Summary
 
Nested classes/interfaces inherited from class ariba.ui.aribaweb.core.AWComponent
AWComponent.RenderingFilter, AWComponent.RenderingListener
 
Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating
AWResponseGenerating.ResponseSubstitution
 
Constructor Summary
DateField()
           
 
Method Summary
 void applyValues(AWRequestContext requestContext, AWComponent component)
          The receiver should take any form values (or query string parameters) that it owns from the AWRequestContext.request().
 AWComponent calendarAction()
           
 AWDateFactory dateFactory()
           
 java.lang.String exampleDate()
           
 AWFormatter formatter()
           
 java.lang.Object getDate()
           
 boolean isDisabled()
           
 boolean isStateless()
          Overridden by AWComponent subclasses to indicate whether component instances should be preserved with the page/session (i.e.
 void renderResponse(AWRequestContext requestContext, AWComponent component)
          The receiver should render its content to the AWRequestContext.response()
 int selectedDayOfMonth()
           
 int selectedMonth()
           
 int selectedYear()
           
 void setDate(java.lang.Object object)
          Convenience setter method to assist DateField debugging.
 void setFormValueStrings(java.lang.Object[] obj)
           
 void setMenuId(AWEncodedString menuId)
           
 AWComponent textFieldAction()
           
 
Methods inherited from class ariba.ui.aribaweb.core.AWComponent
_topLevelApplyValues, _topLevelInvokeAction, _topLevelRenderResponse, allowEmbeddedKeyPaths, allowsWhitespaceCompression, application, awcyclePageAndLog, bindingForName, bindingForName, bindings, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, browserMaxWidth, browserMinWidth, characterEncoding, clearValidationError, clientTimeZone, componentConfiguration, componentDefinition, componentPath, componentReference, createPageWithName, defaultTemplateParser, determineInstance, determineInstance, dict, dict, dict, doubleValueForBinding, doubleValueForBinding, doubleValueForBinding, encodedStringValueForBinding, encodedStringValueForBinding, ensureAwake, ensureFieldValuesClear, env, errorManager, escapeAttribute, escapeString, escapeUnsafeString, extendedFields, formValueManager, generateResponse, generateResponse, generateResponse, generateStringContents, getAWParameter, getDrivingBusinessObject, getFoldInSituOnWindowSizeParam, getPageRenderVersion, getThis, hasBinding, hasBinding, hasContentForTagName, hasContentNamed, hasMultipleTemplates, hasSubTemplateNamed, httpSession, init, init, initTemplateResourceManager, intValueForBinding, intValueForBinding, intValueForBinding, invokeAction, isBidirectional, isBrowserMicrosoft, isClientPanel, isMacintosh, isRenderAW5, isStrictTagNaming, isUserCommunityEnabled, isValidationEnabled, languageDirection, languageLeft, languageRight, loadTemplate, localizedJavaString, markBacktrackState, name, namePath, notifyChange, otherBindings, otherBindingsValues, page, pageComponent, pageWithClass, pageWithClass, pageWithName, pageWithName, parent, postTakeValueActions, preferredLocale, recordBacktrackState, recordBacktrackState, recordValidationError, recordValidationError, recordValidationError, recordValidationErrors, recordValidationWarning, redirectToPage, registerRenderingListener, registerXmlNodeWithName, removeBacktrackState, replacementResponse, request, requestContext, requiresPreGlidCompatibility, resourceClassName, resourceManager, response, restoreFromBacktrackState, session, session, setCharacterEncoding, setClientPanel, setClientTimeZone, setComponentConfiguration, setDefaultTemplateParser, setEnv, setPerfDestinationInfo, setPreferredLocale, setResourceManager, setTemplateParser, setupForNextCycle, setValueForBinding, setValueForBinding, setValueForBinding, setValueForBinding, setValueForBinding, setValueForBinding, shouldCachePage, shouldCloseElements, strings, stringValueForBinding, stringValueForBinding, stringValueForBinding, supportedBindingNames, template, templateName, templateParser, templateResource, templateResourceManager, truncateBacktrackState, truncateBacktrackState, urlForResourceNamed, urlForResourceNamed, urlForResourceNamed, useXmlEscaping, valueForBinding, valueForBinding, valueForBinding, xml
 
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ariba.ui.aribaweb.util.AWObject
getFieldValue, isKindOfClass, setFieldValue
 

Field Detail

_formatter

public AWFormatter _formatter

_dateFactory

public AWDateFactory _dateFactory

_menuId

public AWEncodedString _menuId

_dateTextFieldId

public AWEncodedString _dateTextFieldId

_linkId

public AWEncodedString _linkId

_showCalendar

public boolean _showCalendar
Constructor Detail

DateField

public DateField()
Method Detail

setDate

public void setDate(java.lang.Object object)
Convenience setter method to assist DateField debugging. (Otherwise it seems to be impossible to trap the sets of this field.)


getDate

public java.lang.Object getDate()

setFormValueStrings

public void setFormValueStrings(java.lang.Object[] obj)

isStateless

public boolean isStateless()
Description copied from class: AWComponent
Overridden by AWComponent subclasses to indicate whether component instances should be preserved with the page/session (i.e. are "stateful") or can be pooled and reused for each phase of request processing (i.e. are stateless) Default is to be stateless unless the component is used as the top-level (page) component.

Overrides:
isStateless in class AWComponent

setMenuId

public void setMenuId(AWEncodedString menuId)

textFieldAction

public AWComponent textFieldAction()

calendarAction

public AWComponent calendarAction()

applyValues

public void applyValues(AWRequestContext requestContext,
                        AWComponent component)
Description copied from interface: AWCycleable
The receiver should take any form values (or query string parameters) that it owns from the AWRequestContext.request().

Specified by:
applyValues in interface AWCycleable
Overrides:
applyValues in class AWComponent
Parameters:
requestContext - the context for the current request.
component - the current parent component

renderResponse

public void renderResponse(AWRequestContext requestContext,
                           AWComponent component)
Description copied from interface: AWCycleable
The receiver should render its content to the AWRequestContext.response()

Specified by:
renderResponse in interface AWCycleable
Overrides:
renderResponse in class AWComponent
Parameters:
requestContext - the context for the current request.
component - the current parent component

selectedYear

public int selectedYear()

selectedMonth

public int selectedMonth()

selectedDayOfMonth

public int selectedDayOfMonth()

formatter

public AWFormatter formatter()

dateFactory

public AWDateFactory dateFactory()

exampleDate

public java.lang.String exampleDate()

isDisabled

public boolean isDisabled()


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.