comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java @ 304:992afc0299cd

Bugfix: Repaired the dynamic UI part of the RiverSelect state in DESCRIBE. flys-artifacts/trunk@1675 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 13 Apr 2011 08:31:20 +0000
parents 8be4a837f20a
children 89bd0417418f
comparison
equal deleted inserted replaced
303:2d393c8bd38c 304:992afc0299cd
53 { 53 {
54 Element select = ProtocolUtils.createArtNode( 54 Element select = ProtocolUtils.createArtNode(
55 cr, "select", 55 cr, "select",
56 new String[] { "uiprovider" }, 56 new String[] { "uiprovider" },
57 new String[] { "select_with_map" }); 57 new String[] { "select_with_map" });
58 cr.addAttr(select, "name", data.getName()); 58 cr.addAttr(select, "name", data.getName(), true);
59 59
60 Element label = ProtocolUtils.createArtNode( 60 Element label = ProtocolUtils.createArtNode(
61 cr, "label", null, null); 61 cr, "label", null, null);
62 62
63 Element choices = ProtocolUtils.createArtNode( 63 Element choices = ProtocolUtils.createArtNode(
64 cr, "choices", null, null); 64 cr, "choices", null, null);
65
66 select.appendChild(label);
65 67
66 label.setTextContent(Resources.getMsg( 68 label.setTextContent(Resources.getMsg(
67 context.getMeta(), 69 context.getMeta(),
68 getID(), 70 getID(),
69 getID())); 71 getID()));

http://dive4elements.wald.intevation.org