Wil,

    That's great. However, can you make the cftree show all subdirectories?

Ravi.



Wil Genovese wrote:
> If you dig into the cfform world there is cftree and cftreeitem.  This can
> be built and is used in the Coldfusion Adminitrator
>
> <cfdirectory action="list" directory="/var/www/dev/wil/src" name="webroot"
> sort="asc" recurse="true">
> <cfform action="">
>
> <cftree name="myfiles" lookandfeel="metal" format="flash" width="300">
>     <cftreeitem value="name" query="webroot" queryAsRoot="yes"
> img="folder,document">
> </cftree>
> </cfform>
>
> Wil Genovese
> Sr. Web Application Developer
>
>
> On Wed, Dec 17, 2008 at 8:51 AM, Ravi Gehlot <[email protected]> wrote:
>
>   
>> Hello Pete,
>>
>>    You will be better off with using a Java management applet of some
>> kind. If you do a search on Google, you may find some free applets. You
>> can also achieve it with cfdirectory and AJAX but it will be time
>> consuming since you gotta make it work cross platform and watch out for
>> security issues. The Java applets run on the Java runtime engine and are
>> cross platform compatible with a fair amount of security.
>>
>> Good Luck,
>> Ravi.
>>
>>
>>
>> Mike Chabot wrote:
>>     
>>> This would be a relatively common feature that many developers have
>>> implemented. I would guess that the manual or the Ben Forta book has
>>> sample code in the cfdirectory chapter. There is a file explorer in
>>> cfadmin on the screen where you apply CF updates, although it uses a
>>> Java applet. Plenty of Ajax solutions are on the Web. Often HTML text
>>> area editor controls (like FCKeditor) have file explorers with them to
>>> allow for inserting images into the HTML, but these would likely be
>>> overkill to what you are asking for.
>>>
>>> -Mike Chabot
>>>
>>> On Tue, Dec 16, 2008 at 9:44 PM, Pete Ruckelshaus
>>> <[email protected]> wrote:
>>>
>>>       
>>>> I need to create an interface that will allow a user to browse
>>>> directories and files in a specific path on the server, preferably
>>>> with an Explorer-style interface.  Anyone here done such a thing?
>>>>
>>>> Thanks,
>>>>
>>>> Pete
>>>>
>>>>         
>>>       
>>     
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316868
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to