Grails - Japanese Tag - checkBox

?? - checkBox

?? Description

Creates a checkbox form field. All the usual HTML elements apply beyond the below: ???????????????????HTML???????????????

????? Parameters

  • name (??) - ?????????? The name of the checkbox
  • value (??) - ??????????????true????????????????The value of the checkbox, if evaluates to true sets to checkbox to checked

? Examples

// a checked checkbox
<g:checkBox name="myCheckbox" value="${true}" />