title: Grails setting values in Select (dropdown menu) for a boolean
body: <p>I'm using the Grails framework. In my User controller, I have a boolean field named "active" which controls if users are allowed to login. The login action checks this value when the user is logging in.</p>
  
  <p>My domain:</p>
  
  <pre><code>class User {
    Boolean active
  }
  </code></pre>
  
  <p>My view (edit.gsp):</p>
  
  <pre><code>&lt;g:select id="active" name="active" from="${[1,0]}" value="${userInstance?.active}" /&gt;
  </code></pre>
  
  <p>The value saves correctly into the database, but I want the Account Status dropdown to say "Enabled" or "Disabled", instead of "1" or "0" as it does now.</p>
  
  <p>It also should show the current value when the Edit page is loaded. Currently, it always shows the value of "1", even if the user has the value of "0" in the database.</p>
  
  <p>This seems like it would be very easy, but I haven't been able to find any examples of anyone setting their dropdown values in the GSP, and nothing I've tried so far is working. Thanks!</p>