Home > Class Reference > ENSLIB namespace > %ZEN.Component.textarea
Private  Storage   


class %ZEN.Component.textarea extends control

Multi-line text input control. This is a simple wrapper around the HTML textarea control.
Note that many browsers do not cope well with long lines of unbroken text (i.e., greater than 4K characters with no white space.)


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3 5


%condition %import %includeFiles %page
%resource align aux clientType
cols composite containerStyle controlClass
controlStyle dataBinding disabled dragEnabled
dropEnabled enclosingClass enclosingStyle error
height hidden hint hintClass
hintStyle id index invalid
invalidMessage label labelClass labelDisabledClass
labelStyle name onafterdrag onbeforedrag
onblur onchange onclick ondblclick
ondrag ondrop onfocus onhide
onkeydown onkeypress onkeyup onmousedown
onmouseout onmouseover onmouseup onrefresh
onshow onsubmit ontouchend ontouchmove
ontouchstart onupdate onvalidate originalValue
parent readOnly required requiredMessage
rows showLabel slice spellcheck
tabIndex title tuple valign
value visible width window

%AddToSaveSet %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawComponentHTML %DrawHTML %DrawJSStrings
%EnclosingDivId %Eval %EvalC %Extends
%ForceClientRender %GetEventHandlers %GetForm %GetParameter
%GetXMLName %IsA %IsModified %MakeId
%Name %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnDrawEnclosingDiv %OnDrawObjectProperties
%OnObjectSynch %OnZENDeserialize %OriginalNamespace %PackageName
%QuoteValue %QuoteValueL10N %RemoveFromSaveSet %Self
%SerializeObject %SetDefaultValues %SetModified %ValidateObject
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler exposeComponent findElement
fireOnUpdateEvent focus formatValue getDisabled
getDragData getEnclosingDiv getForm getHidden
getHintElement getInvalidReason getLabelElement getProperty
getReadOnly getSettings getType getValue
invokeSuper isModified isOfType isValid
makeId normalizeValue onCreate onDelete
onDisplayHandler onEndModalHandler onPopupAction onRefreshContents
onSerialize onStartModalHandler onchangeHandler onloadHandler
onunloadHandler onupdateHandler refreshContents render
renderContents renderSVG select setDisabled
setHidden setOverlayMode setProperty setReadOnly
setValue startProgressBar stopProgressBar sysName
unformatValue validationHandler


• parameter DEFAULTCONTROLCLASS = "textarea";
The default css class used for the main element within this control. This is overridden by subclasses.


• property cols as %ZEN.Datatype.integer(MINVAL=0);
Number of columns in the textarea control.
• property rows as %ZEN.Datatype.integer(MINVAL=0);
Number of rows in the textarea control.
• property spellcheck as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
If true, this control has spellcheck enabled. Assuming this is an HTML5 browser implementation. IE9 does not support this.


• method %DrawHTML()
Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
• method isModified() [ Language = javascript ]
Return true if the current value of this control is different than its orginal value.
Override default implementation.
• method onchangeHandler() [ Language = javascript ]
This built-in event handler is called by the HTML control associated with the control to raise notification that the control's value has changed. Override to set our modified flag.
• method onloadHandler() [ Language = javascript ]
This client event is fired when the page is loaded.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.