You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by ud...@freenet.de on 2005/08/11 22:56:57 UTC
adding a generated jsp at runtime
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>