Commits

Anonymous committed a5e2857

added class attribute to wrapping divs (wwgrp, wwerr, wwctrl)

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@1914573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits f26d8d9

Comments (0)

Files changed (2)

src/java/template/css_xhtml/checkbox.ftl

 lables
 -->
 <#assign hasFieldErrors = fieldErrors?exists && fieldErrors[parameters.name]?exists/>
-<div <#rt/><#if parameters.id?exists>id="wwgrp_${parameters.id}"<#rt/></#if>>
+<div <#rt/><#if parameters.id?exists>id="wwgrp_${parameters.id}"<#rt/></#if> class="wwgrp">
 
 <#if hasFieldErrors>
-<div <#rt/><#if parameters.id?exists>id="wwerr_${parameters.id}"<#rt/></#if>>
+<div <#rt/><#if parameters.id?exists>id="wwerr_${parameters.id}"<#rt/></#if> class="wwerr">
 <#list fieldErrors[parameters.name] as error>
     <div<#rt/>
     <#if parameters.id?exists>
 </div><#t/>
 </#if>
 
-<div <#rt/><#if parameters.id?exists>id="wwctrl_${parameters.id}"<#rt/></#if>>
+<div <#rt/><#if parameters.id?exists>id="wwctrl_${parameters.id}"<#rt/></#if> class="wwctrl">
 
 <#if parameters.required?default(false)>
         <span class="required">*</span><#t/>

src/java/template/css_xhtml/controlheader.ftl

 	This will be done if ActionSupport is used.
 -->
 <#assign hasFieldErrors = fieldErrors?exists && fieldErrors[parameters.name]?exists/>
-<div <#rt/><#if parameters.id?exists>id="wwgrp_${parameters.id}"<#rt/></#if>>
+<div <#rt/><#if parameters.id?exists>id="wwgrp_${parameters.id}"<#rt/></#if> class="wwgrp">
 	
 <#if hasFieldErrors>
-<div <#rt/><#if parameters.id?exists>id="wwerr_${parameters.id}"<#rt/></#if>>
+<div <#rt/><#if parameters.id?exists>id="wwerr_${parameters.id}"<#rt/></#if> class="wwerr">
 <#list fieldErrors[parameters.name] as error>
     <div<#rt/>
     <#if parameters.id?exists>
 </div><#t/>
 </#if>
 
-<div <#rt/><#if parameters.id?exists>id="wwctrl_${parameters.id}"<#rt/></#if>>
+<div <#rt/><#if parameters.id?exists>id="wwctrl_${parameters.id}"<#rt/></#if> class="wwctrl">
 
 <#if parameters.label?exists>
     <label <#t/>