Custom JSP taglib. Lets you provide HTML input elements with tooltips (helps).
You have to use this tag within of HTML forms or within of form tag. For example:
<%@ taglib uri="taglib.tld" prefix="in" %>
<in:input size="10" name="user" value="" width="200px">Please, type user name here</in:input>
and you will get this (try to set focus for this input):
Tags are:
input
Body tag provides HTML input element with tooltip (help). Tag's body describes a tooltip.
Parameters are:
1) name Describes a name for your element.
2) value Optional parameter. Describes a value.
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) helpClassName Optional parameter. Describes a name for tooltip's CSS class
8) helpStyle Optional parameter. Describes a CSS style for your tooltip.
Default value is position:absolute;visibility:hidden;background-color:yellow;padding:3px;border-style:solid;border-color:black;border-width:1px;margin-top:5px;
9) width Optional parameter. Describes a width for your tooltip.
Default value is 100px
10) cond Optional parameter. Describes a boolean attribute tag's behavior depends on.
Default value is true (display tooltip).
for downloading:
Library: inputtooltip.jar Description: taglib.tld
© Coldbeans Software
Comments?
See also Coldtags suite - the largest collection of custom JSP tags.
|