Непоследовательная проблема рендеринга с Trinidad JSF

Я получаю непоследовательную ошибку рендеринга на страницах 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

person Ashish Agarwal    schedule 28.06.2012    source источник


Ответы (2)


ПОЛУЧИЛ РЕШЕНИЕ, вот ссылка, а ниже — соответствующее решение
http://mail-archives.apache.org/mod_mbox/myfaces-users/200707.mbox/%[email protected]%3E

15.07.07 Бургхард Бритцке написал:

Спасибо! это было ошибкой. Есть ли доступная документация по настройке приложения jsf для тринидада? и как работать со скинами?

Am 15.07.2007 гм 17:19 шриб Саймон Лессард:

Хм,

Что касается trinidad-config.xml, я бы не стал считать его необязательным, поскольку вам, скорее всего, потребуется использовать скин, отличный от простого, в реальном приложении. Что касается вашей ошибки, я думаю, что вам может не хватать следующего в вашем Faces-config.xml:

<application>

 <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
  </application>
person Ashish Agarwal    schedule 28.06.2012

Если вы используете eclipse, вы можете шаг за шагом следовать этому Руководство по начальной настройке.

Не забывайте! Необходимые дополнения:

Следующие дополнения необходимо внести в дескриптор веб-приложения для настройки сервлета ресурсов Trinidad (который обслуживает таблицы стилей, сценарии и изображения во время выполнения):

  <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>

Для настройки фильтра Тринидада необходимо внести следующие дополнения в дескриптор веб-приложения:

  <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 указано как "faces" - это может отличаться в зависимости от настроек пользователя, поэтому его следует указывать соответствующим образом.< /эм>

Следующее дополнение необходимо внести в ресурс конфигурации приложения JSF для настройки основного RenderKit Trinidad:

<application>
  <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
</application>
person ja4    schedule 11.06.2014