I have a new renderer class I extended from
org.apache.myfaces.renderkit.html.HtmlMessagesRendererBase named
com.speedy.renderers.HtmlTextMessagesRenderer . I want the component
org.apache.myfaces.component.html.ext.HtmlMessages to use it. The source
code for HtmlMessages has the static variable:
DEFAULT_RENDERER_TYPE = "org.apache.myfaces.Messages";
I am assuming this is the default renderer that the component uses and would
be the renderer-type in my configuration and the renderer class would be my
extended class. I don't know what the component family is though. Is the
component family a super class of the HtmlMessages component or something
entirely different?
<render-kit>
<render-kit-id>some-id</render-kit-id>
<renderer>
<component-family>?????????</component-family>
<renderer-type>org.apache.myfaces.Messages</renderer-type>
<renderer-class>com.speedy.renderers.HtmlTextMessagesRenderer</renderer-
class>
</renderer>
</render-kit>
The components hierarchy of HtmlMessages is:
...
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIMessages
javax.faces.component.html.HtmlMessages
org.apache.myfaces.component.html.ext.HtmlMessages
Thanks,
Warren Bell