title: Grails: How to Add Parameters to F:Table
body: <p>In Grails 3.3.9, the Fields plugin is used by default.</p>
  
  <p>This generates the following in the <code>index.gsp</code>:</p>
  
  <pre><code>&lt;f:table collection="${domainClassList}"/&gt;
  </code></pre>
  
  <p>In Grails 2 you had access to each of the fields and could add parameters to the fields and even create a link out of the field as so:</p>
  
  <pre><code>&lt;td&gt;&lt;g:link action="show" id="${domainClassInstance.code}"&gt;
                              ${fieldValue(bean: domainClassInstance, field: "code")}
                          &lt;/g:link&gt;&lt;/td&gt;
  </code></pre>
  
  <p>How do I use the id option with the f:table tag in Grails 3.x? I want to add a domain class property so that when I click on the code, I go to the record's show page.</p>