Skip navigation
goldensuits
Currently Being Moderated

binding selectedNode in cftree to cfinput

Jan 20, 2011 3:03 PM

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

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points