Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java @ 1002:b1eea43ba133
Second attempt to apply redirect link patch.
gnv/trunk@1206 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 13 Jun 2010 16:28:37 +0000 |
parents | 27029f0ec7e1 |
children | 1b42a86184f6 |
comparison
equal
deleted
inserted
replaced
1001:ebc3d018af6a | 1002:b1eea43ba133 |
---|---|
96 target, | 96 target, |
97 ips | 97 ips |
98 ); | 98 ); |
99 } | 99 } |
100 catch (ArtifactDatabaseInputException e) { | 100 catch (ArtifactDatabaseInputException e) { |
101 log.error(e, e); | 101 log.debug(e, e); |
102 request.setAttribute( | 102 request.setAttribute( |
103 CommunicationKeys.REQUEST_EXCEPTION_INPUT_ID, | 103 CommunicationKeys.REQUEST_EXCEPTION_INPUT_ID, |
104 e.getMessage()); | 104 e.getMessage()); |
105 } | 105 } |
106 catch (Exception e) { | 106 catch (Exception e) { |
111 } | 111 } |
112 | 112 |
113 Map tmpOuts = ad.getOutputModes(); | 113 Map tmpOuts = ad.getOutputModes(); |
114 request.setAttribute( | 114 request.setAttribute( |
115 "furthertargets", | 115 "furthertargets", |
116 tmpOuts == null || tmpOuts.isEmpty() | 116 Boolean.valueOf(tmpOuts == null || tmpOuts.isEmpty()) |
117 ); | 117 ); |
118 } else { | 118 } else { |
119 try{ | 119 try{ |
120 adc.getCurrentStepDescription( | 120 adc.getCurrentStepDescription( |
121 sm.getSelectedArtifactFactory(), | 121 sm.getSelectedArtifactFactory(), |
137 request.setAttribute( | 137 request.setAttribute( |
138 CommunicationKeys.REQUEST_EXCEPTION_MESSAGE_ID, | 138 CommunicationKeys.REQUEST_EXCEPTION_MESSAGE_ID, |
139 e.getMessage()); | 139 e.getMessage()); |
140 } | 140 } |
141 | 141 |
142 request.setAttribute("furthertargets", false); | 142 request.setAttribute("furthertargets", Boolean.FALSE); |
143 } | 143 } |
144 }else{ | 144 }else{ |
145 log.warn("SessionTimeout has occured"); | 145 log.warn("SessionTimeout has occured"); |
146 return sessionExhaustedForward(mapping, form, request, response); | 146 return sessionExhaustedForward(mapping, form, request, response); |
147 } | 147 } |