>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

ColdFusion Ajax Tutorial 5: File System Browsing With The Tree Control - cfset posted rss ben tree dir path entry

 
Registered tutorials: 501
Registered Users: 33129



Rating: 5 out of 1 votes cast


  
Category: Ajax and ColdFusion

Tags Map

access add ajax applicationcfc argumentsvalue array arrayappendresult ben bind blog bound branch case cf cfargument cfc cfcomponent cfdirectory cfelse cffunction cfide cfif cfloop cfreturn cfset cftree cftreeitem children class code coldfusion comment control create creating current dan data default dir directory dirtree display document drives entries entry entrydisplaydirname entryimg entrystructnew error expanded false ff file files find flash folder folders forta full function funk gary getdirentries guess html http icon ii info init invoked java javaiofile jifobj jose june level list loaded loop memory method needed obtain path pm posted query related required result results return returns returntype roots rss server simple string structures switzer system thisseparator tips top trackbacks tree tutorial type url user var variables web widget work

Keyword Cloud Navigation Map

ColdFusion Ajax Tutorial 5: File System Browsing With The Tree Control

Digg this   Post to del.icio.us

Abstract: The tutorial demonstrate the Ajax support added to the control in ColdFusion 8

<CFTREE> has been part of ColdFusion since CF2 - originally a Java applet, and then a Flash control, and in ColdFusion 8 an HTML tree control with powerful Ajax support. To demonstrate how to use the new HTML <CFTREE>, here is an example that will let you browse the file system tree on your server. What makes this an Ajax control is that the entire tree is not loaded on startup. Rather, it is loaded incrementally, minimal data is loaded on startup, and when a node is expanded an asynchronous call is made back to the server to obtain the children for that node, and so on. This improves performance (by not requiring that entire trees be loaded if they are not needed), and also simplifies actual tree data (formatting and parsing nested tree data is not pretty).

The client-side code for this example is really simple, as seen here:

<cfform>
<cftree name="dirtree" format="html">
   <cftreeitem bind="cfc:dirtree.getDirEntries({cftreeitempath}, {cftreeitemvalue})">
</cftree>
</cfform>

Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 353
Unique Hits: 306


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0.5 0.6 2.2 2.6 16.2 19
Current 1 1 1 1 1 1
Previous 0 0 4 5 17 20
Nov 29 1 1 5 7 16 19
Nov 28 0 0 0 0 19 24
Nov 27 1 1 5 5 19 21
Nov 26 0 0 0 0 32 36
Nov 25 1 1 3 3 14 19
Nov 24 0 0 0 0 0 0
Nov 23 1 2 3 4 30 32
Nov 22 0 0 1 1 14 18
Highest 4 5 9 11 32 36


Script Execution Time: 1.52313 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2