comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartOutputTab.java @ 7137:4c99b8783e1d

issue971: Prepare client to include encoding in download url.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 25 Sep 2013 12:20:01 +0200
parents ea9eef426962
children 5e38e2924c07
comparison
equal deleted inserted replaced
7136:fd8b27cdf498 7137:4c99b8783e1d
650 650
651 return imgUrl; 651 return imgUrl;
652 } 652 }
653 653
654 654
655 /** Get link to export image in given dimension, format and encoding. */
656 public String getExportUrl(
657 int width, int height, String format, String encoding) {
658 String url = getImgUrl(width, height);
659 url += "&format=" + format;
660 url += "&export=true";
661 url += "&encoding=" + encoding;
662
663 return url;
664 }
665
666
655 /** Get link to export image in given dimension and format. */ 667 /** Get link to export image in given dimension and format. */
656 public String getExportUrl(int width, int height, String format) { 668 public String getExportUrl(int width, int height, String format) {
657 String url = getImgUrl(width, height); 669 String url = getImgUrl(width, height);
658 url += "&format=" + format; 670 url += "&format=" + format;
659 url += "&export=true"; 671 url += "&export=true";

http://dive4elements.wald.intevation.org