Adds the necessary script-includes to a html HEAD, to use the struts2jscalendar-plugin.
Examples <head> <title>My page</title> <jscalendar:head/> </head>
To use calendar with german locale:
<head> <title>My page</title> <jscalendar:head language="de"/> </head>
If you use this jscalendar based datepicker widget, you might want to use one of the standard stylesheets provided with jscalendar (all distribution stylesheets are included in struts2 jar). The easiest way to do so is to place the <jscalendar:head/> tag in the head of your html page, as it takes care of including calendar css. Otherwise, to manually activate the calendar-green style, include the following in your stylesheet definition:
<head> <title>My page</title> <jscalendar:head calendarcss="calendar-green.css"/> </head>
Available stylesheets are:
- calendar-blue.css
- calendar-blue2.css
- calendar-brown.css
- calendar-green.css
- calendar-system.css
- calendar-tas.css
- calendar-win2k-1.css
- calendar-win2k-2.css
- calendar-win2k-cold-1.css
- calendar-win2k-cold-2.css
@author Patrick Lightbody
@author Rainer Hermanns
@author Rene Gielen
@author Philipp Leusmann
@ww.tag name="head" tld-body-content="empty"tld-tag-class="com.opensymphony.webwork.views.jsp.ui.HeadTag" description="Render a chunk of HEAD for your HTML file"
@since 2.2