Image button taglib ver. 1.4

    Custom JSP taglib lets you implement buttons with images. For example:
 


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

<form ...>

<i:ibutton width="100" height="50" image="cat.gif"/>

</form>

and you will get some like this:

Tags are:

ibutton

Implements button with image on the background. Parameters are:

1) image Describes an URL for background image.
2) name Optional parameter. Describes a name for this button
3) width Optional parameter. Describes a width for this button
4) height Optional parameter. Describes a height for this button
5) caption Optional parameter. Describes a value (caption) for this button. Default value is empty.
6) title Optional parameter. Describes a tooltip
7) style Optional parameter. Describes a CSS style for this button
8) className Optional parameter. Describes a CSS class name for this button
9) onClick Optional parameter. Describes an onClick attribute for this button
10) enabled Optional parameter. Possible values are true or false. Describes a status for this button. Default value is true (enabled).

for downloading:

Library: ibuttontag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: