You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/03/20 13:35:58 UTC
DO NOT REPLY [Bug 41901] New: - if custom component written in facelets include statement is called inside , if statement is now executed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41901>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41901
Summary: if custom component written in facelets include <c:if >
statement is called inside <h:dataTable>, if statement
is now executed
Product: Tomcat 6
Version: 6.0.7
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: ekorchounova@gmail.com
I have a custom composite component in facelets, which contains code as following:
1. <h:outputText value="${nofpages}" />
2. <c:if test="${nofpages > 1}"><h:outputText value="s" /></c:if>
I call this component from <h:dataTable> as following:
<h:dataTable value="#{myBean.mylist}" var="t" id="tableTr">
<h:column>
<custom:item nofpages="#{t.numberOfPages}" />
</h:column>
</h:dataTable>
>From line 1. I get printed "7", but line 2 does not print "s" as I would expect.
If I call the same component from inside <h:panelGrid>, I get the correct result:
<h:panelGrid id="myTable" columns="3">
<c:forEach items="#{myBean.mylist}" var="t">
<h:panelGroup>
<custom:item nofpages="#{t.numberOfPages}" />
</h:panelGroup>
</c:forEach>
</h:panelGrid>
In the last case I get printed "7" and "s".
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 41901] - if custom component written in facelets include statement is called inside , if statement is now executed
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41901>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41901
ekorchounova@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ekorchounova@gmail.com
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org