Commits

Anonymous committed d2c2a5b

Fixed checkbox problem.

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

Comments (0)

Files changed (1)

src/java/templates/xhtml/checkbox.vm

 <td colspan="2">
 <table width="100%" >
 <tr>
-  <td valign="top" align="right"><input type="checkbox" name="${tag.Name}" id="${tag.Name}" #if( ${tag.Value} )value="${tag.Value}" #end#if( ${tag.ActualValue} == "true" )checked="checked"#end/></td>
+  <td valign="top" align="right"><input type="checkbox" name="${tag.Name}" id="${tag.Name}" #if( ${tag.Value} )value="${tag.Value}" #end#if( ${tag.ActualValue.toString()} == "true" )checked="checked"#end/></td>
   <td><label for="${tag.Name}">$!{labelValue}</label></td>
 </tr>
 </table>