0 Replies Latest reply on Mar 14, 2008 4:47 AM by Milan Shrestha

    Writing custom renderer for <rich:simpleTogglePanel>

    Milan Shrestha Newbie

      Hello everyone,
      I want to write a custom renderer for <rich:simpleTogglePanel> which does nothing but to let the children components to render themselves.

      I have written following renderer:

      public class D2ExcelSimpleTogglePanelRenderer extends Renderer{

      public boolean getRendersChildren() {
      System.out.println("In the renderer !!!!!!!!");
      return false;

      And I have registered in the faces-config.xml as follows:

      <renderer-class> com.d2.jsf.components.renderer.D2ExcelSimpleTogglePanelRenderer

      But it is not working. I would be thankful if anyone could help me with the problem