</action>
</package>
-
<package name="default" namespace="/" extends="simer-default">
<default-action-ref name="index" />
<action name="create-stepComment" class="editStepCommentAction" method="create">
<result name="success" type="tiles">zone.stepcomments</result>
- </action>
-
+ </action>
<action name="remove-comment" class="editStepCommentAction" method="remove">
<result name="success" type="tiles">zone.stepcomments</result>
</action>
<result name="error" type="tiles">page.comparestudy</result>
</action>
<action name="compare-studies" class="CompareStudyAction" method="compare">
- <result name="success" type="tiles">page.comparestudy</result>
- <result name="error" type="tiles">page.comparestudy</result>
+ <result name="success" type="stream" >
+ <param name="inputName">resultInputStream</param>
+ <param name="contentType">application/octet-stream</param>
+ <param name="contentDisposition">attachment;filename="ComparisonResults.pdf"</param>
+ <param name="bufferSize">1024</param>
+ <param name="contentLength"></param>
+ </result>
+ <result name="error" type="redirectAction">
+ <param name="actionName">init-study-comparison</param>
+ <param name="errorMessage">${true}</param>
+ </result>
</action>
</package>