Live working examples of cftree and/or cfgrouptype="accordian

Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Live working examples of cftree and/or cfgrouptype="accordian

    Hello,

    Can any one send me a link to a live working cftree flash feature. I've
    searched the internet and found countless how to tutorials and pictures of
    their cftree but no an example of an actual cftree working. Please advice. Is
    anyone even using this feature?

    CF_WebGirl Guest

  2. Similar Questions and Discussions

    1. Dreamweaver Accordian not working in IE6
      I've added the Spry Accordian function to a page but it only works correctly in Safari 2. On opening the page in both Firefox and IE 6 only the...
    2. Stream still "playing live" after close called
      Hi, We have an Flash application that plays a streaming FLVs from FCS. Any connected clients also see the FLV. Heres a brief overview: 1. A...
    3. CFTREE and "Folder"
      I am populating a cftree with a query. With the resultset it is possible to have nodes where the value is null or blank. Instead of displaying a...
    4. Code Access Security -- Simple but working examples
      Folks, I'm desperately trying to understand code access security. MSDN and VS.NET help files explains the concepts in details but the code...
    5. Forms: Possible to have drop-down AND/OR able to type "live"?
      I hope I explain this right. I have a drop-down, populated dynamically. (Coldfusion/Access) Occasionally I may need to enter something that is...
  3. #2

    Default Re: Live working examples of cftree and/or cfgrouptype="accordian

    Check out the examples at [url]http://www.asfusion.com[/url]


    Abinidi Guest

  4. #3

    Default Re: Live working examples of cftree and/or cfgrouptype="accordian

    Quote Originally Posted by CF_WebGirl View Post
    Hello,

    Can any one send me a link to a live working cftree flash feature. I've
    searched the internet and found countless how to tutorials and pictures of
    their cftree but no an example of an actual cftree working. Please advice. Is
    anyone even using this feature?
    The code in the CF8 page page demos it working, but I too am having trouble getting it to work properly with CFDIRECTORY. Here's the demo code:

    <!--- Query the datasource to get employee information. --->
    <!--- Group the output by Department. (All fields are required in Group By clause.) --->
    <cfquery name = "GetEmployees" dataSource = "cfdocexamples">
    SELECT Emp_ID, FirstName, LastName, EMail, Phone, Department
    FROM Employees
    GROUP BY Department, Emp_ID, FirstName, LastName, EMail, Phone
    </cfquery>

    <body>

    <!--- The following runs if the user clicked on a link in the tree. A complete application would use the ID for additional processing. --->

    <cfif isdefined("Form.fieldnames")>
    <b>Selected item information</b><br>
    <cfoutput>
    <b>Path: </b>#form.Employees.Path#<br>
    <b>node: </b>#form.Employees.node#<br>
    <br>
    </cfoutput>
    </cfif>

    <!--- Display the tree. The cftree tag must be in a cfform. --->
    <cfform action="#cgi.script_name#" preservedata="Yes" format="Flash">
    <cftree
    name = "Employees"
    height = "600"
    width = "400"
    font = "Arial Narrow"
    italic="yes"
    highlighthref="No"
    HScroll="no"
    VScroll="no"
    completepath="no"
    lookandfeel="windows"
    border="No"
    required="yes"
    >
    <!--- cfoutput tag with a group attribute loops over the departments. --->
    <cfoutput group="Department" query = "GetEmployees">
    <cftreeitem value="#Department#" parent="Employees" expand="yes">
    <!--- This cfoutput tag loops over the records for the department. The cfoutput tag does not need any attributes. --->
    <cfoutput>
    <!--- Create an item for each employee in the department. Do not expand children. Each employee name links to this page, and sends the employee ID in the query string.--->
    <cftreeitem value = "#LastName#, #FirstName#" parent = "#Department#" expand="false" img="cd" href="#cgi.script_name#?user_id=#emp_id#">

    <!--- Each Employee entry has Id, and contact info children. --->
    <cftreeitem value = "#Emp_ID#" display = "Employee ID: #Emp_ID#" parent = "#LastName#, #FirstName#" img="remote">

    <!--- Each node must be unique value, so use Emp_ID om value. --->
    <cftreeitem value = "#Emp_ID#_ContactInfo" img="computer" display = "Contact Information" parent = "#LastName#, #FirstName#" expand = "false">

    <!--- ContacInfo has two children --->
    <cftreeitem value = "#Phone#" parent = "#Emp_ID#_ContactInfo">
    <cftreeitem value = "#Email#" parent = "#Emp_ID#_ContactInfo">
    </cfoutput>
    </cfoutput>
    </cftree>
    <cfinput type="Submit" name="submitit" value="Submit" width="100">
    </cfform>

    Good luck!

    Ting
    Ting.Barrow@MyPipe.biz
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139