## Only show message if errors are available.
## This will be done if ActionSupport is used.
#if( $fieldErrors.get($parameters.name) )
#set ($hasFieldErrors = $fieldErrors.get($parameters.name))
#foreach ($error in $fieldErrors.get($parameters.name))
#if ($parameters.labelposition == 'top')
#else
#end$!struts.htmlEncode($error)
#end
#end
## if the label position is top,
## then give the label it's own row in the table