Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java @ 59:2c5d8f5bced1
Outputs integrated in describe and XForms integrated
gnv-artifacts/trunk@41 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 08 Sep 2009 16:21:46 +0000 |
parents | f31343d80d53 |
children | 5f47881f7c97 |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Tue Sep 08 14:07:59 2009 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Tue Sep 08 16:21:46 2009 +0000 @@ -90,6 +90,7 @@ this.current.advance(); // 3. Ergebnisse übergeben nextStep.setDescibeData(this.current.getDescibeData()); + nextStep.putInputData(this.current.getInputData()); // 4. Umschalten auf neue Transistion this.current = nextStep; } catch (TransitionException e) { @@ -176,6 +177,7 @@ Document document = super.newDocument(); Element rootNode = this.createRootNode(document); this.createHeader(rootNode, document, "describe"); + this.createOutputs(rootNode, document); this.createCurrentState(rootNode, document); this.createReachableStates(rootNode, document); this.createModel(rootNode, document); @@ -257,7 +259,9 @@ protected void createOutputs(Element parent, Document document){ Element outputsNode = createElement(document,"outputs"); - // TODO mit leben füllen. + if (this.current != null){ + this.current.describe(document, outputsNode); + } parent.appendChild(outputsNode); } @@ -288,6 +292,4 @@ } return returnValue; } - - }