comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/ServerInfoService.java @ 6476:d30ae7275e5a

Minor fix for ServerInfoService. It's now possible for the gwt-client to retrieve the "help-url" configuration value from the server.
author Christian Lins <christian.lins@intevation.de>
date Thu, 27 Jun 2013 14:51:04 +0200
parents 41152c3a532d
children e4606eae8ea5
comparison
equal deleted inserted replaced
6475:b0b0ba6e7bb0 6476:d30ae7275e5a
45 XPathConstants.STRING); 45 XPathConstants.STRING);
46 46
47 Element info = ec.create("info"); 47 Element info = ec.create("info");
48 ec.addAttr(info, "key", "help-url", true); 48 ec.addAttr(info, "key", "help-url", true);
49 ec.addAttr(info, "value", helpUrl, true); 49 ec.addAttr(info, "value", helpUrl, true);
50 serverInfo.appendChild(info);
50 51
51 result.appendChild(serverInfo); 52 result.appendChild(serverInfo);
52 53
53 return result; 54 return result;
54 } 55 }

http://dive4elements.wald.intevation.org