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

mgrouch do-not-reply at jboss.com
Thu Jun 28 11:46:20 EDT 2007


Here is the test case


  | 
  | 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:s="http://jboss.com/products/seam/taglib" 
  | 	xmlns:fc="http://java.sun.com/jstl/core"
  | 	xmlns:h="http://java.sun.com/jsf/html"
  | 	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
  | 	xmlns:w="http://test.org/tags"
  | 	xmlns:f="http://java.sun.com/jsf/core">
  | 	<s:div id="#{id}">
  | 		tag1
  | 		<w:tag2 id="#{id}_tag2">
  | 		<ui:insert></ui:insert>
  | 		</w:tag2>
  | 		tag1
  | 	</s: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:s="http://jboss.com/products/seam/taglib" 
  | 	xmlns:fc="http://java.sun.com/jstl/core"
  | 	xmlns:h="http://java.sun.com/jsf/html"
  | 	xmlns:t="http://myfaces.apache.org/tomahawk"
  | 	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
  | 	xmlns:w="http://test.org/tags"
  | 	xmlns:f="http://java.sun.com/jsf/core">
  | 	<rich:panel id="#{id}">
  | 		tag2
  | 		<ui:insert></ui:insert>
  | 		tag2
  | 	</rich:panel>
  | </ui:component>
  | 
  | 
  | 
  | 		<h:form id="testTags">
  | 			<w:tag1 id="tag1">
  | 				<s:div>
  | 					Hello1
  | 				</s:div>
  | 			</w:tag1>
  | 			<w:tag2 id="tag2">
  | 				<s:div>
  | 					Hello2
  | 				</s:div>
  | 			</w:tag2>
  | 		</h:form>
  | 
  | 

Hello1 is not rendered with facelets 1.1.13a.
Hello1 is rendered with facelets from Seam 1.3.0.A




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

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



More information about the jboss-user mailing list