| Apache Struts 2 Plugin Registry > Home > JSCalendar Plugin |
| Name | JSCalendar Plugin |
|---|---|
| Publisher | Derik Vercueil |
| License | Open Source (LGPL v3) (since version 0.7) |
| Version | 0.7 |
| Experimental | Yes |
| Homepage | http://code.google.com/p/struts2jscalendarplugin/ |
| Download | http://code.google.com/p/struts2jscalendarplugin/downloads/list |
| Maven GroupId | com.google.code.struts2jscalendarplugin |
| Maven ArtifactId | struts2jscalendarplugin |
JSCalendar Plugin is a backport of the Webwork 2.2.6 JSCalendar tag that is not present in Struts2 due to licensing issues.
Import the tag:
<%@ taglib prefix="jscalendar" uri="/jscalendar" %>
Use the tag as follows:
<jscalendar:head/> <jscalendar:jscalendar name="date" format="%Y-%m-%d %H:%M:%S" showstime="true"/>
| The jscalendar:head tag must be included in all the pages that will use the tags from this plugin. |
For additional documentation, look at the plugin-FAQ: http://code.google.com/p/struts2jscalendarplugin/wiki/FAQ