Accessing the applications on a given server
Is there a way - thru maybe an undocumented feature? - to access the different application scopes that may be running on a single instance of CFMX at the server level? Thanks, Rich ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236094 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Sending an attached file with a unique name
I'm sending an attached pdf via cfmail/cfmailpart to a recipient. Right now, I'm naming the files in storage via uuid. I'd like to send the file along with a friendlier name (e.g. your_file.pdf). Is this possible without copying/renaming the file? Thanks, Rich ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231247 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CFDOCUMENT & repeating table headers
Hi all: I'd like to display a multi-page report that repeats the table headers in PDF format. Is this possible? I've played around with & and beyond simple headers & footers, it seems pretty difficult. The behavior looks like its perceiving each ITEM as it's own markup? Thanks, Rich ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231107 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CSV HELL
Hi all: I'm writing a little function that parses a CSV file into a query (I know this has been done before, but I need it to specifically handle Excel csv exports). Here's the snag: Whenever Excel sees a comma or a quote in one of the cells, it wraps it in quotes. If it doesn't find either, it doesn't. So for example, here's a row: This is red, "This is sorta ""red""", "This is blue, really" Now, the above is 3 columns in Excel. The 2nd column has quotes around 'red' so Excel wraps the whole thing in quotes and escapes the quotes around the word red by doubling them. This is relatively easy to handle. The doosy is the third column. Excel found a comma so it wrapped it in quotes (which is fine). The problem is, listgetat and other list functions are pretty useless to me because it thinks a fourth column exists (containing: really"). I'm guessing I can probably go down some sort of regular _expression_ hell to do this, but is there an easier way? Thanks, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
WDDX Insanity
I have a wddx that I'm trying to turn back into a CFML structure. The wddx looks fine. It CFDUMP's nicely as well. But whenever I try to turn it back to CFML, I get: WDDX packet parse error at line 1, column 1. The markup in the document preceding the root element must be well-formed. Is there something painfully obvious that I'm missing? Thanks, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Hiding CFID from query string
When using sessions - how can I keep the cfid from being added to the URL string? -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Unable To Create New Native Thread
I've got an app using the httpclient custom tags that came with one of the DRK's (5 I think). Every day or so, I get a: UNABLE TO CREATE NEW NATIVE THREAD error and I can no longer utilize pages that are using httpclient. The rest of CF looks ok from what I can gather. Is there some JVM setting or something that I can tweak to stop this from happening? Thanks, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Sorting by date in QofQ
I know I've seen this posted previously - what's the workaround for sorting by date in Query of Queries? Also, I've hard negative things about QofQ. Performance. Etc. Is that still the case? Thanks, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Inserting a row at the top of a query
Is there a way to programmatically insert a row into a CF recordset so that it comes back as the first record? Thanks much, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Parsing RFC822 Dates
Wow. What a frickin' mess. Heheh. The RFC stuff is not too painful. The WRCDTF is just plain silly. I just stumbled on a CFC that deals w/ timezone stuff on cfczone. I'm gonna dig into that and see if it helps. At first glance, I think it'll be useful for casting against timezones, but not for parsing the string. Thanks for the help. Rich _ From: Roger Benningfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 3:50 PM To: CF-Talk Subject: Re: Parsing RFC822 Dates >Ok, how about ISO 8601 (typically used in RDF-style RSS): Rich, Check out this blog entry for everything you never wanted to know about CFMX and RSS dates: http://admin.mxblogspace.journurl.com/?mode=article&entry=388 -- Roger Benningfield work: http://journurl.com/ blog: http://admin.support.journurl.com/ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Parsing RFC822 Dates
Will do. I noticed that parseDateTime() doesn't seem to be handling the timezone in the string. Is there something else that needs to happen? -Rich _ From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 3:18 PM To: CF-Talk Subject: Re: Parsing RFC822 Dates Rich Ziade wrote: > > Ok, how about ISO 8601 (typically used in RDF-style RSS): > > 1994-11-05T08:15:30-05:00 http://www.macromedia.com/go/wish and add your vote to enhancement request 49751 Jochem -- I don't get it immigrants don't work and steal our jobs - Loesje _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Parsing RFC822 Dates
Woohoo! Sweet. Thanks Ben. Ok, how about ISO 8601 (typically used in RDF-style RSS): 1994-11-05T08:15:30-05:00 (I've got a feeling I'm gonna have to parse that one by hand.) _ From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 1:34 PM To: CF-Talk Subject: RE: Parsing RFC822 Dates ParseDateTime() can handle that. --- Ben _ From: Rich Ziade [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 1:35 PM To: CF-Talk Subject: Parsing RFC822 Dates Hi all: I'm sure this has been asked before, but what's the easiest way to parse an RFC822 date string (commonly found in RSS 2.0 feeds). It looks like this: Sat, 07 Sep 2002 00:00:01 GMT When I try to just put it through any sort of date manipulation function, I get the following error: The value "Thu, 25 Mar 2004 04:28:34 PST" could not be converted to a date. Any ideas? Rich _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Parsing RFC822 Dates
Hi all: I'm sure this has been asked before, but what's the easiest way to parse an RFC822 date string (commonly found in RSS 2.0 feeds). It looks like this: Sat, 07 Sep 2002 00:00:01 GMT When I try to just put it through any sort of date manipulation function, I get the following error: The value "Thu, 25 Mar 2004 04:28:34 PST" could not be converted to a date. Any ideas? Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Parsing MSDN RSS feeds
I was trying to pull in an MSDN RSS feed and xmlparse() it and it just kept breaking. Then I noticed that MS (in their infinite wisdom) doesn't bother putting in the XML declaration at the top of their feeds (e.g. version="1.0"?>). View the source here: http://msdn.microsoft.com/mobility/rss.xml Any way around this? -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
unable to create new native thread
Hi all: I'm trying to use the Apache HTTPclient library that comes w/ one of Macromedia's DRK's. I occasionally get an error that says: java.lang.OutOfMemoryError: unable to create new native thread Any ideas on how I can avoid this? Some sort of JVM tweak? Thanks, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Dealing with option XML elements
I'm writing a cfc rss parser that parses the various formats of RSS and spits back out a complex data structure. One of the things I'm grappling with is the use of optional RSS elements and how to best code the parser to handle those. For example, I stumbled on the Slickdeals RSS feed (http://www.slickdeals.net/rss.php) which doesn't bother putting descriptions in the items. Now, I know I can use structkeyfind against the XML object or isDefined and just rely on a bunch of if statements ("If the description is there, then grab it"), but this seems inefficient. Is there a better way to deal with XML elements/attributes that may or may not be there? -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Homesite & namespaced custom tags
It worked. SAWEET! Thanks much. _ From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 12:08 PM To: CF-Talk Subject: RE: Homesite & namespaced custom tags Rich, I spoke w/ two members of the HS team, Farah Gron and Darin Cayon, shared the following with me: > In the user's example, if cache.vtm is in \Extensions\TagDefs\UTIL > folder then > tag editing. They may even get a list of all the tags when then type > > and they followed up with this: "Actually, Darin pointed out that in 5.5 the functionality to get a list of tags corresponding to a namespace works. It doesn't work in 5.2 though." Enjoy. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: XML storage
Thanks very much. Much appreciated. _ From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 9:35 AM To: CF-Talk Subject: Re: XML storage I was meaning to respond to this sooner, but have been away from email. You can find the CFC wrapper for the Xindice class created in that article at the following URL. http://devilm.com/code/DBManager.txt You can also find the Java class file at the following URL. http://devilm.com/code/DBManager.java -Matt On Feb 11, 2004, at 2:10 PM, Rich Ziade wrote: > Hi Matt: > > > It's Rich from cf-talk. I dug around for that CFC wrapper post but > couldn't > find it anywhere. I'd write this myself, but unfortunately not very > well > versed in Java. I know how to access Java objects etc. from CF, but I > frankly don't even know where to begin. > > > If you could point the way to that CFC wrapper that would be huge. If > its > gone for all time - then what do you suggest I do to get Xindice to > work > nicely w/ CFMX? > > > Thanks in advance. That DevX article was excellent btw. > > > -Rich > > > _ > > From: Matt Liotta [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 05, 2004 4:02 PM > To: CF-Talk > Subject: XML storage > > > I would normally responsd to specific messages, but I am away from my > email client. However, I wanted to address the question in regard to > XML > storage as well as the responses. > > First, storing XML in an RDBMS is not a good idea. See my article on > the > subject at http://builder.com.com/5100-6388-1051795.html. > > Next, if you are interested in storing XML in a native XML database > then > do take a look at Apache Xindice. See my article on the subject at > http://www.devx.com/xml/article/9796. The Java code used in the article > was written in a way to be used easily from CFML. I even created a CFC > wrapper for it, but I seem to have lost it somewhere along the way. > Although, I do remember sharing it with a list at some point so an > archive > may very well have it. > > Finally, you should also be aware of a project I am participating in > named > Tahoe at http://sourceforge.net/projects/tahoe. I am currently work on > adding support for LDAP, which is often a better place to store XML > then > an RDBMS because of its hierarchical query engine. > > -Matt > _ > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Homesite & namespaced custom tags
I'm a big fan of Homesite and I like to use the tag to reference custom tag libraries. I know Homesite has VTML support so you can create code hints for custom tags, but I can't get it to work with namespaced custom tags. For example, if I have a custom tag called cache, I can create a corresponding VTML for HS if I use cf_cache, but I'm unable to do so if I want to reference the tag as . I know DW 2004 allows this, but I have other issues w/ DW 2004. Is there a way to make this work in HS? Is there another code editor that would work well in this situation? Thanks, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: XML storage
Hi Matt: It's Rich from cf-talk. I dug around for that CFC wrapper post but couldn't find it anywhere. I'd write this myself, but unfortunately not very well versed in Java. I know how to access Java objects etc. from CF, but I frankly don't even know where to begin. If you could point the way to that CFC wrapper that would be huge. If its gone for all time - then what do you suggest I do to get Xindice to work nicely w/ CFMX? Thanks in advance. That DevX article was excellent btw. -Rich _ From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 4:02 PM To: CF-Talk Subject: XML storage I would normally responsd to specific messages, but I am away from my email client. However, I wanted to address the question in regard to XML storage as well as the responses. First, storing XML in an RDBMS is not a good idea. See my article on the subject at http://builder.com.com/5100-6388-1051795.html. Next, if you are interested in storing XML in a native XML database then do take a look at Apache Xindice. See my article on the subject at http://www.devx.com/xml/article/9796. The Java code used in the article was written in a way to be used easily from CFML. I even created a CFC wrapper for it, but I seem to have lost it somewhere along the way. Although, I do remember sharing it with a list at some point so an archive may very well have it. Finally, you should also be aware of a project I am participating in named Tahoe at http://sourceforge.net/projects/tahoe. I am currently work on adding support for LDAP, which is often a better place to store XML then an RDBMS because of its hierarchical query engine. -Matt _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: XML Storage
I looked this over. It's interesting. How difficult would this be to integrate into CF? It looks like a pretty involved API. _ From: Massimo Foti [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 12:18 PM To: CF-Talk Subject: Re: XML Storage > I've been doing some research on XML databases and was wondering if anyone > could provide any insight: > I don't have any real-world experience in this specific field, but you may take a look at Xindice: http://xml.apache.org/xindice/ Massimo Foti http://www.massimocorner.com Co-Author of Dreamweaver MX 2004 Magic: http://www.dwmagic.com/ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: XML Storage
Interesting. Thank you. _ From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 12:12 PM To: CF-Talk Subject: RE: XML Storage you do know that you can store data in sql server 2000, like we normally would (separate columns etc.) and then query from that database and have sql server return xml that you can use in an xml context. therefore you can harness the power of sql server, its indexing etc, query from it, and return xml that you can objectize and use tony -Original Message- From: Rich Ziade [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 12:13 PM To: CF-Talk Subject: XML Storage I've been doing some research on XML databases and was wondering if anyone could provide any insight: We're building an insurance policy management system that handles the processing of policies (approvals, cancellations, etc.). It seems to make a lot of sense to deal w/ the day-to-day data in XML - since the data objects we're dealing with lend themselves very well to XML data (a "policy XML" etc.). We're not too concerned w/ reporting b/c we plan on dropping the data to a database nightly anyway for reporting. Does anyone have a suggestion for a good, lightweight XML storage/retrieval mechanism. It doesn't even need full SQL/query capabilities. An efficient storage mechanism w/ some light indexing is fine. Any suggestions would be greatly appreciated, Rich _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
XML Storage
I've been doing some research on XML databases and was wondering if anyone could provide any insight: We're building an insurance policy management system that handles the processing of policies (approvals, cancellations, etc.). It seems to make a lot of sense to deal w/ the day-to-day data in XML - since the data objects we're dealing with lend themselves very well to XML data (a "policy XML" etc.). We're not too concerned w/ reporting b/c we plan on dropping the data to a database nightly anyway for reporting. Does anyone have a suggestion for a good, lightweight XML storage/retrieval mechanism. It doesn't even need full SQL/query capabilities. An efficient storage mechanism w/ some light indexing is fine. Any suggestions would be greatly appreciated, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]