From a06343f6ce723094940c052e829dbe300e783669 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Fri, 31 Aug 2018 11:05:58 +0200 Subject: [PATCH] Added a little bit of form magic --- src/main/webapp/templates/weatherstationView.ftl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/templates/weatherstationView.ftl b/src/main/webapp/templates/weatherstationView.ftl index e8e531e6..72bc0559 100755 --- a/src/main/webapp/templates/weatherstationView.ftl +++ b/src/main/webapp/templates/weatherstationView.ftl @@ -92,7 +92,10 @@ </dl> <#if weatherStation.weatherStationDataSourceId?has_content> <h3>${i18nBundle.test} ${i18nBundle.dataSource?lower_case}</h3> - <form action="${weatherStation.dataFetchUri}" method="POST" target="new" class="form-horizontal" role="form"> + <form action="${weatherStation.dataFetchUri}" method="GET" target="new" class="form-horizontal" role="form"> + <#list queryParams as queryParam> + <input type="hidden" name="${queryParam.name}" value="${queryParam.value}"/> + </#list> <div class="form-group"> <label class="col-lg-4 control-label" for="elementMeasurementTypes[]">${i18nBundle.elementMeasurementTypes}</label> <div class="col-lg-8"> -- GitLab