You are viewing an old version (v. 17) of this page.
The latest version is v. 19, last edited on Dec 11, 2014 (view differences | )
<< View previous version | view page history | view next version >>


Since 3.1

TextAreaEntry is a component for entering multi-line text. It has additional styling and functional features. Styling is controlled via the theme style sheet using predefined style classes. Additional attributes add functional features.

See the ICEfaces Showcase Live Demo of this component, complete with source code.

Getting Started

<ace:textAreaEntry id="firstNameInput" value="#{textAreaEntryBean.firstName}" label="First Name" labelPosition="left" required="true" requiredIndicator="(*)" indicatorPosition="right"/>


TagLib Documentation
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.

value is the input text.

label and labelPosition specify the label text and its position relative to the input field. Positions can be "left/right/top/bottom/inField/none". Default is "none".

required indicates whether the user is required to provide a non-empty submitted value for this component. Default = "false".

Depending on whether input is required, an optionalIndicator or requiredIndicator can be supplied. The position of the indicator is specified by indicatorPosition. Positions can be "left/right/top/bottom/labelLeft/labelRight/none". Default is "labelRight" if labelPosition is "inField", "right" otherwise.

rows and cols specify the visible number of lines and width of the text area.

Text areas can be resizable in browsers that support CSS3. Use the resizable attribute to control this. Default = "true".

Event Listeners

valueChangeListener Listener method that will be notified when a new value has been set for this input component.

Client Behavior Events

blur Fired when the text input field loses focus (default event).

JavaScript API

The client side text area entry object is exposed through the global variable named by the widgetVar attribute, but currently there is no API useful to the user.

Keyboard and ARIA Support

The following ARIA roles are supported: texbox.

CSS Classes

The following markup represents the basic HTML structure of the component and the CSS classes it uses.

	<span class="ui-textareaentry-container">
		<textarea class="ui-inputfield ui-textareaentry ui-widget ui-state-default ui-corner-all [user defined classes]" style="[user defined styles]"></textarea>

Known Issues


Additional Resources

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.