« Return to Thread: Component like panelGrid with ul and li

Re: Component like panelGrid with ul and li

by mraible :: Rate this Message:

Reply to Author | View in Thread

I've decided to try overriding panelGrid's renderer to get this functionality.  I'm assuming HtmlGridRendererBase.java (http://tinyurl.com/oqbxh) is the correct class to override?  Once I've done this, how do I override it in my faces-config.xml file?  I'm overriding outputLabel with the following:

    <render-kit>
      <description>Some replacements for the standard renderers</description>
      <renderer>
         <description>Replacement renderer for h:outputLabel</description>
         <component-family>javax.faces.Output</component-family>
         <renderer-type>javax.faces.Label</renderer-type>
         <renderer-class>org.appfuse.webapp.jsf.LabelRenderer</renderer-class>
      </renderer>

Which component-family is panelGrid in?  javax.faces.panel?  And it's render-type is javax.faces.Panel?

Thanks,

Matt

 « Return to Thread: Component like panelGrid with ul and li