我在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
答案 0 :(得分:1)
GOT THE SOLUTION在这里是ref链接,下面是相关的解决方案
http://mail-archives.apache.org/mod_mbox/myfaces-users/200707.mbox/%3C71235db40707151015r55fe85a0o354c7e6e446a2515@mail.gmail.com%3E
2007年7月15日,Burghard Britzke写道:
谢谢你!那是错。有没有可用的文档设置 特立尼达jsf申请?以及如何使用皮肤?Am 15.07.2007 um 17:19 schrieb Simon Lessard:
嗯,
关于trinidad-config.xml,我不认为它是可选的,因为你会 最有可能需要在实际应用中使用除简单之外的皮肤。 关于你的错误,我想你可能会错过以下内容 faces-config.xml中:
<application>
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
</application>
答案 1 :(得分:0)
如果你正在使用eclipse,你可以按照Initial Setup Guide一步一步地进行操作。
别忘了!必要的补充:
需要对Web应用程序的描述符进行以下添加,以配置Trinidad的资源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-name被指定为&#34; faces&#34; - 这可能因用户设置而异,因此应适当指定。
需要对JSF应用程序配置资源进行以下添加,以配置Trinidad的核心RenderKit:
<application>
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
</application>