Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

binding selectedNode in cftree to cfinput

Guest
Jan 20, 2011 Jan 20, 2011

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

797
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 16, 2014 Jan 16, 2014
LATEST

Same issue here.  Did you ever get it working?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources