[
http://jira.jboss.com/jira/browse/RF-2438?page=all ]
Juergen Purtz updated RF-2438:
------------------------------
Summary: Comments affect rendering of pages in facelet-aware projects
(FaceletViewHandler problem?) (was: Comments affect Rendering in facelet-aware projects
(FaceletViewHandler problem?))
Comments affect rendering of pages in facelet-aware projects
(FaceletViewHandler problem?)
------------------------------------------------------------------------------------------
Key: RF-2438
URL:
http://jira.jboss.com/jira/browse/RF-2438
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: web-app version="2.5"
faces-config version="1.2"
Java: 5.0
Richfaces: 3.1.4 GA
Tomcat: 6.0.16
JBoss Developer Studio: 1.0.0 GA
Reporter: Juergen Purtz
Priority: Minor
Rendering of page is influenced by XML-comments if project is facelet-aware. See JSF
page:
<!--
JSF example to demonstrate interfering of XML-comments and rendering.
Remove the comments within menue or panelGrind and recognize that rendering
behaves different.
Environment:
Project is facelet-aware (necessary condition, so the problem may reside
within FaceletViewHandler)
web-app version="2.5"
faces-config version="1.2"
Java: 5.0
Richfaces: 3.1.4 GA
Tomcat: 6.0.16
JBoss Developer Studio: 1.0.0 GA
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:ui="http://java.sun.com/jsf/facelets">
<head />
<body>
<f:view>
<a4j:form>
<rich:toolBar>
<rich:dropDownMenu value="One"/>
<rich:dropDownMenu value="Two"/>
<!-- some comment (remove me and additional space will go away) -->
<rich:dropDownMenu value="Three"/>
</rich:toolBar>
</a4j:form>
<rich:spacer height="50px"/>
<h:panelGrid border="1" columns="2">
<h:outputText value="111" />
<h:outputText value="222" />
<!-- some comment (remove me and additional cell will go away) -->
<h:outputText value="333" />
</h:panelGrid>
</f:view>
</body>
</html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira