Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

download and open a document in Roma 3

Developers
2012-04-20
2013-04-29
  • Fabiana Bugli
    Fabiana Bugli
    2012-04-20

    Hi, I'm trying the Roma3 framework in the accessible mode,
    I have this instructions to open a document from the db:

    ByteArrayInputStream is = new ByteArrayInputStream(docLocal.getContent());
    ViewCommand cmd = new DownloadStreamViewCommand(is, docLocal.getDocumentName(),       OgwUtils.getContentType(docLocal.getDocumentName()));
    Roma.view().pushCommand(cmd); 

    it works in non accessible mode, in accessible mode instead it seems to do anything….
    is it possible to open the document with this mode?
    Thank you,
    Fabiana

     
  • Fabiana Bugli
    Fabiana Bugli
    2012-04-20

    sorry I made a mistake:
    'in accessible mode it seems to do nothing….'
    thanks