template.css_xhtml.checkbox.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webwork Show documentation
Show all versions of webwork Show documentation
WebWork is a Java web-application development framework.
It is built specifically with developer productivity and
code simplicity in mind, providing robust support for building
reusable UI templates, such as form controls, UI themes,
internationalization, dynamic form parameter mapping to JavaBeans,
robust client and server side validation, and much more.
The newest version!
<#--
NOTE: The 'header' stuff that follows is in this one file for checkbox due to the fact
that for checkboxes we do not want the label field to show up as checkboxes handle their own
lables
-->
<#assign hasFieldErrors = fieldErrors?exists && fieldErrors[parameters.name]?exists/>
<#if parameters.id?exists>id="wwgrp_${parameters.id}"<#rt/>#if> class="wwgrp">
<#if hasFieldErrors>
<#if parameters.id?exists>id="wwerr_${parameters.id}"<#rt/>#if> class="wwerr">
<#list fieldErrors[parameters.name] as error>
<#if parameters.id?exists>
errorFor="${parameters.id}"<#rt/>
#if>
class="errorMessage">
${error?html}