As laufzeit mentions, in this scenario, it will be necessary to use javascript. params = "[...]" when rendering will become a query string, so in your case it will be necessary to intercept the value of the selected option and add it to the query string. The following is a basic implementation. Starting from how these grails tags will be rendered in html, you could try
Assuming your example will render something like this:
<select name="confer" id="confer">
<option value="1">confer 1</option>
<option value="2">confer 2</option>
<option value="3">confer 3</option>
</select>
<a href="controller/action" id="anchor">Some text</a>
And assuming that you must assign the value of the selected option during the loading of the view and when changing the select option, you could try this script
<script>
const anchor = document.querySelector('#anchor');
const confer = document.querySelector('#confer');
confer.addEventListener('change', event => addParams());
function addParams() {
const host = getHost();
anchor.href = `${host}?confer=${confer.value}`
}
function getHost() {
return window.location.origin;
}
addParams()
</script>
Here testable version
const anchor = document.querySelector('#anchor');
const confer = document.querySelector('#confer');
confer.addEventListener('change', event => addParams());
function addParams() {
const host = getHost();
anchor.href = `${host}?confer=${confer.value}`
}
function getHost() {
return window.location.origin;
}
addParams()
<select name="confer" id="confer">
<option value="1">confer 1</option>
<option value="2">confer 2</option>
<option value="3">confer 3</option>
</select>
<a href="controller/action" id="anchor">Some text</a>
In order to visualize the modified params you must inspect the anchor element