On 7/1/09 2:00 AM, webtier_at_javadesktop.org wrote:
> Hello,
>
> i had some problems mixing older taglibs with the brand new jsf 2.0 taglibs.
> I have to say that im new to JSF and starting directly with the 2.0 may wasnt the best idea.
> Anyway may somebody can help me out, clearing some confusions.
>
> I had problems mixing the "http://java.sun.com/jsf/facelets" with the "http://java.sun.com/jsp/jstl/core" library.
> Im using Glassfish 2.1 (newest) and the nightly build from the mojarra 2.0 implementation.
>
> [Example]
>
> <ui:repeat value="${entetys}" var="entety">
> <c:if test="${empty entety.bundle}">
> ${empty entety.bundle}
> </c:if>
> </ui:repeat>
>
The problem is a difference between actions that only execute when the
tree is created
(like c:forEach or c:if) and those tags that use UIComponents and thus
operate during the
standard JSF lifecycle (like ui:repeat).
There is a good write-up [1] by Roger Keayes that describes the differences.
[1]
http://www.ilikespam.com/blog/c:foreach-vs-ui:repeat-in-facelets
> returns: true true false.
> but should return only: true true (cause of the if-statement)
> it works totaly fine , using only the jsp lib:
>
> <c:forEach var="entety" items="${entetys}">
> <c:if test="${empty entety.bundle}">
> ${empty entety.bundle}"
> </c:if>
> </c:forEach>
>
> So my question is simple:
> - is this normal that u cant mix it like that?
> or bug?
> or feature?:)
> or simple a wrong thought on my side?
>
>
> Thanks in advance,
> Moritz Thielcke
> [Message sent by forum member 'moritzthielcke' (moritzthielcke)]
>
> http://forums.java.net/jive/thread.jspa?messageID=353722
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>