You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Oscar Amat <os...@gft.com> on 2006/01/25 13:27:42 UTC

Warnings on every faces request

Hi,

I am getting a lot of messages like the following when using MyFaces 1.1.1:

[java] 13:20:37,496 WARN  [HtmlRenderKitImpl] Unsupported
component-family/renderer-type: javax.faces.ViewRoot/javax.faces.Text
[java] 13:20:37,496 INFO  [[/pjsf]] No Renderer found for component
{Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId:
/jsp/home.jsp]} (component-family=javax.faces.ViewRoot,
renderer-type=javax.faces.Text)
[java] 13:20:37,496 WARN  [UIComponentBase] No Renderer found for component
{Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId:
/jsp/home.jsp]} (component-family=javax.faces.ViewRoot,
renderer-type=javax.faces.Text)

I get these for every component I use. Even with these warnings, components
are rendered with no problems.

What is the meaning of these messages?

Regards,
Oscar


Re: Warnings on every faces request

Posted by Oscar Amat <os...@gft.com>.
It turns out it was the ORDER in which I put <html>, <f:loadBundle> and
<f:view> tags in my page.
A structure like the following works:

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<html>
<f:view>
      <f:loadBundle basename="...Messages" var="msgs" />
      <head>
...
...
      </head>
      <body>
            <h:form id="...">
...
...
            </h:form>
      </body>
</f:view>
</html>

Thought I should post this in case anyone gets these weird warnings again.

"WARN  [HtmlRenderKitImpl] Unsupported component-family/renderer-type:
javax.faces.ViewRoot/javax.faces.Text"

Oscar