I am retriving the file system. From now i need to select a file and populate the name of the file to the input box
<cfform format="html" action="#cgi.Script_Name#"> <cfset test=CreateObject("component","Erik.Navigation").directory()> <cftree name="Test_Tree" width="300" height="300"> <cfloop query="test"> <cfif test.Type is "Dir"> <cftreeitem value="#test.Directory#\#test.Name#" display="#test.Name#" parent="#test.Directory#" expand="yes"> <cfelse> <cftreeitem value="#test.Directory#\#test.Directory#" display="#test.Name#" parent="#test.Directory#" expand="yes"> </cfif> </cfloop> </cftree> </cfform> <input type="text" id="link" name="link" onclick="ColdFusion.Tree.getTreeObject (Test_Tree);"/> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312938 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4