You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by ur...@bluemail.ch on 2005/10/16 22:16:39 UTC

JSTL problem in JSF

The JSTL <c:if> statement does not work.

For testing I use both statements. But login2.jsp code is not included.

<c:if test="${Partner.loggedIn==false}" >
<%@include file="login2.jsp" %>
</c:if>

<c:if test="${Partner.loggedIn==true}" >
<%@include file="login2.jsp" %>
</c:if>


<c:out value="${Partner.loggedIn}"/> prints out ${Partner.loggedIn}

Any advices?

Thanks

Urs


Re: JSTL problem in JSF

Posted by Werner Punz <we...@gmx.at>.
urswagner@bluemail.ch wrote:
> The JSTL <c:if> statement does not work.
> 
> For testing I use both statements. But login2.jsp code is not included.
> 
> <c:if test="${Partner.loggedIn==false}" >
> <%@include file="login2.jsp" %>
> </c:if>
> 
> <c:if test="${Partner.loggedIn==true}" >
> <%@include file="login2.jsp" %>
> </c:if>
> 
> 
> <c:out value="${Partner.loggedIn}"/> prints out ${Partner.loggedIn}
> 
> Any advices?
> 
> Thanks
> 
> Urs
> 
> 
Use aliasbean and the rendered attribute...