1 Reply Latest reply: Jan 16, 2014 3:55 PM by Kurt48 RSS

    binding selectedNode in cftree to cfinput

    goldensuits

      Hi,

       

      I am trying to bind the selectedNode in a cftree to cfinput

       

      <cfform name="form1" method="post">

      <cftree name="mytree" format="html">

          <cftreeitem display="cust_name" value="cust_name" query="entries" queryasroot="no" expand="no">

      </cftree>

       

      <cfinput type="text" name="display" bind="{mytree.selectedNode.getProperty('cust_name').value}">

       

      </cfform>

       

      I get an error:

       

      Error parsing bind expression at character 0:{ in  {mytree.selectedNode.getProperty('cust_name').value}

       

      Is there anything I am missing ?

       

      Thanks