title: Accessing a value in beforeInsert event of Grails
body: <p>Is there a way to access value inside the <code>beforeInsert</code> event? </p>
  
  <p>For example:</p>
  
  <p>Controller:</p>
  
  <pre><code>def save () {
     user = new User(params)
  }
  </code></pre>
  
  <p>Domain:</p>
  
  <pre><code>String name
  String job
  String name_and_job
  
  beforeInsert {
    name_and_job = name+job
  }
  </code></pre>
  
  <p>In the above <code>beforeInsert</code> event I want to get the current <code>name</code> and <code>job</code> and add those to <code>name_and_job</code>. However, this doesn't work. </p>
  
  <p>Please note that this is just an example of the bigger problem I'm working with. Should this type of stuff be done in the controller instead? </p>