4 Replies Latest reply on Mar 27, 2009 8:42 PM by marx3

    self-written DataModel as @DataModel for true pagination

    Juergen Hartler Newbie

      Dear Seam-Team!

      I have self-written DataModel extending the org.richfaces.model.ExtendedTableDataModel to support true pagination via the database. The only problem is just that the @DataModel tag of seam does not support self-written DataModels. I added manually in the downloaded source code of jboss-seam-2.0.2.SP1 and added to the class org.jboss.seam.faces.DataModels.getDataModel(Object value) the lines:


            else if (value instanceof DataModel){
              return (DataModel)value;
            }else{ ...

      Could you please mind to add this to your next release?

      Many thanks,