# HG changeset patch # User Ingo Weinzierl # Date 1302615734 0 # Node ID 2d393c8bd38c8f09cb216a808256bd273a302446 # Parent f526f02e8ce2e64270f0b15582ca1c88b2ab4493 Write the name of an artifact into the DESCRIBE document. flys-artifacts/trunk@1672 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r f526f02e8ce2 -r 2d393c8bd38c flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Tue Apr 12 07:49:36 2011 +0000 +++ b/flys-artifacts/ChangeLog Tue Apr 12 13:42:14 2011 +0000 @@ -1,3 +1,10 @@ +2011-04-12 Ingo Weinzierl + + * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: + The name of the artifact 'winfo' is written into the DESCRIBE document + now. We need this to have a proper way to distinguish between different + artifacts in the UI. + 2011-04-12 Ingo Weinzierl * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix: diff -r f526f02e8ce2 -r 2d393c8bd38c flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Tue Apr 12 07:49:36 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Tue Apr 12 13:42:14 2011 +0000 @@ -92,6 +92,11 @@ ProtocolUtils.appendState(creator, root, current); ProtocolUtils.appendReachableStates(creator, root, reachable); + Element name = ProtocolUtils.createArtNode( + creator, "name", + new String[] { "value" }, + new String[] { getName() }); + Element ui = ProtocolUtils.createArtNode( creator, "ui", null, null); @@ -116,6 +121,7 @@ ui.appendChild(staticUI); + root.appendChild(name); root.appendChild(ui); root.appendChild(outs);