This JSP function is a standard function to XML bind checkboxes when modification rules need not be considered.
String getCheckBoxOptions(String name)
String getCheckBoxOptions(String name,String a_checked, String a_value)
name - Required. Value of the name attribute for the checkbox input. Can be a binding or a literal.
checked - Required. When the value of the value attribute is equal to this value, the CHECKED attribute is set to true.
value - Required. Value of the value attribute for the checkbox input. Can be a binding or a literal.
<input type="checkbox"
<%=getCheckBoxOptions("xml:Order:/Order/Addlinfo/@Country" ,"IND",
"xml:Order:/Order/Addlinfo/@Country" )%></yfc:i18n>India</yfc:i18n></input>
<input type="checkbox" name="xml:Order:/OrderAddlinfo/@Country"
value="IND">India</input>