Textarea taglib ver. 1.1

    Custom JSP taglib lets you provide HTML textarea with the limited length. Tag textarea mimics HTML textarea but lets you restrict the size. For example:

<%@ taglib uri="taglib.tld" prefix="t" %>

<t:textarea id="i1" name="a" maxLength="15">

and you will get some like this:


Tags are:


Body tag mimics HTML textarea and lets you restrict the length for data. Parameters are:

1) id Describes a DHTML (CSS) id for this element.
2) name Describes a name for your control.
3) maxLength Describes a maximal length for data.
4) className Optional parameter. Describes a CSS class for this control.
5) style Optional parameter. Describes a CSS style for this control.
6) cols Optional parameter. Indicates how many columns wide the textarea should be.
7) rows Optional parameter. Describes defines how many rows down the textarea should be.
8) wrap Optional parameter. Describes how the text behaves within the textarea space (wrap style)
9) onChange Optional parameter. Describes a name for your JavaScript function that will be called in case of value changing.

for downloading:

 Library: textareatag.jar     Description: taglib.tld  

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.