}
final Boolean booleanValue = (boundValue != null ? (Boolean) boundValue : Boolean.FALSE);
value = "true";
checked = booleanValue.booleanValue();
} else {
<BUG>value = tag.getAttributes().getValue("value");
if (value == null) {</BUG>
throw new TemplateProcessingException(
"Attribute \"value\" is required in \"input(checkbox)\" tags " +
"when binding to non-boolean values");

}
final Boolean booleanValue = (boundValue != null ? (Boolean) boundValue : Boolean.FALSE);
value = "true";
checked = booleanValue.booleanValue();
} else {
value = attributes.getValue(this.valueAttributeDefinition.getAttributeName());
if (value == null) {
throw new TemplateProcessingException(
"Attribute \"value\" is required in \"input(checkbox)\" tags " +
"when binding to non-boolean values");
