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

binding selectedNode in cftree to cfinput

Guest
Jan 20, 2011 Jan 20, 2011

Copy link to clipboard

Copied

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

Views

782

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Same issue here.  Did you ever get it working?

Votes

Translate

Translate

Report

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
Documentation