1 Reply Latest reply on Dec 12, 2008 1:49 PM by jaabax

    Extending rich:dataTable: Encapsulate rich:datascroller and

    jaabax Newbie

      Hello,
      After talking a lot with our dear friend Google, i've decided to put my question here.

      I'm extending Richfaces using Maven and I want to make a rich:datascroller embedded in a rich:dataTable. This way I don't need to create a rich:datascroller everytime I need to create e rich:dataTable.

      - My renderer (DDataTableRenderer.java) class is extending org.richfaces.renderkit.html.DataTableRenderer.

      - My component class (UIDataTable.java) is extending org.richfaces.component.html.HtmlDataTable.

      - My tag class (DataTableTag) is extending org.richfaces.taglib.DataTableTag.

      What code I need to put in my renderer class to create a rich:dataScroller after the doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component) method?

      What to do to create this rich:dataScroller after the rich:dataTable creation?

      Thanks :D