[jboss-user] [JBoss Seam] - Re: <ui:insert /> stopped working in Seam 2.0 within source

mgrouch do-not-reply at jboss.com
Fri Jun 29 12:26:51 EDT 2007


I've simplified test case to illustrate that the bug is actually in facelets library


tag1
  | 
  | <?xml version="1.0" encoding="iso-8859-1"?>
  | <ui:component xmlns="http://www.w3.org/1999/xhtml"
  | 	xmlns:ui="http://java.sun.com/jsf/facelets"
  | 	xmlns:fc="http://java.sun.com/jstl/core"
  | 	xmlns:h="http://java.sun.com/jsf/html"
  | 	xmlns:w="http://test.org/tags"
  | 	xmlns:f="http://java.sun.com/jsf/core">
  | 	<div>
  | 		tag1
  | 		<w:tag2>
  | 		<ui:insert></ui:insert>
  | 		</w:tag2>
  | 		tag1
  | 	</div>
  | </ui:component>
  | 
  | tag2
  | 
  | <?xml version="1.0" encoding="iso-8859-1"?>
  | <ui:component xmlns="http://www.w3.org/1999/xhtml"
  | 	xmlns:ui="http://java.sun.com/jsf/facelets"
  | 	xmlns:fc="http://java.sun.com/jstl/core"
  | 	xmlns:h="http://java.sun.com/jsf/html"
  | 	xmlns:w="http://test.org/tags"
  | 	xmlns:f="http://java.sun.com/jsf/core">
  | 	<div>
  | 		tag2
  | 		<ui:insert></ui:insert>
  | 		tag2
  | 	</div>
  | </ui:component>
  | 
  | 
  | 
  | 		<h:form id="testTags">
  | 			<w:tag1>
  | 				<div>
  | 					Hello1
  | 				</div>
  | 			</w:tag1>
  | 			<w:tag2>
  | 				<div>
  | 					Hello2
  | 				</div>
  | 			</w:tag2>
  | 		</h:form>
  | 
  | 

Hello1 is not rendered (as it should have) with facelets 1.1.13a (Seam 2.0.0.Beta1)

Hello1 is rendered with facelets from JBoss Seam 1.3.0.ALPHA

I hope this provides enough evidence for facelets developers to look at it...


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059247#4059247

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059247



More information about the jboss-user mailing list