By default the JSTL <c:set> tag stores the attribute in the PAGE scope.
However, JSF does not know about the PAGE scope. If you really need
to use <c:set> then specify: scope='REQUEST'.
-Bryan
Christian Nolte wrote:
Hi!
I have the following problem: I have to evaluate values which have been
set using JSTL-Core-tags like set or forEach using JSF-Tags like
outputText to output them. The situation is like this:
-- test.jsp:
<!-- ... -->
<jsp:useBean id="bean" class="de.fhbswf.emaex.web.TestBean" />
<c:set var="test" value="${bean.test}" />
Set: ${test}
Output: <h:outputText value="#{test}"/>
<!-- ... -->
--
I understand that JSF has no rtexpression evaluation and I know that
this is for security reasons but I would like to know how I can use
these two taglibs together.
Best regards
Christian