Hi,
I can't use jstl:forEach with facelets. The following code just display one time 'test' :
<ui:composition template="/templates/template.jsp"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:jstl="http://java.sun.com/jsp/jstl/core">
<ui:define name="c_test">
<h:outputText value="test"/>
</ui:define>
</ui:composition>
and template.jsp :
<jsp:root xmlns="http://www.w3.org/1999/xhtml"
xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:jstl="http://java.sun.com/jsp/jstl/core">
<jsp:text>
<html>
<head>
<title>
Critere Test
</title>
</head>
<body>
<c:view>
<t:panelTabbedPane>
<jstl:forEach begin="1" end="10">
<ui:insert name="c_test">Composant c_test not defined</ui:insert>
</jstl:forEach>
</t:panelTabbedPane>
</c:view>
</body>
</html>
</jsp:text>
</jsp:root>
Do you see something wrong ?
Thanks
Gilles DOFFE