myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mason Hsieh (JIRA)" <>
Subject [jira] Created: (MYFACES-678) Can't find "org.apache.myfaces.Message" when HtmlMessageTag.getRendererType() is invoked
Date Fri, 07 Oct 2005 05:32:47 GMT
Can't find "org.apache.myfaces.Message" when HtmlMessageTag.getRendererType() is invoked

         Key: MYFACES-678
     Project: MyFaces
        Type: Bug
  Components: Tomahawk  
    Versions: 1.1.0, Nightly, 1.1.1    
 Environment: MyFaces 1.1.0; Tomcat 5.5.9; Java SE 5.0; Mac OS X 10.4
    Reporter: Mason Hsieh
    Priority: Critical

When the tag: <x:message> or <t:message> is invoked, exception thrown as followed:

javax.faces.FacesException: Undefined component type org.apache.myfaces.HtmlMessage
        at org.apache.myfaces.application.ApplicationImpl.createComponent(
        at javax.faces.webapp.UIComponentTag.createComponentInstance(
        at javax.faces.webapp.UIComponentTag.findComponent(
        at javax.faces.webapp.UIComponentTag.doStartTag(
        at org.apache.jsp.customers_jsp._jspx_meth_x_message_0(org.apache.jsp.customers_jsp:525)

It may come from the class: org.apache.myfaces.taglib.html.ext.HtmlMessageTag.getRendererType().
The returned type is "org.apache.myfaces.Message".

The workaround is to use <h:message> instead of <x:message> or <t:message>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message