Custom JSP taglib. This taglib lets you display buttons with
some special (toggle-like) look and feel. For example:
<%@ taglib uri="taglib.tld" prefix="css" %>
<css:button link="http://www.servletsuite.com/jsp.htm" taget="_blank">Coldtags</css:button>
and you will get some like this:
Only one parameter (link) is mandatory. You can set here some URL or for example some like this: javascript:document.form_name.submit().
Optional parameters let you to specify color for titles, font etc.
Tags are:
button
Body tag. Simulates a button with some special (toggle-like) look and feel. Body of tag describes value (caption) for button. Parameters are:
1) link Describes a link
2) target Optional parameter. Describes target frame.
3) title Optional parameter. Describes tooltip
4) width Optional parameter. Describes width for button.
Default value is 80px
5) color Optional parameter. Describes color for text.
Default value is black.
6) fontFace Optional parameter. Describes face for font.
Default value is Arial.
7) fontSize Optional parameter. Describes size for font.
Default value is 20px.
for downloading:
Library: csstag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.