Those outputLink and outputText elements need to be children of a view element.
---- Original message ---- >Date: Thu, 11 Aug 2005 22:56:57 +0200 >From: [EMAIL PROTECTED] >Subject: adding a generated jsp at runtime >To: [email protected] > >Hi, > >i generate a foo.jsp-File at runtime in my JSF application. When i try to >contact that File with my Browser (http://localhost/foo.jsf), the File will not be displayed. >How can i add a page at runtime in an JSF application??? >Thanx for any advice!!! > >Following error throw Tomcat, when I contact the site: > >[UIComponentTagUtils] Component javax.faces.component.UIViewRoot is no >ValueHolder, cannot set value. >[HtmlRenderKitImpl] Unsupported component-family/renderer- type: >javax.faces.ViewRoot/javax.faces.Link >[HtmlRenderKitImpl] Unsupported component-family/renderer- type: >javax.faces.ViewRoot/javax.faces.Link > >and so on... > >---------------------- >My generated foo.jsp: ><?xml version="1.0" encoding="UTF-8"?> > ><jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" >xmlns:tiles="http://struts.apache.org/tags-tiles" >xmlns:h="http://java.sun.com/jsf/html" >xmlns:f="http://java.sun.com/jsf/core" >xmlns="http://www.w3.org/1999/xhtml" version="2.0"> ><h:outputLink value="http://localhost:8080/webapp/home.jsf"> ><h:outputText value="#{res.home}"/> ></h:outputLink> ></jsp:root> > > > > > Dennis Byrne

