myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wkl...@ebi.ac.uk
Subject Trinidad rendererKit error
Date Fri, 28 Sep 2007 15:27:37 GMT
Hi,

if I put the default rendererKit into my faces-config.xml then
I got the following error:

-----------------------------------------------------------------------
28.09.2007 16:13:43
org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit
createResponseWriter
SCHWERWIEGEND: No RenderingContext has been created.
28.09.2007 16:13:43 com.sun.facelets.FaceletViewHandler handleRenderException
SCHWERWIEGEND: Error Rendering View[/homePage.xhtml]
java.lang.IllegalStateException: No RenderingContext
        at
org.apache.myfaces.trinidad.render.CoreRenderer.encodeBegin(CoreRenderer.java:193)
        at
org.apache.myfaces.trinidadinternal.renderkit.htmlBasic.HtmlFormRenderer.encodeBegin(HtmlFormRenderer.java:56)
        at
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:515)
--------------------------------------------------------------


But if I remove the default rendererKit, Trinidad throws
of course the following error:

-------------------------------------------------------------------
28.09.2007 16:19:41 org.apache.myfaces.trinidad.component.UIXComponentBase
_getRendererImpl
WARNUNG: Could not find renderer for CoreForm[UIXFacesBeanImpl, id=_id97]
rendererType = org.apache.myfaces.trinidad.Form
28.09.2007 16:19:41 org.apache.myfaces.trinidad.component.UIXComponentBase
_getRendererImpl
WARNUNG: Could not find renderer for
CoreInputText[UIXEditableFacesBeanImpl, id=input1] rendererType =
org.apache.myfaces.trinidad.Text
28.09.2007 16:19:41 org.apache.myfaces.trinidad.component.UIXComponentBase
_getRendererImpl
WARNUNG: Could not find renderer for CoreCommandButton[UIXFacesBeanImpl,
id=button1] rendererType = org.apache.myfaces.trinidad.Button
---------------------------------------------------------------


my faces-config.xml looks, how you can imagine, like this:
------------------------------
<application>
        <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
    </application>

    <application>
        <!-- Use the Trinidad RenderKit -->
        <default-render-kit-id>
            org.apache.myfaces.trinidad.core
        </default-render-kit-id>
    </application>
---------------------------------------


Any suggestions?
Thanks a lot!

Wolfgang


Mime
View raw message