Prompt taglib ver. 1.3

    Custom JSP taglib. Lets you provide HTML input elements with prompt. This input element contains a value that will be cleared as soon as you click on it.

You have to use this tag within of HTML forms or within of form tag. For example:

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

<p:prompt size="20" name="f1" value="email"/>
<p:prompt size="20" name="f2" value="phone"/>

and you will get this:

Tags are:


Provides HTML input element with prompt. Parameters are:

1) name Describes a name for element
2) value Describes a value (prompt)
3) size Optional parameter. Describes a size
4) id Optional parameter. Describes an ID for this element
5) className Optional parameter. Describes a name for CSS class
6) style Optional parameter. Describes a CSS style
7) title Optional parameter. Describes a title (tooltip)

for downloading:

    Library: prompttag.jar    Description: taglib.tld

 © Coldbeans Software      Comments?

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

Also in Coldtags: