Skip to main content
October 14, 2009
Question

CFTREEITEM

  • October 14, 2009
  • 1 reply
  • 427 views

<cftree ...>


<cftreeitem query="qryGetEmployees"
  value="lastname, firstname, city, zipcode"
  queryasroot="Employees"
  img="folder, document"
  href="?????">

</cftree>

I get a very nice tree with this, but how do I HREF the individual column ZIPCODE? When I add the HREF, it does it for every column which is not what I want. If it can't be done this way, then okay but it seems it should be an option. I even looked at the underlying Yahoo YUI Library documentation that drives CFTREE and wasn't able to figure out how to do this. Any help is appreciated.

Thanks.

    This topic has been closed for replies.

    1 reply

    Inspiring
    October 14, 2009

    My take from reading the docs (http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_t_11.html#1104421) is that you need to have a column in your query with the URLs in it (not just the item-specific value to append to a URL, but the entire URL), or provide a comma-delimited liat of actual values here.

    --

    Adam