1. opensymphony
  2. webwork

Commits

savaki  committed 6fbaa69
  • Participants
  • Parent commits e4475c7
  • Branches master

Comments (0)

Files changed (1)

File src/java/templates/xhtml/checkboxlist.vm

View file
   #else
       #set( $itemValue = $item.toString() )
   #end
-  <div><input type="checkbox" name="${tag.Name}" id="${tag.Name}$!{itemValue}" value="$!{itemValue}" #if( $tag.ActualValue && $itemValue && $tag.ActualValue == $itemValue )checked="checked"#end/> <label class="label" for="${tag.Name}$!{itemValue}">$!{itemKey}</label></div>
+  <div><input type="checkbox" name="${tag.Name}" id="${tag.Name}$!{itemValue}" value="$!{itemValue}" #if( $tag.contains($tag.ActualValue,$itemValue) ) checked="checked"#end/> <label class="label" for="${tag.Name}$!{itemValue}">$!{itemKey}</label></div>
 #end
 
 #else