<a:TextArea>

Renders an HTML <textarea ...>...</textarea> tag on the page.

Bindings
name

Sets the name of the <input ...>...</input> tag that implements the button by overriding the element id.

String
(get)
value *

Determines the text that is displayed in the text area.

String
(both)
editable

Indicates whether the value is editable. If the binding is not supplied, a value is taken from the page environment.

boolean
(get)
emptyStringValue

Determines the text that is displayed in the text area if there is no data from the user. This text is also returned in the value binding.

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)
escapeHtml

Determines whether the HTML contained in the text area is escaped. Does not affect the way the text is actually displayed in the text area by the browser.

boolean
(get)
formatter

The formatter to be used when both rendering the string into the HTML, and parsing the string from the request. AWFormatting is a ClassExtension which covers java.text.Formatter, ariba.util.Formatter, etc.

AWFormatting
(get)
isRefresh

Specifies that the form be submitted immediately when a change is made and the field loses focus (e.g. when the user tabs out).

boolean
(get)
maxLength

If provided, specifies the maximum length of the text displayed in the text area. Any amount greater will be truncated. If it is 0, there is no maxLength.

int
(get)
showMaxLength

Display the number of characters left if true and if maxLength is specified.

boolean
(get)
onChange

Not supported?

String
(get)
onKeyDown

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

String
(get)
placeholder

Placeholder text displayed to the user when value is null or empty.

Object
(get)
behavior

For internal use: Allow for override of text field behavior.

Object
(get)

ariba.ui.aribaweb.html
Class AWTextArea

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

public class AWTextArea
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
AWTextArea()
           
 
Method Summary
 java.lang.String cssClass()
           
 java.lang.Object disabled()
           
 java.lang.String formatPlaceHolder()
           
 java.lang.String formattedString()
           
 java.lang.String formattedValue()
           
 boolean isEditable()
           
 boolean isInHighLightedErrorScope()
           
 AWEncodedString limitTextJavaScriptString()
           
 java.lang.Object maxLength()
           
 AWEncodedString maxLengthIndicatorId()
           
 int maxLengthIndicatorString()
           
 AWEncodedString onBlurString()
           
 AWEncodedString onKeyDownString()
           
 AWEncodedString onPasteString()
           
 void setFormValue(java.lang.String formValueString)
           
 boolean showMaxLengthIndicator()
           
 java.lang.String[] supportedBindingNames()
           
 AWEncodedString textAreaId()
           
 AWEncodedString textAreaName()
           
 
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, init, initTemplateResourceManager, intValueForBinding, intValueForBinding, intValueForBinding, invokeAction, isBidirectional, isBrowserMicrosoft, isClientPanel, isMacintosh, isRenderAW5, isStateless, 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, renderResponse, 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

_elementId

public AWEncodedString _elementId

_textAreaId

public AWEncodedString _textAreaId
Constructor Detail

AWTextArea

public AWTextArea()
Method Detail

supportedBindingNames

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

limitTextJavaScriptString

public AWEncodedString limitTextJavaScriptString()

textAreaName

public AWEncodedString textAreaName()

maxLength

public java.lang.Object maxLength()

formattedString

public java.lang.String formattedString()

setFormValue

public void setFormValue(java.lang.String formValueString)

textAreaId

public AWEncodedString textAreaId()

onKeyDownString

public AWEncodedString onKeyDownString()

formattedValue

public java.lang.String formattedValue()

isEditable

public boolean isEditable()

isInHighLightedErrorScope

public boolean isInHighLightedErrorScope()

disabled

public java.lang.Object disabled()

showMaxLengthIndicator

public boolean showMaxLengthIndicator()

maxLengthIndicatorId

public AWEncodedString maxLengthIndicatorId()

maxLengthIndicatorString

public int maxLengthIndicatorString()

cssClass

public java.lang.String cssClass()

formatPlaceHolder

public java.lang.String formatPlaceHolder()

onBlurString

public AWEncodedString onBlurString()

onPasteString

public AWEncodedString onPasteString()


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