Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintPanel.java @ 5721:280093510e1d 3.0.0
Also java encode the info side of the data table
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 15 Apr 2013 18:41:32 +0200 |
parents | 891ad06e80e5 |
children | 3e2ab854d5c0 |
comparison
equal
deleted
inserted
replaced
5720:aa1a43f5c03a | 5721:280093510e1d |
---|---|
265 localized = MSG.getString(props.getName()); | 265 localized = MSG.getString(props.getName()); |
266 } | 266 } |
267 catch (MissingResourceException mre) { | 267 catch (MissingResourceException mre) { |
268 localized = props.getName(); | 268 localized = props.getName(); |
269 } | 269 } |
270 url.append(localized); | 270 url.append(toJavaEncodedString(localized)); |
271 url.append("="); | 271 url.append("="); |
272 url.append(props.getValue()); | 272 url.append(props.getValue()); |
273 } | 273 } |
274 } | 274 } |
275 // O.o | 275 // O.o |
276 String river = findRiver(((MapOutputTab)mapToolbar.getOutputTab() | 276 String river = findRiver(((MapOutputTab)mapToolbar.getOutputTab() |
277 ).getCollectionView().getArtifact()); | 277 ).getCollectionView().getArtifact()); |
278 url.append("&" + MSG.getString(MAPFISH_RIVER) + "=" + river); | 278 url.append("&" + toJavaEncodedString(MSG.getString(MAPFISH_RIVER)) + "=" + river); |
279 } | 279 } |
280 | 280 |
281 // Copy of DatacageWindow's findRiver | 281 // Copy of DatacageWindow's findRiver |
282 protected String findRiver(Artifact artifact) { | 282 protected String findRiver(Artifact artifact) { |
283 ArtifactDescription adescr = artifact.getArtifactDescription(); | 283 ArtifactDescription adescr = artifact.getArtifactDescription(); |