I have a checkbox in my vm file like this :
<input name="ISPOperatorList[0].ISPOperatorAccessStatus" id="OPERATORAccessDeny0"
#if( $!serviceProviderBean.ISPOperatorList[0].ISPOperatorAccessStatus == "no") checked="checked" #end
class="checkBoxRadio" type="checkbox" value="no" />
I have added the #if
condition to check whether a predefined "no" value comes from back-end or not. If it comes, I will make the checkbox checked.
I am getting this error while loading the page now :
org.apache.velocity.exception.ParseErrorException: Encountered "[" at admin/ispEnrollmentPage.vm[line 203, column 91]Was expecting one of:
<RPAREN> ...
<WHITESPACE> ...
"-" ...
"+" ...
"*" ...
"/" ...
"%" ...
<LOGICAL_AND> ...
<LOGICAL_OR> ...
<LOGICAL_LT> ...
<LOGICAL_LE> ...
<LOGICAL_GT> ...
<LOGICAL_GE> ...
<LOGICAL_EQUALS> ...
<LOGICAL_NOT_EQUALS> ...