1 Reply Latest reply on Feb 5, 2010 1:38 PM by nimo22

    DocumentData is abstract since SEAM 2.2.1

    nimo22

      I have upgraded from Seam 2.1.1 to Seam 2.2.1 (snapshot).


      In Seam 2.1.1, DocumentData was not abstract and I can instantiate a new DocumentData, with Seam 2.2.1, this is no more possible:


      I have used DocumentData to serve files - this is no more possible, as DocumentData was changed to an abstract class:


      DocumentData data = new DocumentData(base, new DocumentData.DocumentType(extension, mime), byte);




      org.jboss.seam.document.DocumentData is abstract; cannot be instantiated



      Which class should I use instead of DocumentData?