comparison artifacts/src/main/java/org/dive4elements/river/exports/OutputHelper.java @ 8225:724081af301c

Pass request document to the context injectors.
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 08 Sep 2014 16:14:43 +0200
parents 0bec47e5a951
children c87c87544cc6
comparison
equal deleted inserted replaced
8224:18c737ec098b 8225:724081af301c
84 public void doOut( 84 public void doOut(
85 OutGenerator generator, 85 OutGenerator generator,
86 String outName, 86 String outName,
87 String facet, 87 String facet,
88 Document attributes, 88 Document attributes,
89 CallContext context) 89 CallContext context,
90 throws IOException 90 Document request
91 { 91 ) throws IOException {
92 boolean debug = log.isDebugEnabled(); 92 boolean debug = log.isDebugEnabled();
93 93
94 if (debug) { 94 if (debug) {
95 log.debug("OutputHelper.doOut: " + outName); 95 log.debug("OutputHelper.doOut: " + outName);
96 } 96 }
130 if (theme.getVisible() == 0) { 130 if (theme.getVisible() == 0) {
131 continue; 131 continue;
132 } 132 }
133 133
134 if (ci != null) { 134 if (ci != null) {
135 ci.injectContext(context, dataProviders.get(i).getArtifact(), null); 135 ci.injectContext(context, dataProviders.get(i).getArtifact(), request);
136 } 136 }
137 137
138 if (outName.equals("sq_overview")) { 138 if (outName.equals("sq_overview")) {
139 generator.doOut( 139 generator.doOut(
140 dataProviders.get(i), 140 dataProviders.get(i),

http://dive4elements.wald.intevation.org