I am using facelet and draw function has jstl tag:
<ui:define name="content" >
<h:outputScript name="js/graphics/paths.js"/>
<h:outputScript name="js/graphics/draw.js"/>
Tag to be evaluated when function is called(is that possible)?
function showMap(){
var data = {
<c:forEach items="${list.KPI}" var="ctag" varStatus="loop">
'${ctag.USTER}': ${ctag.Value}
${!loop.last ? ',' : ''}
</c:forEach>
}
}
Error:
Is it possible to use jstl with facelets? Why am i getting this error? I am using there links:
1) is it possible for javascript to extract value from cforeach tag