All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.xhtml.controlheader-core.ftl Maven / Gradle / Ivy

Go to download

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!
<#--
	Only show message if errors are available.
	This will be done if ActionSupport is used.
-->
<#assign hasFieldErrors = parameters.name?exists && fieldErrors?exists && fieldErrors[parameters.name]?exists/>
<#if hasFieldErrors>
<#list fieldErrors[parameters.name] as error>

<#if parameters.labelposition?default("") == 'top'>
    <#rt/>
<#else>
    <#rt/>

        ${error?html}<#t/>
    <#lt/>



<#--
	if the label position is top,
	then give the label it's own row in the table
-->

<#if parameters.labelposition?default("") == 'top'>
    <#rt/>
<#else>
    <#rt/>

<#if parameters.label?exists>
    <#t/>

    <#lt/>
<#-- add the extra row -->
<#if parameters.labelposition?default("") == 'top'>







© 2015 - 2024 Weber Informatics LLC | Privacy Policy