comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java @ 1050:eccf966fb677

State engine: Removed CallContext from state validation. flys-artifacts/trunk@2512 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 19 Aug 2011 14:10:18 +0000
parents 38088c982db6
children 9a77a9adbb36
comparison
equal deleted inserted replaced
1049:433559e25b50 1050:eccf966fb677
151 //ProtocolUtils.appendOutputModes(doc, outs, generated); 151 //ProtocolUtils.appendOutputModes(doc, outs, generated);
152 } 152 }
153 153
154 try { 154 try {
155 DefaultState cur = (DefaultState) getCurrentState(context); 155 DefaultState cur = (DefaultState) getCurrentState(context);
156 if (cur.validate(this, context)) { 156 if (cur.validate(this)) {
157 List<Output> list = cur.getOutputs(); 157 List<Output> list = cur.getOutputs();
158 if (list != null && list.size() > 0) { 158 if (list != null && list.size() > 0) {
159 logger.debug( 159 logger.debug(
160 "Append output modes for state: " + cur.getID()); 160 "Append output modes for state: " + cur.getID());
161 161

http://dive4elements.wald.intevation.org