<a:PasswordField>

TBD

Bindings
value *

The value of the password field.

String
(both)
name

Optional name for input field. If this value is not provided, then an elementId will be automatically generated.

String
(get)
formatter

Optional object which implements the AWFormatting class extension. If available this is used to parse the value during applyValues.

String
(get)
isRefresh

If set to true, then the onChange event will cause the form containing this field to be sumbmitted.

String
(get)
errorKey

If you have a formatter binding, then the String value typed in by the user will be parsed through that formatter. Should a parse exception occur, this error key will be used to record the error, along with the errantValue, into the AWErrorManager on the AWPage. If you do not provide an errorKey, the elementId of this textfield will be used.

Object
(get)
onKeyDown

Do not use this binding. This is documented here to prevent onKeyDown from being available in "otherBindings".

String
(get)
class

CSS class. By default uses "tf tfW"

String
(get)
size

INPUT size attribute.

int
(get)
placeholder

Placeholder text displayed to the user when value is null, empty or equals to emptyStringValue. Placeholder does not get push to the parent component.

Object
(get)

ariba.ui.aribaweb.html
Class AWPasswordField

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWComponent
          extended by ariba.ui.aribaweb.html.AWPasswordField
All Implemented Interfaces:
AWCycleable, AWCycleableReference, AWResponseGenerating, AWResponseGenerating.ResponseSubstitution, AWObject
Direct Known Subclasses:
AWVPasswordField

public class AWPasswordField
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
AWPasswordField()
           
 
Method Summary
 java.lang.String cssClass()
           
 boolean displayPlaceholder()
           
 java.lang.String formattedString()
           
 AWEncodedString getCheckCapsLockFunction()
           
 boolean hasForm()
           
 void init()
           
 AWEncodedString inputName()
           
 boolean isStateless()
          Overridden by AWComponent subclasses to indicate whether component instances should be preserved with the page/session (i.e.
 java.lang.String onBlur()
           
 java.lang.String onFocus()
           
 AWEncodedString onKeyDownString()
           
 java.lang.String onKeyPressString()
           
 java.lang.String pfcClass()
           
 java.lang.String placeholder()
           
 void renderResponse(AWRequestContext requestContext, AWComponent component)
          The receiver should render its content to the AWRequestContext.response()
 void setFormValue(java.lang.String formValueString)
           
 java.lang.String[] supportedBindingNames()
           
 
Methods inherited from class ariba.ui.aribaweb.core.AWComponent
_topLevelApplyValues, _topLevelInvokeAction, _topLevelRenderResponse, allowEmbeddedKeyPaths, allowsWhitespaceCompression, application, applyValues, 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, 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, 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

CheckCapsLockForceRefreshFunction

public static final AWEncodedString CheckCapsLockForceRefreshFunction

CheckCapsLockFunction

public static final AWEncodedString CheckCapsLockFunction

_warnId

public AWEncodedString _warnId
Constructor Detail

AWPasswordField

public AWPasswordField()
Method Detail

supportedBindingNames

public java.lang.String[] supportedBindingNames()
Overrides:
supportedBindingNames in class AWComponent

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

init

public void init()
Specified by:
init in interface AWObject
Overrides:
init in class AWComponent

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

formattedString

public java.lang.String formattedString()

setFormValue

public void setFormValue(java.lang.String formValueString)

onKeyDownString

public AWEncodedString onKeyDownString()

getCheckCapsLockFunction

public AWEncodedString getCheckCapsLockFunction()

onKeyPressString

public java.lang.String onKeyPressString()

hasForm

public boolean hasForm()

inputName

public AWEncodedString inputName()

cssClass

public java.lang.String cssClass()

placeholder

public java.lang.String placeholder()

displayPlaceholder

public boolean displayPlaceholder()

pfcClass

public java.lang.String pfcClass()

onFocus

public java.lang.String onFocus()

onBlur

public java.lang.String onBlur()


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