title: creating a url with params, and using them in other gsp page grails groovy
body: <p>I would like to dynamically create a link with some parameters to a page where those values would be used:</p>
  
  <pre><code>&lt;td&gt;&lt;a href="${createLink(controller:'display', action="viewer", params: ['file' : '${stream.file}', 'media' : '${stream.media}'])}"&gt;${fieldValue(bean: streamInstance, field: "media")}&lt;/a&gt;&lt;/td&gt;
  </code></pre>
  
  <p>In my <code>viewer.gsp</code> I want to be use those values in a link that displays a video stream:</p>
  
  <pre><code>&lt;source src="path/to/my/videodir/${media}" type='video/mp4'&gt;&lt;/source&gt;
  </code></pre>
  
  <p>But I'm not having much success so far :-(. Could someone please help me on that?</p>