title: <g:if> and <g:set>misunderstanding in grails
body: <p>I have a gsp template.
  And I have varialble. If this variable is <code>true</code>, then create an additional button, if <code>false</code> - do nothing.</p>
  
  <p>What is wrong with my code?</p>
  
  <pre><code>&lt;g:set var="removeButton"&gt;{{ removeButtonPossibility }}&lt;/g:set&gt; // variable from model, is true or false
  &lt;g:if test="${removeButton == true}"&gt;
     &lt;button id="removeDocument"&gt;Delete&lt;/button&gt;
  &lt;/g:if&gt;
  </code></pre>
  
  <p>It doesn't work. But just using: <code>${removeButton}</code> normally prints <code>true</code> or <code>false</code>.</p>