Calendar JSTL Tag Lib ver. 1.0

    Calendar JSTL Tag Lib lets you present calendar control in your applications. For example:
 


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

<cal:month month="2" cssMonth="month">
<cal:header cssHeader="header"/>
<cal:dayOfWeekIterator>
<cal:dayOfWeek cssDayOWeek="dayOfWeek" cssRestDayOfWeek="restDayOfWeek"/>
  </cal:dayOfWeekIterator>
<cal:dayOfMonthIterator/>
  <cal:dayOfMonth link="true" href="http://www.calendar.ru/test.mvc" cssRestDayLink="restDayOfMonth"/>
</cal:dayOfMonthIterator>
</cal:month>

and you will see some like this:

Calendar

Calendar JSTL Tag Lib parameters are:
Tag NameParameter NameDescription
cal:monthStart tag for displaying calendar
monthMonth of year for displaying. By default – current month
yearDefault value – current year
localeIn current build available two locales: Russian and English locales. By default: English locale
cssMonthCss for common calendar table
cal:headerTag for displaying month of year
cssHeaderCss for month row
cal:dayOfWeekIteratorTag for iterate week’s days
cal:dayOfWeekTag displays day of week
cssDayOfWeekCss for days in a week
cssRestDayOfWeekCss for rest days in a week. In current version it’s only for Saturday and Sunday days
cal:dayOfMonthIteratorTag for iterate month’s days
cal:dayOfMonthTag displays day of month
linkIf you present days of month as link with date parameter, set value to true. By default is false
hrefValue which you want to use as a link
cssDayCss days of month
cssRestDayCss rest days of month
cssDayLinkCss for link. If link parameter is true
cssRestDayLinkCss rest days for link. If link parameter is true

For downloading:

Demo version: calendar.jar    Description: calendar.tld

Dependency jars:  jsp-api.jar, jstl.jar

Buy it here: Buy it here

 © AS_Development      Support