in JSF page I the following code:
<h:dataTablevalue="#{rulesCntrl.getTblStati()}" var="stato"
rendered="rdrGroupTable(
#{rule.actuatorModule.model.type},
#{rule.funzione.chiave})">
where type and chiave are two integer. I wold like to pass these numbers to the following javascript function:
<script type='text/javascript'>
function rdrGroupTable(moduleType, ruleFunction) {
if((moduleType === 97) && (ruleFunction === 1)){
return true;
}
return false;
}
</script>
but I get the message: Error Traced [line: 24] The entity name must immediately follow '&' in the entity reference.
Some help, please? Domenico