title: Grails select integer value and string value
body: <p>I have two domain classes...</p>
  
  <p>First: </p>
  
  <pre><code>class Employee {
      String vorname
      String nachname
      Department department
  }
  </code></pre>
  
  <p>Second:</p>
  
  <pre><code>class Department {
      Integer number
      String description
  }
  </code></pre>
  
  <p>...and I want to create a dropdown in Grails.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>    &lt;g:select id="department" name="department.description" from="${workloadreport.Department.list()}" optionValue="bezeichnung" optionKey="id" required=""
            value="${employeeInstance.department?.id}" class="many-to-one" noSelection="${['null':'Please select...']}"/&gt;
  </code></pre>
  
  <p>But I want to show the number + description as one value in dropdown.</p>
  
  <p>Like:</p>
  
  <ul>
  <li>Value 1 : 30 General Services </li>
  <li>Value 2 : 40 Product Services</li>
  <li>Value 3 : 50 Other Services</li>
  </ul>