Apache Struts 2 Documentation > Home > Guides > Tag Developers Guide > Struts Tags > UI Tags > Themes and Templates > simple theme > simple head template
Added by plightbo, last edited by Ted Husted on Sep 02, 2006  (view change)

The test:simple theme head template only does one thing: it prints out an HTML <link/> to the CSS required for the datepicker tag to render properly.

The source of the simple head.ftl template is:

Content pulled from external source. Click here to refresh.
<#if parameters.calendarcss?exists>
<link rel="stylesheet" href="<@ww.url value='/webwork/jscalendar/${parameters.calendarcss?html}' encode='false' includeParams='none'/>" type="text/css"/>
</#if>