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

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks