cfdirectory adds recursive support - Little Things in CFMX 7
February 10, 2005
I know I have written recursive custom tags, and functions (more than once) to solve this problem in the past, but now you can just add a simple recurse="true" to your cfdirectory tags in ColdFusion MX 7.0
<cfdirectory action="list" directory="#ExpandPath("./")#" name="dir" recurse="true">
<cfdump var="#dir#">
You can also recursively delete directories. If only you could copy directories recursively (hint hint ColdFusion 8?)
Tweet
Related Entries
- Build a directory browser with ColdFusion - September 12, 2005
- CFFUNCTION and CFARGUMENT don't support new types in ColdFusion 7 - April 13, 2005
- Hash - March 15, 2005
- Strong Encryption Technote shows undocumented features - February 22, 2005
- CFTIMER - Little things in ColdFusion 7 - February 11, 2005
Trackbacks
Trackback Address: 225/2200FCA0207D6C19D35CDDCC5D915DE5
Comments
On 03/02/2005 at 8:13:39 PM EST irvin wrote:
1
Please, notice that the Dreamweaver MX extension for coldfusion MX7 will offer "yes" or "no" as options for the "recurse" attribute. It makes Coldfusion throw an error. Use "true", as indicated in the post this comment belongs to.
On 09/28/2005 at 6:42:50 PM EDT Rich W. wrote:
2
After applying the CFMX7 client variable hot patch, the default database isolation level is changed from "read_committed" to "serializeable". Macromedia admits that (please see cftransaction documentation) that serializeable is NOT opptimal for database usage. As such, without wrapping a cftransaction around each query, how can I reset the default isolation level globally for the datasource back to "read_committed". Very interesting development in CFMX7. Thoughts?
On 09/28/2005 at 6:43:55 PM EDT Rich W. wrote:
3
After applying the CFMX7 client variable hot patch, the default database isolation level is changed from "read_committed" to "serializeable". Macromedia admits that (please see cftransaction documentation) that serializeable is NOT opptimal for database usage. As such, without wrapping a cftransaction around each query, how can I reset the default isolation level globally for the datasource back to "read_committed". Very interesting development in CFMX7. Thoughts?
Post a Comment
Recent Entries
- Nginx redirect www to non www domain
- HashDOS and ColdFusion
- HackMyCF Updated for APSB11-29 Security Hotfix
- Adobe eSeminar on FuseGuard
- Determining Which Cumulative Hotfixes are Installed on ColdFusion
- Adding Two Factor Authentication to ColdFusion Administrator
- ColdFusion Developer Week at Adobe.com
- Bug Loading Scripts for CFFileUpload and CFMediaPlayer


add to del.icio.us



