[richfaces-issues] [JBoss JIRA] Created: (RF-7261) Many samples use the wrong URI for the JSTL namespace in Facelets

Scott Langley (JIRA) jira-events at lists.jboss.org
Tue May 26 15:24:56 EDT 2009


Many samples use the wrong URI for the JSTL namespace in Facelets
-----------------------------------------------------------------

                 Key: RF-7261
                 URL: https://jira.jboss.org/jira/browse/RF-7261
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.1
         Environment: Windows XP Pro
Sun JavaEE SDK 5.07
Apache Tomcat 6.0.18
            Reporter: Scott Langley
            Assignee: Nick Belaevski


For the below code fragment:

 	<c:forEach var="iterator" begin="1" end="3">
		Test<br/> 
	</c:forEach>

When not using the <rich:page> tag, the example code interprets the <c:forEach> tag and renders:

		Test<br />
		Test<br />
		Test<br />

When using the <rich:page> tag, the <c:forEach> tags are not interpreted but are rendered exactly as written:

    <c:forEach var="iterator" begin="1" end="3">
	Test<br /> 
    </c:forEach>

Here's the complete code for this version:

<rich:page 
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
 	markupType="xhtml"
	contentType="text/html"
	>	
 	<c:forEach var="iterator" begin="1" end="3">
		Test<br/> 
	</c:forEach>
</rich:page>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list