title: How can I bind cfdiv to a CFC that maintains state?
body: <p>CFM</p>
  <pre><code>&lt;html&gt;
  
  &lt;head&gt;
  
  &lt;title&gt;Test Page&lt;/title&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
      &lt;cfform&gt;
          &lt;cfinput type=&quot;text&quot; name=&quot;input&quot;&gt;
      &lt;/cfform&gt;
  
      &lt;cfscript&gt;
          calc = CreateObject(&quot;component&quot;, &quot;TestCFC&quot;);
      &lt;/cfscript&gt;
  
      &lt;cfdiv bind=&quot;cfc:TestCFC.func({input})&quot;&gt;&lt;/cfdiv&gt;
      &lt;cfdiv bind=&quot;cfc:TestCFC.func2()&quot;&gt;&lt;/cfdiv&gt;
  
      
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>CFC</p>
  <pre><code>&lt;cfcomponent&gt;
      &lt;cfscript&gt;
          this.output = '';
          
          remote function func(input){
              output = input;
              return output;  
          }
          remote function func2(){
              return output &amp; ' Hello World.';    
          }
      &lt;/cfscript&gt;
  &lt;/cfcomponent&gt;
  </code></pre>
  <p>Input:</p>
  <blockquote>
  <p>First Words:</p>
  </blockquote>
  <p>Expected output</p>
  <blockquote>
  <p>First Words:</p>
  <p>First Words: Hello World.</p>
  </blockquote>
  <p>Workarounds are welcome.</p>