title: cftransaction and cfincludes
body: <p>I have a question regarding the cftransaction tag.
  I have a file as follow... let's call it act_update:</p>
  
  <pre><code>&lt;cfif request.before&gt;
      &lt;cfinclude template="act_before.cfm"&gt;
  &lt;/cfif&gt;
  
  &lt;!--- Here I have a lot of thing to update the core table ---&gt;
  
  &lt;cfif request.after&gt;
      &lt;cfinclude template="act_after.cfm"&gt;
  &lt;/cfif&gt;
  </code></pre>
  
  <p>I may not touch this file because it is used also by other applications, but I have the hands on the two includes...
  In the first include (the before) I putted:</p>
  
  <pre><code>&lt;cftransaction action="begin" /&gt;
  </code></pre>
  
  <p>In the second include (the after) I putted the rest of the transaction:</p>
  
  <pre><code>&lt;cftry&gt;
      &lt;!--- Update here for another table ---&gt;
      &lt;cfcatch&gt;
          &lt;cftransaction action="rollback" /&gt;
      &lt;/cfcatch&gt;
  &lt;/cftry&gt;
  &lt;cftransaction action="commit"&gt;
  </code></pre>
  
  <p>I made an error in the update of the latest table to test this, and I see that no rollback is done :(</p>
  
  <p>Is there a solution for this ?
  Thank you in advance,</p>
  
  <p>Michel</p>