summaryrefslogtreecommitdiff
path: root/reach_reports/reach_application.rb
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-09-23 12:22:40 +0200
committermr <mr@mrautenberg.de>2011-09-23 12:22:40 +0200
commit41b1e72eba222a337efa70e61734b34118f832c6 (patch)
tree15645033d7cf516f9c19cc11ec9d16bbdba43327 /reach_reports/reach_application.rb
parentb076615734eb9a51a29e3dc01e0c96d86e5c75c9 (diff)
parent9db1f68871ad3e9be92744fd908f9fee9eeb18a0 (diff)
Merge branch 'release/v3.0.0'v3.0.0
Diffstat (limited to 'reach_reports/reach_application.rb')
-rwxr-xr-xreach_reports/reach_application.rb11
1 files changed, 9 insertions, 2 deletions
diff --git a/reach_reports/reach_application.rb b/reach_reports/reach_application.rb
index e35df7b..b380c92 100755
--- a/reach_reports/reach_application.rb
+++ b/reach_reports/reach_application.rb
@@ -48,6 +48,7 @@ end
get '/reach_report/:type' do
type = extract_type(params)
LOGGER.info "list all "+type+" reports"
+ uris = ReachReports.list_reports(type,params[:model] || params[:model_uri])
if request.env['HTTP_ACCEPT'] =~ /text\/html/
content_type "text/html"
related_links =
@@ -66,10 +67,10 @@ get '/reach_report/:type' do
when /(?i)QPRF/
#TODO
end
- OpenTox.text_to_html ReachReports.list_reports(type),@subjectid,related_links,description,post_command
+ OpenTox.text_to_html uris,@subjectid,related_links,description,post_command
else
content_type "text/uri-list"
- ReachReports.list_reports(type)
+ uris
end
end
@@ -181,6 +182,12 @@ get '/reach_report/:type/:id/editor' do
<j2se version="1.6+" java-vm-args="-Xincgc"/>
<jar href="qmrfedit/OT_QMRFEditor.jar" download="eager" main="true"/>
+<jar href="qmrfedit/OT_QMRFEditor_lib/xercesImpl.jar" download="eager"/>
+<jar href="qmrfedit/OT_QMRFEditor_lib/itext-1.4.5.jar" download="lazy"/>
+<jar href="qmrfedit/OT_QMRFEditor_lib/poi-3.0.jar" download="lazy"/>
+<jar href="qmrfedit/OT_QMRFEditor_lib/poi-contrib.jar" download="lazy"/>
+<jar href="qmrfedit/OT_QMRFEditor_lib/poi-scratchpad.jar" download="lazy"/>
+<jar href="qmrfedit/OT_QMRFEditor_lib/commons-lang-2.3.jar" download="lazy"/>
<jar href="qmrfedit/OT_QMRFEditor_lib/cdk-applications.jar" download="lazy" />
<jar href="qmrfedit/OT_QMRFEditor_lib/cdk-builder3d.jar" download="lazy" />
<jar href="qmrfedit/OT_QMRFEditor_lib/cdk-charges.jar" download="lazy" />