0 Replies Latest reply on Mar 6, 2015 10:33 AM by tvori

    Load ExtendedDataModel programmatically

    tvori

      I'm extending a Richfaces ExtendedDataModel to create a custom table. In the @PostConstruct of a bean the object of custom table is created, but the methods:

       

           void walk(FacesContext facesContext, DataVisitor visitor, Range range, Object argument)

       

           int getRowCount()

       

      are not executed and the table data is populated after the @PostConstruct.

      How can instruct the table to load the data and execute the getRowCount and walk methods programaticaly from the @Postcosntruct?

      Normally the table can be reloaded when is rendered in the view, but I need to do it programmatically in the bean.