10 Replies Latest reply on Oct 5, 2007 8:51 AM by Pete Muir

    DocumentStore usage

    Nicklas Karlsson Master


      I'm trying to serve a PDF from the database through the DocumentStore
      but when I try to get an instance with

       String id = DocumentStore.instance().newId();

      I just get a
      Caused by: java.lang.ClassCastException: org.jboss.seam.pdf.DocumentStore_$$_javassist_12

      (also tried variation of DocumentStore ds = DocumentStore.instance() and Component.getInstance() but to no avail)

      How should it be used?