Skip to content

Commit

Permalink
BugID: 673 - Firma Digitale, download variazione
Browse files Browse the repository at this point in the history
  • Loading branch information
mincarnato committed Jul 8, 2011
1 parent 743af4c commit 44567a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -165,7 +165,7 @@ public void writeToolbar(javax.servlet.jsp.PageContext pageContext)
+ bulk
.getPdgVariazioneDocument()
.getNode()
.getName()
.getName()+"x"
+ "?methodName=scaricaFileGenerico&it.cnr.jada.action.BusinessProcess="
+ getPath()) + "')");
Node nodeSignedFile = getNodeFileFirmato(bulk
Expand Down Expand Up @@ -285,7 +285,7 @@ public void scaricaFileGenerico(ActionContext actioncontext) throws IOException,
InputStream is = pdgVariazioniService
.getResource(archiviaStampaPdgVariazioneBulk
.getPdgVariazioneDocument().getNode());
((HttpActionContext) actioncontext).getResponse().setContentType("application/octet-stream");
((HttpActionContext) actioncontext).getResponse().setContentType("text/octet-stream");
((HttpActionContext) actioncontext).getResponse().setContentLength(
archiviaStampaPdgVariazioneBulk.getPdgVariazioneDocument()
.getNode().getContentLength().intValue());
Expand Down
Expand Up @@ -44,7 +44,7 @@ Toolbar.upload.accessKey=U

Toolbar.download.img=img/export24.gif
Toolbar.download.disabledImg=img/export24.gif
Toolbar.download.label=<u>D</u>ownload <br>Variazione
Toolbar.download.label=<u>D</u>ownload<br>Variazione
Toolbar.download.href=javascript:submitForm('doDownloadVar')
Toolbar.download.style=width:60px;
Toolbar.download.enabledProperty=printButtonEnabled
Expand Down

0 comments on commit 44567a8

Please sign in to comment.