Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 115:b51e92fef704
The RiverSelect state creates the dynamic UI part for the describe document now.
flys-artifacts/trunk@1304 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 08 Feb 2011 09:11:25 +0000 |
parents | 0fab16cb4d44 |
children | 84c0b151203e |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Tue Feb 08 09:02:18 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Tue Feb 08 09:11:25 2011 +0000 @@ -124,13 +124,13 @@ ArtifactNamespaceContext.NAMESPACE_PREFIX); Element root = ProtocolUtils.createRootNode(creator); + description.appendChild(root); + ProtocolUtils.appendDescribeHeader(creator, root, identifier(), hash()); ProtocolUtils.appendState(creator, root, currentState); ProtocolUtils.appendReachableStates(creator, root, reachable); - logger.warn("TODO: Implement the model and ui description!"); - description.appendChild(root); - + currentState.describe(description, root, context, identifier()); return description; }