我在JSF页面中得到了不一致的渲染错误。我使用的是千里达框架。
以下是日志,请帮助
[6/28/12 11:44:56:124 IST] 00000020 FileRepositor A ADMR0010I: Document cells/DHZVYYR1Node01Cell/applications/project-ear.ear/deployments/project-ear/META-INF/ibm-application-runtime.props is modified.
[6/28/12 11:46:42:716 IST] 00000024 compiler I Added Library from: wsjar:file:/C:/Users/ashishagarwal/IBM/rationalsdp/workspace/project/WebContent/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-core.taglib.xml
[6/28/12 11:46:42:720 IST] 00000024 compiler I Added Library from: wsjar:file:/C:/Users/ashishagarwal/IBM/rationalsdp/workspace/project/WebContent/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-html.taglib.xml
[6/28/12 11:46:42:728 IST] 00000024 compiler I Added Library from: wsjar:file:/C:/Users/ashishagarwal/IBM/rationalsdp/workspace/project/WebContent/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-ui.taglib.xml
[6/28/12 11:46:42:735 IST] 00000024 compiler I Added Library from: wsjar:file:/C:/Users/ashishagarwal/IBM/rationalsdp/workspace/project/WebContent/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-core.taglib.xml
[6/28/12 11:46:42:738 IST] 00000024 compiler I Added Library from: wsjar:file:/C:/Users/ashishagarwal/IBM/rationalsdp/workspace/project/WebContent/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-fn.taglib.xml
[6/28/12 11:46:42:747 IST] 00000024 compiler I Added Library from: wsjar:file:/C:/Users/ashishagarwal/IBM/rationalsdp/workspace/project/WebContent/WEB-INF/lib/trinidad-impl-1.2.9.jar!/META-INF/tr.taglib.xml
[6/28/12 11:46:42:748 IST] 00000024 compiler I Added Library from: wsjar:file:/C:/Users/ashishagarwal/IBM/rationalsdp/workspace/project/WebContent/WEB-INF/lib/trinidad-impl-1.2.9.jar!/META-INF/trh.taglib.xml
[6/28/12 11:46:43:257 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreDocument[UIXFacesBeanImpl, id=j_id0] rendererType = org.apache.myfaces.trinidad.Document
[6/28/12 11:46:43:257 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreForm[UIXFacesBeanImpl, id=j_id2] rendererType = org.apache.myfaces.trinidad.Form
[6/28/12 11:46:43:258 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id4] rendererType = org.apache.myfaces.trinidad.Link
[6/28/12 11:46:43:258 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id5] rendererType = org.apache.myfaces.trinidad.Link
[6/28/12 11:46:43:258 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id6] rendererType = org.apache.myfaces.trinidad.Link
[6/28/12 11:46:43:258 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id7] rendererType = org.apache.myfaces.trinidad.Link
[6/28/12 11:46:43:258 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id9] rendererType = org.apache.myfaces.trinidad.Link
[6/28/12 11:46:43:259 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id10] rendererType = org.apache.myfaces.trinidad.Link
[6/28/12 11:46:43:259 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id11] rendererType = org.apache.myfaces.trinidad.Link
[6/28/12 11:46:43:259 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id13] rendererType = org.apache.myfaces.trinidad.Link
[6/28/12 11:46:43:259 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id14] rendererType = org.apache.myfaces.trinidad.Link
[6/28/12 11:46:43:259 IST] 00000024 UIXComponentB W org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl Could not find renderer for CoreCommandLink[UIXFacesBeanImpl, id=j_id15] rendererType = org.apache.myfaces.trinidad.Link发布于 2012-06-28 14:48:36
得到解决方案这里是参考链接,下面是相关的解决方案
http://mail-archives.apache.org/mod_mbox/myfaces-users/200707.mbox/%3C71235db40707151015r55fe85a0o354c7e6e446a2515@mail.gmail.com%3E
7/15/07,Burghard Britzke写道:
,谢谢!那是错误所在。有没有一个文档可以用来设置一个千里达jsf应用程序?以及如何使用皮肤?
Am 15.07.2007 um 17:19 schrieb Simon Lessard:
嗯,
关于since config.xml,我不认为它是可选的,因为在实际的应用程序中,您很可能需要使用简单的皮肤。关于您的错误,我认为您的faces-config.xml中可能缺少以下内容:
<application>
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
</application>发布于 2014-06-11 22:44:28
如果你正在使用eclipse,你可以一步一步地学习这个Initial Setup Guide。
别忘了!所需的附加组件:
需要对web应用程序的描述符进行以下添加,以配置千达的资源servlet (它在运行时提供样式表、脚本和图像):
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>需要向web应用程序的描述符添加以下内容,以配置千里达的过滤器:
<filter>
<filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>trinidad</filter-name>
<servlet-name>faces</servlet-name>
</filter-mapping>注意:上面显示的过滤器映射假设标准JSF servlet的servlet名称被指定为"faces“-根据用户设置的不同,这可能会有所不同,因此应该适当地指定。
需要向JSF应用程序配置资源添加以下内容,以配置千里达的核心RenderKit:
<application>
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
</application>https://stackoverflow.com/questions/11239073
复制相似问题