Date box taglib ver. 1.2


    Custom JSP taglib. This taglib lets you output date box informer. For example:
 


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

<d:DateBox> this text belongs to DateBox</d:DateBox>

and you will get some like this:

Jan
04
2007
this text belongs to DateBox
 
 
 

Tags are:

DateBox

Body tag generates a date box. Attributes are:

1) id Optional attribute. Describes a CSS/DHTML id for your box
2) boxClass Optional attribute. Describes a CSS class for the box itself. By default tag uses the following style: float:left;width:44px;height:48px;overflow:visible;border:1px solid #555;margin:2px 7px 0 0;
3) monthClass Optional attribute. Describes a CSS class for month. By default tag uses the following style: background:#ddd;font-size:80%;line-height:13px;height:13px;font-weight:bold;text-align:center;width:44px
4) dayClass Optional attribute. Describes a CSS class for day. By default tag uses the following style: background:#fefefe;color:#000;border:1px solid #555;border-width:1px 0;font-size:120%;line-height:20px;height:20px;font-weight:bold;text-align:center;width:44px
5) yearClass Optional attribute. Describes a CSS class for year. By default tag uses the following style: background:#ddd;font-size:80%;line-height:13px;height:13px;font-weight:bold;text-align:center;width:44px
6) date Optional attribute. Describes a date (java.util.Date). By default tag will use the current date.
7) locale Optional attribute. Describes a locale
 

for downloading:

Library: dateboxtag.jar    Description: taglib.tld

© Coldbeans Software      Comments?

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

Also in Coldtags: