RE: Structure or Array or both?
Excellent, thank you very much. -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 12:58 AM To: CF-Talk Subject: RE: Structure or Array or both? You could do this is you wanted to store several things about each item (name, decription, price...) cfset oldPrice = structNew() cfloop query = getInventory cfset oldPrice[item_id] = structNew() cfset oldPrice[#item_id#].price = price cfset oldPrice[#item_id#].description = description /cfloop But since you only want one thing you don't need a structure of structures. A simple structure will do: cfset oldPrice = structNew() cfloop query = getInventory cfset oldPrice[item_id] = price /cfloop Now to get a price of item 123, you'd write: cfoutput#Oldprice[123]#/cfoutput -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, 16 July 2003 5:49 p.m. To: CF-Talk Subject: Structure or Array or both? I have a problem and I'm guessing that a simple structure is my answer but I have never done one before so here I am. I need to access a price based upon an item number. Do I query the table to get my item id and price then loop over the query and create a structure, or more accurately I guess a set of structures so when I need a price I can just use #itemid.price#? If so how do I execute this? My thought was something like this: cfloop query = getInventory cfset oldPrice[#item_id#] = structNew() cfset oldPrice[#item_id#].price = #price# /cfloop This of course does not work. I will have an item id at the location where I need to display the price so I was thinking that my output could be #Evaluate(oldPrice#item_id#.price)# Am I even close? Any assistance would be greatly appreciated. Chris ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Help with CFX Error
Hello, I realize getting support for custom tags is next to difficult, but am getting an interesting error when trying to use a Java CFX tag: Error processing CFX custom tag quot;CFX_CFX_RawSocketquot;. The CFX custom tag CFX_CFX_RawSocket was not found in the custom tag database. Please be sure to add custom tags to the database before using them. If you have added your tag to the database then you should check the spelling of the tag within your template to insure that it matches the database entry. Running CFMX with latest Updater 3. I've installed the JRE 1.4.2 and the CFX_RawSocket.class file in C:\CFusionMX\CustomTags. Java Class Path in CFMX Admin is C:\Program Files\Java\j2re1.4.2,. I've done a search in the Registry for CFX_RawSocket and can't find it. Am running both CF5 and CFMX (standalone webserver) on this machine. There is nothing in the code that is duplicating the CFX_ prefix of the tag. !--- code --- CFX_RawSocket server=#server# port=#port# protocol=#protocol# message=#postmsg# responsevar=SocketOutput Any ideas on what the error is trying to tell me? Thanks, James ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Help with CFX Error
Make sure your jre path is valid, I had issues with path names containing periods and had to install 1.4.2 to c:\jre before I could get it working. Then add C:\CFusionMX\CustomTags to the classpath and restart CF, should sort it. The CFX_CFX_ thing tends to happen when one or more paths are wrong. -Original Message- From: James Johnson [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 07:44 To: CF-Talk Subject: Help with CFX Error Hello, I realize getting support for custom tags is next to difficult, but am getting an interesting error when trying to use a Java CFX tag: Error processing CFX custom tag quot;CFX_CFX_RawSocketquot;. The CFX custom tag CFX_CFX_RawSocket was not found in the custom tag database. Please be sure to add custom tags to the database before using them. If you have added your tag to the database then you should check the spelling of the tag within your template to insure that it matches the database entry. Running CFMX with latest Updater 3. I've installed the JRE 1.4.2 and the CFX_RawSocket.class file in C:\CFusionMX\CustomTags. Java Class Path in CFMX Admin is C:\Program Files\Java\j2re1.4.2,. I've done a search in the Registry for CFX_RawSocket and can't find it. Am running both CF5 and CFMX (standalone webserver) on this machine. There is nothing in the code that is duplicating the CFX_ prefix of the tag. !--- code --- CFX_RawSocket server=#server# port=#port# protocol=#protocol# message=#postmsg# responsevar=SocketOutput Any ideas on what the error is trying to tell me? Thanks, James ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Multi-language Content Management
Finally, I would recommend against using any cgi variables or geographic lookup data as the sole determination of language. Great to use this to initiate the language on the first visit, but store a language id in a session or client variable and reference that to drive the actual content so you can provide links to alternate languages. If your system provides (or enforces) a means of associating pages, you can even provide links to the same page in all available languages (Tapestry does this), i.e. product information for product x in Spanish, English, German and French. :) no, its generally considered best practice to transparently try to sniff a users language/locale preferences fall back on some default language if you can't accomplish this. and your app should *always* offer users the chance to manually swap preferences--and lets not use any of those childish language flags, you'll end up insulting somebody--since you should be using unicode, its best to offer language choices in each language (french in french. thai in thai, etc.). it goes without saying that once sniffed or manually determined you should stock that preference away somehow use that info on subsequent visits. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FuseQ Documentation?
John Re-writing an application in FB4 simply to use the extra benefit of FuseQ seems like over-kill. I would be grateful if you could point me to some meaty info on FuseQ as I also found that what was available on the site was quite sparse. Thanks Kola -Original Message- From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 21:44 To: CF-Talk Subject: RE: FuseQ Documentation? Jamie, FuseQ has been subsumed into Fusebox 4 (beta.fusebox.org) John I put the Q in FuseQ Quarto-vonTivadar :) -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:49 PM To: CF-Talk Subject: SOT: FuseQ Documentation? The techspedition site does a lot of talking about the virtues of FuseQ, but has very little in the way of meaty documentation, unless I missed something. Does anybody know where I can find what I'm looking for (documentation)? I just signed up for the Yahoo Groups FuseQ mailing list, but I've got to wait for who-knows-how-long for membership approval. While I'm at it, I might as well ask my question here: When to use StartOfQ and when to use AddToQ? I started out using just AddToQ, within an MVC Fusebox/FuseQ app, but in at least one case, CF can't find the AddToQ method, but it *can* find it if I scope the AddToQ method to request within techspeditionFBcoremethods_CF50_v3_00_21.cfm. I suspect I shouldn't have to do this, though, and that I am doing something wrong. Thanks, Jamie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Re: Mach II
Unfortunatly I live in Ireland:-) -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 00:30 To: CF-Talk Subject: RE: Re: Mach II There is also a conference and training available from Hal Helms and Ben Edwards on Mach-II in Las Vegas in late August, 2003. Details are here: - http://www.cfconf.com/fusebox2003/ Kind Regards - Mike Brunt Original Message --- What you get on http://www.mach-ii.com/ is all you get... Remember this is still beta software! On Tuesday, Jul 15, 2003, at 09:48 US/Pacific, webguy wrote: My first look at MachII; Does the data in example machII app, persist data ? Is there are readme ? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
XP issue was RE: Visual Regular Expression tool
Do you XP users that are having problems got MSVCRT.DLL on your machines? WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 03:33 To: CF-Talk Subject: Re: Visual Regular Expression tool No clue. here's the direct link: http://www.cfregex.com/visualregex/kregexpeditor.zip There's no security on the directory and nothing that can stop it from being downloaded. If it was on the HoF server then I can understand there being a problem. Since I put in some of the google stuff we've been hammered with requests. It's bogging down the machine. I'm going to have to do something about that really soon. oi Michael!! I get a windows cannot access the specified device,path or file. You may not have the appropriate permissions to access the item WTF? Ctz Tuesday, July 15, 2003, 6:26:35 PM, you wrote: MD Download it now: MD http://www.cfregex.com MD ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Re: Mach II
Unfortunatly I live in Ireland:-) well thats not something i would consider unfortunate ;-) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: XP issue was RE: Visual Regular Expression tool
It looks like it was a security problem on the original zip file. I've uploaded a new one. Please try it out and see if it fixes the problem. Do you XP users that are having problems got MSVCRT.DLL on your machines? WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 03:33 To: CF-Talk Subject: Re: Visual Regular Expression tool No clue. here's the direct link: http://www.cfregex.com/visualregex/kregexpeditor.zip There's no security on the directory and nothing that can stop it from being downloaded. If it was on the HoF server then I can understand there being a problem. Since I put in some of the google stuff we've been hammered with requests. It's bogging down the machine. I'm going to have to do something about that really soon. oi Michael!! I get a windows cannot access the specified device,path or file. You may not have the appropriate permissions to access the item WTF? Ctz Tuesday, July 15, 2003, 6:26:35 PM, you wrote: MD Download it now: MD http://www.cfregex.com MD ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: XP issue was RE: Visual Regular Expression tool
oi Michael!! works great now. danke Wednesday, July 16, 2003, 6:26:06 AM, you wrote: MD It looks like it was a security problem on the original zip file. I've MD uploaded a new one. Please try it out and see if it fixes the problem. Do you XP users that are having problems got MSVCRT.DLL on your machines? WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 03:33 To: CF-Talk Subject: Re: Visual Regular Expression tool No clue. here's the direct link: http://www.cfregex.com/visualregex/kregexpeditor.zip There's no security on the directory and nothing that can stop it from MD being downloaded. If it was on the HoF server then I can understand there being a problem. Since I put in some of the google stuff we've been hammered with requests. It's bogging down the machine. I'm going to have to do something about MD that really soon. oi Michael!! I get a windows cannot access the specified device,path or file. You may not have the appropriate permissions to access the item WTF? Ctz Tuesday, July 15, 2003, 6:26:35 PM, you wrote: MD Download it now: MD http://www.cfregex.com MD MD ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FuseQ Documentation?
cfquote Re-writing an application in FB4 simply to use the extra benefit of FuseQ seems like over-kill. /cfquote So why rewrite the application in FuseQ? FuseQ will not be supported from this point forward as all of it is now available in Fusebox 4. If you are going to rewrite your application from FB3 to something anyways (and believe me to take advantage of content variables and the ability to link fuseactions together you do have to do a rewrite), why not just do it in FB4? If you have MX a stable core is available now at beta.fusebox.org. If you have 5, go ahead and play with FuseQ, but know you will move it to FB4 as soon as the 5 core becomes available. Run a google search on FuseQ, there is some info out there, Brian Kotek had a site devoted to examples. I have a presentation on my site dealing with Accessibility and FuseQ (layouts). I also have one devoted to Accessibility and FB4 as well. Sandy www.shayna.com -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 5:05 AM To: CF-Talk Subject: RE: FuseQ Documentation? John Re-writing an application in FB4 simply to use the extra benefit of FuseQ seems like over-kill. I would be grateful if you could point me to some meaty info on FuseQ as I also found that what was available on the site was quite sparse. Thanks Kola -Original Message- From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 21:44 To: CF-Talk Subject: RE: FuseQ Documentation? Jamie, FuseQ has been subsumed into Fusebox 4 (beta.fusebox.org) John I put the Q in FuseQ Quarto-vonTivadar :) -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:49 PM To: CF-Talk Subject: SOT: FuseQ Documentation? The techspedition site does a lot of talking about the virtues of FuseQ, but has very little in the way of meaty documentation, unless I missed something. Does anybody know where I can find what I'm looking for (documentation)? I just signed up for the Yahoo Groups FuseQ mailing list, but I've got to wait for who-knows-how-long for membership approval. While I'm at it, I might as well ask my question here: When to use StartOfQ and when to use AddToQ? I started out using just AddToQ, within an MVC Fusebox/FuseQ app, but in at least one case, CF can't find the AddToQ method, but it *can* find it if I scope the AddToQ method to request within techspeditionFBcoremethods_CF50_v3_00_21.cfm. I suspect I shouldn't have to do this, though, and that I am doing something wrong. Thanks, Jamie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: XP issue was RE: Visual Regular Expression tool
-Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 11:26 To: CF-Talk Subject: Re: XP issue was RE: Visual Regular Expression tool It looks like it was a security problem on the original zip file. I've uploaded a new one. Please try it out and see if it fixes the problem. Do you XP users that are having problems got MSVCRT.DLL on your machines? WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 03:33 To: CF-Talk Subject: Re: Visual Regular Expression tool No clue. here's the direct link: http://www.cfregex.com/visualregex/kregexpeditor.zip There's no security on the directory and nothing that can stop it from being downloaded. If it was on the HoF server then I can understand there being a problem. Since I put in some of the google stuff we've been hammered with requests. It's bogging down the machine. I'm going to have to do something about that really soon. oi Michael!! I get a windows cannot access the specified device,path or file. You may not have the appropriate permissions to access the item WTF? Ctz Tuesday, July 15, 2003, 6:26:35 PM, you wrote: MD Download it now: MD http://www.cfregex.com MD ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
test
test ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FuseQ Documentation?
One thing I have noticed as of late is that the documentation on FB is not that involved... unless you buy the books of course. Mach-II has a new site up and lots of hype about Mach-II, but no documentation.. just advertising for trainings and books, which again cost more money, but no documentation... - Original Message - From: Jamie Jackson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:48 PM Subject: SOT: FuseQ Documentation? The techspedition site does a lot of talking about the virtues of FuseQ, but has very little in the way of meaty documentation, unless I missed something. Does anybody know where I can find what I'm looking for (documentation)? I just signed up for the Yahoo Groups FuseQ mailing list, but I've got to wait for who-knows-how-long for membership approval. While I'm at it, I might as well ask my question here: When to use StartOfQ and when to use AddToQ? I started out using just AddToQ, within an MVC Fusebox/FuseQ app, but in at least one case, CF can't find the AddToQ method, but it *can* find it if I scope the AddToQ method to request within techspeditionFBcoremethods_CF50_v3_00_21.cfm. I suspect I shouldn't have to do this, though, and that I am doing something wrong. Thanks, Jamie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Searching DB with multiple tables
Is there a way to search a db with multiple tables (tables have the same field names)for a particular word or phrase when there are no corresponding field entries between tables(ex. Product ID in one table has no relationship to the product ID in another table nor do any of the other field entries relate between tables ... but the field names are the same)? Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FuseQ Documentation?
Re FB4: I know that some stuff is going to go up soon. But since FB4 is just now coming out of beta (and changing rapidly while doing so) I don't think anything specific could come up. I don't know much about Mach-ii other than that its still in Alpha and probably will be going through the same thing. Then again, you could always take what is up on the site, go through the core files (especially the parser which goes through the xml grammar part) and start playing. I've written an bunch of small applications for testing, which has helped my knowledge immensely and the Fb4 email list off of Yahoo and the forums list have been good when there have been problems. As to the training and books (I will state here that I am lucky enough to be one of the authors of the book so you can attribute some bias to my words), both Hal and John have spent countless hours creating a framework that benefits many of us everyday in the getting paid for work we do. The framework is free. I however do not begrudge them the fact that they would like to have something to show at the end of the day besides thanks. Since this is a community of professionals, I think it is incumbent upon us to all contribute something. For many of us it will be plugins, or articles detailing how to do something in Fusebox 4. I don't know where the attitude came that the people who make this framework available for free have to do everything for us for free. That they owe us something. So rather then starting a flame war on this subject, I propose something constructive. Come up with an idea to give back to these communities (FB4, CFMX). Write an article, come up with an idea to share. Give back. (I'm putting my money where my mouth is), I've already written VTML's and a toolbar for FB4. IT will be up on the site in the next week or two. Anyone want to write the help files for them? -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 7:05 AM To: CF-Talk Subject: Re: FuseQ Documentation? One thing I have noticed as of late is that the documentation on FB is not that involved... unless you buy the books of course. Mach-II has a new site up and lots of hype about Mach-II, but no documentation.. just advertising for trainings and books, which again cost more money, but no documentation... - Original Message - From: Jamie Jackson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:48 PM Subject: SOT: FuseQ Documentation? The techspedition site does a lot of talking about the virtues of FuseQ, but has very little in the way of meaty documentation, unless I missed something. Does anybody know where I can find what I'm looking for (documentation)? I just signed up for the Yahoo Groups FuseQ mailing list, but I've got to wait for who-knows-how-long for membership approval. While I'm at it, I might as well ask my question here: When to use StartOfQ and when to use AddToQ? I started out using just AddToQ, within an MVC Fusebox/FuseQ app, but in at least one case, CF can't find the AddToQ method, but it *can* find it if I scope the AddToQ method to request within techspeditionFBcoremethods_CF50_v3_00_21.cfm. I suspect I shouldn't have to do this, though, and that I am doing something wrong. Thanks, Jamie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FuseQ Documentation?
Sandy So why rewrite the application in FuseQ? FuseQ will not be supported from this point forward as all of it is now available in Fusebox 4. If you are going to rewrite your application from FB3 to something anyways (and believe me to take advantage of content variables and the ability to link fuseactions together you do have to do a rewrite), I wasn't aware that to take advantage of the chaining fuseactions together It would involve a lot more of a re-write. I wrongly had the impression from what little I have read on FuseQ that you could plug in the core file and start chaining fuseaction together. why not just do it in FB4? If you have MX a stable core is available now at beta.fusebox.org. If you have 5, go ahead and play with FuseQ, but know you will move it to FB4 as soon as the 5 core becomes available. Maybe. We'll see. Thanks anyway. Kola ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FuseQ Documentation?
The architecture is different, so if you want to link you do have to rewrite. Depending on whether you separated the architecture out of your fuses, you might or might not have to rewrite your fuses, but you will have to rewrite your switches. If your fuses will stay the same moving from FB3 to FuseQ, then they will stay the same moving from FB3 to FB4. Again, you will rewrite your switches. The bigger problem will be breaking out of the Nested Layout model. FB4 doesn't support Nested Layouts natively (and a good thing too). I wrote a plugin which will support Nested Layouts for moving old apps in,but it still involves a bit of a rewrite. While FuseQ does support Nested Layouts, it also gives you the same control with layouts as FB4 (contentvariables), the ability to capture discrete bits of display into variables and then output them specifically in their own layout. See my presentation from CFUN03 on my site for more info. http://www.shayna.com go to the presentations area. -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 7:43 AM To: CF-Talk Subject: RE: FuseQ Documentation? Sandy So why rewrite the application in FuseQ? FuseQ will not be supported from this point forward as all of it is now available in Fusebox 4. If you are going to rewrite your application from FB3 to something anyways (and believe me to take advantage of content variables and the ability to link fuseactions together you do have to do a rewrite), I wasn't aware that to take advantage of the chaining fuseactions together It would involve a lot more of a re-write. I wrongly had the impression from what little I have read on FuseQ that you could plug in the core file and start chaining fuseaction together. why not just do it in FB4? If you have MX a stable core is available now at beta.fusebox.org. If you have 5, go ahead and play with FuseQ, but know you will move it to FB4 as soon as the 5 core becomes available. Maybe. We'll see. Thanks anyway. Kola ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Includes inside a CFOUTPUT problem...
Yeah, I've had the same experience. I've ended up getting in the habit of putting a cfoutput block in almost all my files that I cfinclude. I skip the ones I know are not doing any output (db processing ect). __ Bill Grover Supervisor MIS Phone: 301.424.3300 x3324 EU Services, Inc. FAX:301.424.3696 649 North Horners Lane E-Mail: [EMAIL PROTECTED] Rockville, MD 20850-1299WWW:http://www.euservices.com __ -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 1:02 PM To: CF-Talk Subject: RE: Includes inside a CFOUTPUT problem... Yep, that's what I was getting ready to do Bummer, huh? :: -Original Message- :: From: Ben Doom [mailto:[EMAIL PROTECTED] :: Sent: Tuesday, July 15, 2003 12:56 PM :: To: CF-Talk :: Subject: RE: Includes inside a CFOUTPUT problem... :: :: :: I'd just replace the includes with their contents. Not as :: elegant, I guess, :: but sometimes you just do what works. :: :: :: -- Ben Doom :: Programmer General Lackey :: Moonbow Software, Inc :: :: : -Original Message- :: : From: Les Mizzell [mailto:[EMAIL PROTECTED] :: : Sent: Tuesday, July 15, 2003 11:59 AM :: : To: CF-Talk :: : Subject: RE: Includes inside a CFOUTPUT problem... :: : :: : :: : :: I don;t think the cfoutput is inherited by the cfinclude :: : :: templates from :: : :: the calling template, so you'll need to put cfoutput in :: each of the :: : :: include templates where you want to output a variable. :: : :: : This will take some head scratching to get to work. Each include :: : is a single :: : td. Basically, I'm building a table in my switch statement. So, it's :: : still got to loop through all the records and properly build the table. :: : Different results will result in a completely different table. :: : :: : Jezz, I may have painted myself into a corner at this point if :: there's no :: : good way to get it to work. :: : :: : Ideas??? :: : :: : :: : :: : :: : :: -Original Message- :: : :: From: A.Little [mailto:[EMAIL PROTECTED] :: : :: Sent: Tuesday, July 15, 2003 11:49 AM :: : :: To: CF-Talk :: : :: Subject: RE: Includes inside a CFOUTPUT problem... :: : :: :: : :: :: : :: : :: :: : :: Don't ask me why it works like this - I have no idea ;-) :: : :: :: : :: Alex :: : :: :: : :: :: : :: -Original Message- :: : :: From: Les Mizzell [mailto:[EMAIL PROTECTED] :: : :: Sent: 15 July 2003 16:38 :: : :: To: CF-Talk :: : :: Subject: RE: Includes inside a CFOUTPUT problem... :: : :: :: : :: :: : :: :: What about :: : :: :: td#prods.some_variable#/td :: : :: :: in the includes ? :: : :: :: That's better syntax anyway... :: : :: :: : :: :: : :: Nope, still doesn't do it :: : :: :: : :: H. :: : :: :: : :: :: : :: Re: :: : :: cfoutput query=prods :: : :: tr :: : ::cfswitch expression=#URL.ID# :: : :: cfcase value=100 :: : ::cfinclude template=includes/td_1.cfm :: : ::cfinclude template=includes/td_14.cfm :: : ::cfinclude template=includes/td_22.cfm :: : :: /cfcase :: : :: cfcase value=110 :: : :: cfinclude template=includes/td_33.cfm :: : :: cfinclude template=includes/td_34.cfm :: : :: cfinclude template=includes/td_35.cfm :: : :: /cfcase :: : ::/cfswitch :: : :: /tr :: : :: /cfoutput :: : :: :: : :: :: : :: ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FuseQ Documentation?
Sandy, I did not mean to come off as negative at all.. All I was saying is that the book is not shipping yet, and not a great deal of documentation is available yet... making it more difficult for people to get involved during the alphas and betas. I don't begrudge anyone, nor am I ungreatful for the free architectures that are provided... I am sorry I cam off that way. Mike - Original Message - From: Sandy Clark [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 7:35 AM Subject: RE: FuseQ Documentation? Re FB4: I know that some stuff is going to go up soon. But since FB4 is just now coming out of beta (and changing rapidly while doing so) I don't think anything specific could come up. I don't know much about Mach-ii other than that its still in Alpha and probably will be going through the same thing. Then again, you could always take what is up on the site, go through the core files (especially the parser which goes through the xml grammar part) and start playing. I've written an bunch of small applications for testing, which has helped my knowledge immensely and the Fb4 email list off of Yahoo and the forums list have been good when there have been problems. As to the training and books (I will state here that I am lucky enough to be one of the authors of the book so you can attribute some bias to my words), both Hal and John have spent countless hours creating a framework that benefits many of us everyday in the getting paid for work we do. The framework is free. I however do not begrudge them the fact that they would like to have something to show at the end of the day besides thanks. Since this is a community of professionals, I think it is incumbent upon us to all contribute something. For many of us it will be plugins, or articles detailing how to do something in Fusebox 4. I don't know where the attitude came that the people who make this framewo rk available for free have to do everything for us for free. That they owe us something. So rather then starting a flame war on this subject, I propose something constructive. Come up with an idea to give back to these communities (FB4, CFMX). Write an article, come up with an idea to share. Give back. (I'm putting my money where my mouth is), I've already written VTML's and a toolbar for FB4. IT will be up on the site in the next week or two. Anyone want to write the help files for them? -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 7:05 AM To: CF-Talk Subject: Re: FuseQ Documentation? One thing I have noticed as of late is that the documentation on FB is not that involved... unless you buy the books of course. Mach-II has a new site up and lots of hype about Mach-II, but no documentation.. just advertising for trainings and books, which again cost more money, but no documentation... - Original Message - From: Jamie Jackson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:48 PM Subject: SOT: FuseQ Documentation? The techspedition site does a lot of talking about the virtues of FuseQ, but has very little in the way of meaty documentation, unless I missed something. Does anybody know where I can find what I'm looking for (documentation)? I just signed up for the Yahoo Groups FuseQ mailing list, but I've got to wait for who-knows-how-long for membership approval. While I'm at it, I might as well ask my question here: When to use StartOfQ and when to use AddToQ? I started out using just AddToQ, within an MVC Fusebox/FuseQ app, but in at least one case, CF can't find the AddToQ method, but it *can* find it if I scope the AddToQ method to request within techspeditionFBcoremethods_CF50_v3_00_21.cfm. I suspect I shouldn't have to do this, though, and that I am doing something wrong. Thanks, Jamie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
copy search results in dwmx
is there a way to copy the search results or save results into a text file?? say i did a search on: datasource= just to give me a list of all data sources called in a site. so i can then put it into a spread sheet or what not, for maintenance whatnot. if there isn't a way, can i get it in next release of dwmx? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (Admin) Removal
On Tuesday 15 Jul 2003 17:58 pm, Michael Dinowitz wrote: Anyone using software like Spamkilla and the like that continuously floods the list with requests to be authorized will be removed from the list until the software is configured properly. fx: cheer Thank you ! Really, people using Spamkilla et al. - go get something based on SpamAssian for your O/S of choice, it's transparent to the rest of the world, free, and works. -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: copy search results in dwmx
On Wednesday 16 Jul 2003 13:36 pm, Ihrig Paul E Cont 88 ABW/EM wrote: is there a way to copy the search results or save results into a text file?? so i can then put it into a spread sheet or what not, for maintenance whatnot. if there isn't a way, can i get it in next release of dwmx? Get cygwin. then you can just: find /path/to/root/ -exec grep -H 'datasource=' {} filename.txt -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
JS and CF question
Okay shoot me because I can't don't know what to do but I have a form that needs to check 3 fields against the db to make sure there isn't a duplicate. I can't make my JS code work because I am not that smart. anyone bored and want to help? :) HERE is whats between my tags. thanks SCRIPT LANGUAGE=JavaScript CFSET IP = '' CFSET HOST = '' CFSET NIC = '' CFOUTPUT QUERY=ALL_PCS CFSET IP = #listappend(IP, IPADDRESS)# CFSET HOST = #listappend(HOST, PCNAME)# CFSET NIC = #listappend(NIC, NICADDRESS)# /CFOUTPUT CFSET a = findnocase(document.forms.add.IPADDRESS.value, IP,1) CFSET b = findnocase(document.forms.add.PCNAME.value, HOST,1) CFSET c = findnocase(document.forms.add.NICADDRESS.value, NIC,1) CFIF #VARIABLES.A# IS NOT 0 alert (You Entered a Duplicate IP Address.); return false; /CFIF -CFIF #VARIABLES.B# IS NOT 0 alert (You Entered a Duplicate PCNAME.); return false; /CFIF CFIF #VARIABLES.C# IS NOT 0 alert (You Entered a Duplicate NIC Address.); return false; /CFIF /script ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Multi-language Content Management
First off, my system in its present iteration doesn't try to translate on its own. Thats left up to humans. And further it doesn't try to synch up various versions of content (i.e. the German, Dutch, French and English versions of Page Foo must all be updated before they can be published as a group)... but its been requested and might be a reality by the time I get around to a release. ah, i skipped right over that. well i consider that just an awful way of doing a multilingual CMS. it irks me no end to see content or structure vary between locales. it makes me feel that one locale is less important than another, so why even bother offering it? for extreme examples see some thai gov or academic websites english pages. they're often a single line or just the title in english, the rest of the content in thai or there will be 100 pages of thai content 1 page of english, etc. makes me want to grab the webmasters by their ears shake some sense into them. but thats just me. Matt Walker told me once that in developing their CMS they found that most of their clients (largely tourism industry) frequently don't want the same content in different languages because they're trying to emphasise different things to each set of potential visitors... Which may have a lot to do with that particular industry -- I always thought something like product information was a good example of why you would want the ability to translate and associate the same pages in each language, even if you didn't take advantage of it for every page. s. isaac dealey972-490-6624 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi team macromedia volunteer http://www.macromedia.com/go/team certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Multi-language Content Management
Finally, I would recommend against using any cgi variables or geographic lookup data as the sole determination of language. Great to use this to initiate the language on the first visit, but store a language id in a session or client variable and reference that to drive the actual content so you can provide links to alternate languages. If your system provides (or enforces) a means of associating pages, you can even provide links to the same page in all available languages (Tapestry does this), i.e. product information for product x in Spanish, English, German and French. :) no, its generally considered best practice to transparently try to sniff a users language/locale preferences fall back on some default language if you can't accomplish this. and your app should *always* offer users the chance to manually swap preferences--and lets not use any of those childish language flags, you'll end up insulting somebody--since you should be using unicode, its best to offer language choices in each language (french in french. thai in thai, etc.). it goes without saying that once sniffed or manually determined you should stock that preference away somehow use that info on subsequent visits. Isn't that what I just said? ... (except that I did neglect to mention printing the name of the language in that language... Asian languages obviously require non-latin characters to print the language name in the language, but it applies with other languages as well. I know Welsh for instance doesn't look or sound anything like welsh when it's printed or said in welsh. ) s. isaac dealey972-490-6624 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi team macromedia volunteer http://www.macromedia.com/go/team certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Search Engines
We currently use the canned verity search features that come with CF 5, but we're outgrowing it. Can anyone give me a few leads on alternative search engines other than K2? I'd like a few options to explore. BTW, we're indexing text out of a database, not pages on the site. Thanks! Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: copy search results in dwmx
Paul This is one of the handy features which was present in studio 5 but not in Dreamweaver. I would fill in the wish list ( I don't have the url ) and hopefully it will be included in the next version of DW or its replacement. Kola -Original Message- From: Ihrig Paul E Cont 88 ABW/EM [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 13:36 To: CF-Talk Subject: copy search results in dwmx is there a way to copy the search results or save results into a text file?? say i did a search on: datasource= just to give me a list of all data sources called in a site. so i can then put it into a spread sheet or what not, for maintenance whatnot. if there isn't a way, can i get it in next release of dwmx? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JS and CF question
Michael, This always seems to be the hardest issue for people who are just getting in to implement JS to grasp. CF is processed on the server-side and JS is processed on the client-side. This means that any CF interaction will happen before it ever gets to the user. If you're looking to communicate w/the server is pseudo real-time, check out my Gateway JSAPI: http://www.pengoworks.com/workshop/js/gateway/ You can use this API to send the text in the fields to the CF, then CF can check to make sure that the text is valid before doing the next step. The thing to remember is that this will be an asynchronous action, so other processing will continue to occur while the browser is waiting for the response from the server. -Dan -Original Message- From: Michael Ross [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 9:23 AM To: CF-Talk Subject: JS and CF question Okay shoot me because I can't don't know what to do but I have a form that needs to check 3 fields against the db to make sure there isn't a duplicate. I can't make my JS code work because I am not that smart. anyone bored and want to help? :) HERE is whats between my tags. thanks SCRIPT LANGUAGE=JavaScript CFSET IP = '' CFSET HOST = '' CFSET NIC = '' CFOUTPUT QUERY=ALL_PCS CFSET IP = #listappend(IP, IPADDRESS)# CFSET HOST = #listappend(HOST, PCNAME)# CFSET NIC = #listappend(NIC, NICADDRESS)# /CFOUTPUT CFSET a = findnocase(document.forms.add.IPADDRESS.value, IP,1) CFSET b = findnocase(document.forms.add.PCNAME.value, HOST,1) CFSET c = findnocase(document.forms.add.NICADDRESS.value, NIC,1) CFIF #VARIABLES.A# IS NOT 0 alert (You Entered a Duplicate IP Address.); return false; /CFIF -CFIF #VARIABLES.B# IS NOT 0 alert (You Entered a Duplicate PCNAME.); return false; /CFIF CFIF #VARIABLES.C# IS NOT 0 alert (You Entered a Duplicate NIC Address.); return false; /CFIF /script ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Search Engines
We've started to do some work with Lucene by using the lindex tags included in the latest DRK. The search itself works pretty well, although we've had to jump through some hoops to get content out of a database, into files, and then into the index. Seems as fast or faster than Verity and doesn't have the document number limitations that the bundled engine has. Matt -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 9:35 AM To: CF-Talk Subject: Search Engines We currently use the canned verity search features that come with CF 5, but we're outgrowing it. Can anyone give me a few leads on alternative search engines other than K2? I'd like a few options to explore. BTW, we're indexing text out of a database, not pages on the site. Thanks! Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Search Engines
Ryan What db are you using? If you're using SQL server - full text search may be an option? Kola -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 14:35 To: CF-Talk Subject: Search Engines We currently use the canned verity search features that come with CF 5, but we're outgrowing it. Can anyone give me a few leads on alternative search engines other than K2? I'd like a few options to explore. BTW, we're indexing text out of a database, not pages on the site. Thanks! Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Search Engines
We're using DB2, which I believe has some full-text stuff, but I've been asked to come up with some options. Also, OS is Solaris 8 and we'd prefer to stick with that on a separate search server, unless something is really, really slick and has to run on something else. Ryan - Original Message - From: Kola Oyedeji [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:49 AM Subject: RE: Search Engines Ryan What db are you using? If you're using SQL server - full text search may be an option? Kola -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 14:35 To: CF-Talk Subject: Search Engines We currently use the canned verity search features that come with CF 5, but we're outgrowing it. Can anyone give me a few leads on alternative search engines other than K2? I'd like a few options to explore. BTW, we're indexing text out of a database, not pages on the site. Thanks! Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Syntax not correct?
Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Visual Regular Expression tool
FYI - runs great on XP Pro. Thanks! - Jim Michael Dinowitz wrote: No clue. here's the direct link: http://www.cfregex.com/visualregex/kregexpeditor.zip There's no security on the directory and nothing that can stop it from being downloaded. If it was on the HoF server then I can understand there being a problem. Since I put in some of the google stuff we've been hammered with requests. It's bogging down the machine. I'm going to have to do something about that really soon. oi Michael!! I get a windows cannot access the specified device,path or file. You may not have the appropriate permissions to access the item WTF? Ctz Tuesday, July 15, 2003, 6:26:35 PM, you wrote: MD Download it now: MD http://www.cfregex.com MD ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Syntax not correct?
Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
Does your Session.DisplayShowMe var have leading or trailing spaces? Try using: listFindNoCase(urls,SESSION.DisplayShowMe) as listFindNoCase(urls,Trim(SESSION.DisplayShowMe)) -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:03 AM To: CF-Talk Subject: Re: Syntax not correct? Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
MachII Speed (was RE: Mach II)
Last night, I got a chance to get started with Mach II at home. Very impressive, I like the way it is put together, but I was struck by a couple of things: 1) Speed. Each page took 700 ms to generate with debugging off. This was using a slow server: Apache / XP / RedSky / Celeron 733 with 512 MB RAM. However, FB3 pages doing just about the same amount of work average ~100 ms on the same server. 2) Layouts are not part of MachII yet. Or am I missing something? M -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 5:58 PM To: CF-Talk Subject: Re: Mach II What you get on http://www.mach-ii.com/ is all you get... Remember this is still beta software! On Tuesday, Jul 15, 2003, at 09:48 US/Pacific, webguy wrote: My first look at MachII; Does the data in example machII app, persist data ? Is there are readme ? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
disregard last post....
Server.ColdFusion.ProductName The name of the product, that is, ColdFusion Server Server.ColdFusion.ProductVersion The version number for the server that is running, such as 5,0,0 Server.ColdFusion.ProductLevel The server product level, such as Enterprise Server.ColdFusion.SerialNumber The serial number assigned to this server installation Server.ColdFusion.Locales The locales, such as English (US) and Spanish (Mexican), supported by the server Server.OS.Name The name of the operating system, such as Windows NT Server.OS.AdditionalInformation Additional information provided by the operating system, such as the Service Pack number Server.OS.Version The version number of the operating system, such as 4.0 Server.OS.BuildNumber The specific operating system build, such as 1381 tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
server version
good morning y'alls just wondrin'is there a server variable that will tell me the version of cf im running? I need it because I am coding a fix/workaround for a bug that I know I have, that is in cfmx. it will be gone, post redSky, but until then I have clients that need to use something, so I was going to hide/unhide a snippet based on server version make sense? tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
No, you should not use listContains if your logic is to match an entire item of a list. ListContains will match partial matches, and is rarely, very rarely (afaik) ever used 'in the wild'. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:03 AM To: CF-Talk Subject: Re: Syntax not correct? Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Syntax not correct?
Yes. It still won't work? It always returns No Match! cfset urls = mywork,documents,programs,utilities cfif ListFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif a href=#cgi.script_name#?dir=#URLEncodedFormat(dir)##URLEncodedFormat(SESSION.stDirFileName[i])#\ class=dirlinks alt=#SESSION.stDirFileName[i]##SESSION.stDirFileName[i]#/a /td On Wed, 16 Jul 2003 10:02:43 -0400, Randell B Adkins wrote: Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: server version
server.coldfusion.productVersion -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 15:05 To: CF-Talk Subject: server version good morning y'alls just wondrin'is there a server variable that will tell me the version of cf im running? I need it because I am coding a fix/workaround for a bug that I know I have, that is in cfmx. it will be gone, post redSky, but until then I have clients that need to use something, so I was going to hide/unhide a snippet based on server version make sense? tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
Are you sure session.displayShowMe is mywork? === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 7:59 AM To: CF-Talk Subject: Syntax not correct? Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
Wouldn't do that. unless you can guarantee the list ie (using the crap extra of 'gram' in the code example below)... List contains would match the 'programs' entry before the actual 'grams' entry, giving I would assume an incorrect answer My version of the code required would look something like this... (not tested tho) cfset SESSION.DisplayShowMe = mywork,utitlies cfset urls = mywork,documents,programs,utilities,gram cfloop list=#SESSION.DisplayShowMe# index=thisShowMe cfset bShow = False cfif ListFindNoCase(urls, thisShowMe) cfset bShow = True /cfif cfif bShow Match Found! cfelse No Match Found! /cfif /cfloop HTH DC -Original Message- From: Randell B Adkins Sent: 16 July 2003 15:03 To: CF-Talk Subject: Re: Syntax not correct? Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ot- visual Xpath Navigator
does anyone know of a visual xpath navigator? or if there is one in the works... tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: server version
cfdump the server structure :-) all your info is there. Mike - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:04 AM Subject: server version good morning y'alls just wondrin'is there a server variable that will tell me the version of cf im running? I need it because I am coding a fix/workaround for a bug that I know I have, that is in cfmx. it will be gone, post redSky, but until then I have clients that need to use something, so I was going to hide/unhide a snippet based on server version make sense? tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Search Engines
Hi Ryan, We used to use verity but when we started indexing over 3million files it got very slow indeed. We now use lucene to index flat files and database content. If you are a java coder you can write your own cfx interface to lucene and then anything you can access with java you can index with lucene. It seems a daunting task at first but once you get your head around how lucene works its really easy. To give you an idea of speed we index over 90,000 flat files in one index and the search takes about 140ms on a Sun E250. (dual proc 300mhz 1gb ram). The indexing is also far quicker. Adam. -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 9:35 AM To: CF-Talk Subject: Search Engines We currently use the canned verity search features that come with CF 5, but we're outgrowing it. Can anyone give me a few leads on alternative search engines other than K2? I'd like a few options to explore. BTW, we're indexing text out of a database, not pages on the site. Thanks! Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
No difference. Actually the SESSION variable would contain... D:\mywork,D:\documents,D:\programs,D:\utilities but I thought I could just search for the directory name and omit the D:\ etc. On Wed, 16 Jul 2003 10:07:04 -0400, Bryan F. Hogan wrote: Does your Session.DisplayShowMe var have leading or trailing spaces? Try using: listFindNoCase(urls,SESSION.DisplayShowMe) as listFindNoCase(urls,Trim(SESSION.DisplayShowMe)) -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:03 AM To: CF-Talk Subject: Re: Syntax not correct? Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
No difference. Actually the SESSION variable would contain... D:\mywork,D:\documents,D:\programs,D:\utilities but I thought I could just search for the directory name and omit the D:\ etc. On Wed, 16 Jul 2003 10:07:04 -0400, Bryan F. Hogan wrote: Does your Session.DisplayShowMe var have leading or trailing spaces? Try using: listFindNoCase(urls,SESSION.DisplayShowMe) as listFindNoCase(urls,Trim(SESSION.DisplayShowMe)) -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:03 AM To: CF-Talk Subject: Re: Syntax not correct? Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
Well the SESSION variable can be equal to D:\mywork,D:\documents,D:\programs,D:\utilities. Sometimes only 1 or 2 directories would be in the SESSION varaible. Does the below code check for an exact match? I don't need an exact match just strings that I list. cfset urls = mywork,documents,programs,utilities On Wed, 16 Jul 2003 09:10:31 -0500, Raymond Camden wrote: Are you sure session.displayShowMe is mywork? === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 7:59 AM To: CF-Talk Subject: Syntax not correct? Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: disregard last post....
While this works, you can consider another alternative as well. As you know, in JS, most people check for an object existence instead of checking a user_agent. You can do the same thing in CF as well. getFunctionList() returns a structure of available CF functions. You can then examine this to see if Foo, a MX or MX(Whatever is next) function exists to see if this is CF5 or MX. GetFunctionList() was introducted in CF5, so this will only work for checking CF5 to MX to NEXT. As an example: cfif listFindNoCase(structKeyList(getFunctionList(),getAuthUser) You are running MX, baby! cfelse You are running CF5, kiddo! /cfif === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:07 AM To: CF-Talk Subject: disregard last post Server.ColdFusion.ProductName The name of the product, that is, ColdFusion Server Server.ColdFusion.ProductVersion The version number for the server that is running, such as 5,0,0 Server.ColdFusion.ProductLevel The server product level, such as Enterprise Server.ColdFusion.SerialNumber The serial number assigned to this server installation Server.ColdFusion.Locales The locales, such as English (US) and Spanish (Mexican), supported by the server Server.OS.Name The name of the operating system, such as Windows NT Server.OS.AdditionalInformation Additional information provided by the operating system, such as the Service Pack number Server.OS.Version The version number of the operating system, such as 4.0 Server.OS.BuildNumber The specific operating system build, such as 1381 tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Remove/replace html
I know this comes up every week or so but I never pay attention!! I need a script to replace all instances of p with a #chr(10)##chr(13)#, all instances of br with #chr(10)# and then strip all other html formatting away giving me nice plain text... Any thoughts?? Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
And therein lies your problem. ListFindNoCase finds anything that is delimited by your delimiter. So your search would have to be d:\mywork and not just mywork. Try this: listFindNoCase(urls,'D:\'SESSION.DisplayShowMe) -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:17 AM To: CF-Talk Subject: RE: Syntax not correct? No difference. Actually the SESSION variable would contain... D:\mywork,D:\documents,D:\programs,D:\utilities but I thought I could just search for the directory name and omit the D:\ etc. On Wed, 16 Jul 2003 10:07:04 -0400, Bryan F. Hogan wrote: Does your Session.DisplayShowMe var have leading or trailing spaces? Try using: listFindNoCase(urls,SESSION.DisplayShowMe) as listFindNoCase(urls,Trim(SESSION.DisplayShowMe)) -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:03 AM To: CF-Talk Subject: Re: Syntax not correct? Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
Ah, no. Let's ignore the d:\ for a minute. Are you saying your session variable is ALSO a list? In other words, you want to see if a list is in a list? That is not as easy as a simple list check, although not impossible either. What exactly is your logic? Is it: I want to see if any values in session.foo, a list, exists in another list. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:17 AM To: CF-Talk Subject: RE: Syntax not correct? No difference. Actually the SESSION variable would contain... D:\mywork,D:\documents,D:\programs,D:\utilities but I thought I could just search for the directory name and omit the D:\ etc. On Wed, 16 Jul 2003 10:07:04 -0400, Bryan F. Hogan wrote: Does your Session.DisplayShowMe var have leading or trailing spaces? Try using: listFindNoCase(urls,SESSION.DisplayShowMe) as listFindNoCase(urls,Trim(SESSION.DisplayShowMe)) -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:03 AM To: CF-Talk Subject: Re: Syntax not correct? Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MachII Speed (was RE: Mach II)
Haggerty, Mike wrote: 1) Speed. Each page took 700 ms to generate with debugging off. This was using a slow server: Apache / XP / RedSky / Celeron 733 with 512 MB RAM. However, FB3 pages doing just about the same amount of work average ~100 ms on the same server. coz of the page context bug, mach-ii currently recreates itself on each request you have redsky, so it should work, try commenting out line 19 in framework/requesthandler.cfc cfset application.appManager = / z ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: Generating a flash file on the fly question
Hello all, I have a site I am working on that needs to generate flash files based upon a few criteria entered about the file in the admin section. The body of the file will stay the same but I will need a new ending and loader at the beginning added to the file. The way things are going to be set up is in the site administration tool the admin will have the ability to upload a flash file, assign it to one or more dates/special events (These are cards for anniversaries, birthdays, etc.), then upload the file to the remote server. Flash will then have to take the assigned data and prepend and append it to the card. What I need to know is what technology I need to accomplish this. Can I do this without having to use Flash MX to generate the files? Do I need the Data Connection Kit? I am relatively new to flash and any help or advice you can give would be great. Thanks in advance for any help. Brian __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re:RE: [Second Try] COM CFObject Question
Thanks for the response Dave. None of those solutions worked. I guess I'll try to use this in a CFX instead unless anyone has gotten MSSoap to work using CF. Thanks, Chris -- Original Message From: Dave Watts[EMAIL PROTECTED] Subject: RE: [Second Try] COM CFObject Question Date: Mon, 14 Jul 2003 19:05:54 -0400 I have a quick COM/cfobject question that I hope someone could help me with. I am trying to impliment the following function: s.ClientProperty(ServerHTTPRequest) = true; But CF (4.5) is complaining about the left hand operand being a function. Is there any other way that I can perform this assignment? These are just shots in the dark. Try any, and see if they work: cfset s.ClientProperty.ServerHTTPRequest = true cfset #s.ClientProperty(ServerHTTPRequest)# = true cfset s.ClientProperty[ServerHTTPRequest] = true Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Scheduled Tasks
oi CF-Talk,!! I've got a scheduled task that has been running fine. up till now. The only thing I can think of is I now have Norton running on the server. But I've got real time file protection turned off I can browse the url of the scheduled task from that machine but when i run it in the admin I get: The URL is a redirection URL. The URL is protected by IIS NT Challenge/Response or Apache .htaccess password. The Username and Password text fields for editing a scheduled task are intended to support Basic Authentication only. The Domain Name lookup failed. Try using the IP address of the domain whenever possible. The URL is an SSL site, but the SSL port was specified incorrectly. The Web site is not responding. The directory specified for published results does not exist. any ideas?? Crit --- [This E-mail scanned for viruses by Declude Virus] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Remove/replace html
On Wednesday 16 Jul 2003 15:21 pm, Ryan Mitchell wrote: I know this comes up every week or so but I never pay attention!! I'm sure the list archive, which it's handy 'search' button does. -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Syntax not correct?
Otherwords you virtually have two lists you want to compare. I am sure there may be a better way but this should work: CFSET THIS_SESSION_VAR = D:\mywork,D:\AnotherDir,D:\ThisOldDir cfset urls = mywork,documents,programs,utilities CFSET MATCH_LOCATED = FALSE CFLOOP INDEX=ListOne LIST=#urls# CFLOOP INDEX=ListTwo LIST=#THIS_SESSION_VAR# CFIF FindNoCase(ListOne,ListTwo) CFSET Match_Located = True CFBREAK /CFIF /CFLOOP CFIF Match_Located EQ TRUE CFBREAK /CFIF /CFLOOP CFIF MATCH_LOCATED EQ TRUE Match Found CFELSE No Matches Located. /CFIF [EMAIL PROTECTED] 07/16/03 10:17AM No difference. Actually the SESSION variable would contain... D:\mywork,D:\documents,D:\programs,D:\utilities but I thought I could just search for the directory name and omit the D:\ etc. On Wed, 16 Jul 2003 10:07:04 -0400, Bryan F. Hogan wrote: Does your Session.DisplayShowMe var have leading or trailing spaces? Try using: listFindNoCase(urls,SESSION.DisplayShowMe) as listFindNoCase(urls,Trim(SESSION.DisplayShowMe)) -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:03 AM To: CF-Talk Subject: Re: Syntax not correct? Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
dsn problems
We have an MX install here that has been having a strange problem connecting to SQL Server databases. When actually registering the datasource...it takes about ~30 seconds before it actually succeeds. The problem also shows up in apps running on the machine. There is a huge delay in page execution as it waits for queries to return. This only happens after the no other traffic has occurred between the db server and CF for a while, so we suspect it may be after a connection is dropped from the pool. We stuck a packet sniffer on the server and watch what happened when we registered a datasource. CF sent data and received an immediate response back from the database server, then sits there and chews on the data for like 30 seconds while no other traffic passes between the serversthen finally it decides everything is ok and registers the dsn. The 30 second time is so consistent, it feels like a manual timeout of some sort... Has anyone seen this, or know of a solution? -- jon mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Scheduled Tasks
On Wednesday 16 Jul 2003 15:30 pm, Critz wrote: any ideas?? Did you read the error message ? The bit about URL is protected by IIS NT Challenge/Response or Apache .htaccess and Username and Password text fields for editing a scheduled task are intended to support Basic Authentication only ? Assuming you've double checked your password/username, and that you can get to the URL via wget or some other simple tool ? -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: disregard last post....
yeah, that's cool, but I really don't want to know if its cfmx, more of what version of cfmx, cause my bug is fixed, in redSky cfmx...make sense? tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:19 AM To: CF-Talk Subject: RE: disregard last post While this works, you can consider another alternative as well. As you know, in JS, most people check for an object existence instead of checking a user_agent. You can do the same thing in CF as well. getFunctionList() returns a structure of available CF functions. You can then examine this to see if Foo, a MX or MX(Whatever is next) function exists to see if this is CF5 or MX. GetFunctionList() was introducted in CF5, so this will only work for checking CF5 to MX to NEXT. As an example: cfif listFindNoCase(structKeyList(getFunctionList(),getAuthUser) You are running MX, baby! cfelse You are running CF5, kiddo! /cfif === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:07 AM To: CF-Talk Subject: disregard last post Server.ColdFusion.ProductName The name of the product, that is, ColdFusion Server Server.ColdFusion.ProductVersion The version number for the server that is running, such as 5,0,0 Server.ColdFusion.ProductLevel The server product level, such as Enterprise Server.ColdFusion.SerialNumber The serial number assigned to this server installation Server.ColdFusion.Locales The locales, such as English (US) and Spanish (Mexican), supported by the server Server.OS.Name The name of the operating system, such as Windows NT Server.OS.AdditionalInformation Additional information provided by the operating system, such as the Service Pack number Server.OS.Version The version number of the operating system, such as 4.0 Server.OS.BuildNumber The specific operating system build, such as 1381 tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Generating a flash file on the fly question
On Wednesday 16 Jul 2003 15:26 pm, Brian Ferrigno wrote: Can I do this without having to use Flash MX to generate the files? Yes. Use Perl. -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Syntax not correct?
If thats the case, download the ListCompare UDF from cflib.org.. it works nicely! - Original Message - From: Randell B Adkins [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:30 AM Subject: RE: Syntax not correct? Otherwords you virtually have two lists you want to compare. I am sure there may be a better way but this should work: CFSET THIS_SESSION_VAR = D:\mywork,D:\AnotherDir,D:\ThisOldDir cfset urls = mywork,documents,programs,utilities CFSET MATCH_LOCATED = FALSE CFLOOP INDEX=ListOne LIST=#urls# CFLOOP INDEX=ListTwo LIST=#THIS_SESSION_VAR# CFIF FindNoCase(ListOne,ListTwo) CFSET Match_Located = True CFBREAK /CFIF /CFLOOP CFIF Match_Located EQ TRUE CFBREAK /CFIF /CFLOOP CFIF MATCH_LOCATED EQ TRUE Match Found CFELSE No Matches Located. /CFIF [EMAIL PROTECTED] 07/16/03 10:17AM No difference. Actually the SESSION variable would contain... D:\mywork,D:\documents,D:\programs,D:\utilities but I thought I could just search for the directory name and omit the D:\ etc. On Wed, 16 Jul 2003 10:07:04 -0400, Bryan F. Hogan wrote: Does your Session.DisplayShowMe var have leading or trailing spaces? Try using: listFindNoCase(urls,SESSION.DisplayShowMe) as listFindNoCase(urls,Trim(SESSION.DisplayShowMe)) -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:03 AM To: CF-Talk Subject: Re: Syntax not correct? Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Search Engines
Hey, Adam, Thanks for the response! Are you exporting your database content to a flat file and then indexing it or is Lucene able to index right out of the db? Many Thanks, Ryan - Original Message - From: Adam Hope [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 9:01 AM Subject: RE: Search Engines Hi Ryan, We used to use verity but when we started indexing over 3million files it got very slow indeed. We now use lucene to index flat files and database content. If you are a java coder you can write your own cfx interface to lucene and then anything you can access with java you can index with lucene. It seems a daunting task at first but once you get your head around how lucene works its really easy. To give you an idea of speed we index over 90,000 flat files in one index and the search takes about 140ms on a Sun E250. (dual proc 300mhz 1gb ram). The indexing is also far quicker. Adam. -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 9:35 AM To: CF-Talk Subject: Search Engines We currently use the canned verity search features that come with CF 5, but we're outgrowing it. Can anyone give me a few leads on alternative search engines other than K2? I'd like a few options to explore. BTW, we're indexing text out of a database, not pages on the site. Thanks! Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Scheduled Tasks
oi Thomas!! yeah, i read the error.there are no restrictions on anything... like i said i can browse the file fine i'll see if wget can Wednesday, July 16, 2003, 10:36:31 AM, you wrote: TC On Wednesday 16 Jul 2003 15:30 pm, Critz wrote: any ideas?? TC Did you read the error message ? TC The bit about URL is protected by IIS NT Challenge/Response or Apache TC .htaccess and Username and Password text fields for editing a scheduled TC task are intended to support Basic Authentication only ? TC Assuming you've double checked your password/username, and that you can get to TC the URL via wget or some other simple tool ? --- [This E-mail scanned for viruses by Declude Virus] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Generating a flash file on the fly question
I would suggest that you do something like this. You have a shell flash movie, that does nothing but load the content at run time. When the movie runs, you tell it which SWFs it should load. it then loads: intro, main movie, ending and runs them. That should be the easiest and most flexible. hope that helps... mike chambers [EMAIL PROTECTED] - Original Message - From: Brian Ferrigno [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:26 AM Subject: OT: Generating a flash file on the fly question Hello all, I have a site I am working on that needs to generate flash files based upon a few criteria entered about the file in the admin section. The body of the file will stay the same but I will need a new ending and loader at the beginning added to the file. The way things are going to be set up is in the site administration tool the admin will have the ability to upload a flash file, assign it to one or more dates/special events (These are cards for anniversaries, birthdays, etc.), then upload the file to the remote server. Flash will then have to take the assigned data and prepend and append it to the card. What I need to know is what technology I need to accomplish this. Can I do this without having to use Flash MX to generate the files? Do I need the Data Connection Kit? I am relatively new to flash and any help or advice you can give would be great. Thanks in advance for any help. Brian __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Generating a flash file on the fly question
Thank you Thomas, Can it also be done with older versions of flash? or do you need MX to generate flash on the fly? Brian --- Thomas Chiverton [EMAIL PROTECTED] wrote: On Wednesday 16 Jul 2003 15:26 pm, Brian Ferrigno wrote: Can I do this without having to use Flash MX to generate the files? Yes. Use Perl. -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Generating a flash file on the fly question
Or you can use PHP/MING and do this.. - Original Message - From: Thomas Chiverton [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 9:37 AM Subject: Re: OT: Generating a flash file on the fly question On Wednesday 16 Jul 2003 15:26 pm, Brian Ferrigno wrote: Can I do this without having to use Flash MX to generate the files? Yes. Use Perl. -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF, Dates, and WDDX
Maybe I'm overlooking something obvious, but CF's internal date handling seems a bit odd to me. Anyone else noticed anything along these lines? Basically, while playing around with manually constructed WDDX packets, I noticed that the UTC offset returned by GetTimeZoneInfo() reflects the Daylight Savings status of the server, but the WDDX serialization process doesn't. I went into this in more detail in my blog: http://journurl.com/mxblogspace/users/admin/?mode=articleentry=388 Don't get me wrong... it works once you understand it. But man, I spent some serious head-scratching time while trying to sort out what CFMX was doing. And since the same thing seems to happen in CF5, I can't even blame it on MX. -- Roger Benningfield http://admin.support.journurl.com/ JournURL: MXBlogspace free blog hosting for CF/Flash developers http://journurl.com/mxblogspace/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Syntax not correct?
It worked for me CFSET THIS_SESSION_VAR = mywork cfset urls = mywork,documents,programs,utilities cfif ListFindNoCase(urls,THIS_SESSION_VAR) Match Found! cfelse No Match! /cfif [EMAIL PROTECTED] 07/16/03 10:08AM Yes. It still won't work? It always returns No Match! cfset urls = mywork,documents,programs,utilities cfif ListFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif a href=#cgi.script_name#?dir=#URLEncodedFormat(dir)##URLEncodedFormat(SESSION.stDirFileName[i])#\ class=dirlinks alt=#SESSION.stDirFileName[i]##SESSION.stDirFileName[i]#/a /td On Wed, 16 Jul 2003 10:02:43 -0400, Randell B Adkins wrote: Did you try ListContains [EMAIL PROTECTED] 07/16/03 09:58AM Hi, Whats wrong with the syntax below. It doesn't seem to work. The below SESSIOn varaible is equal to 'mywork' I want to check the SESSION variable for 'mywork' and if it exists do this...other do else. The SESSION could contains multiple checks. For example the cfset could contain: cfset urls = mywork,documents,programs,utilities...etc. #SESSION.DisplayShowMe#br cfset urls = mywork cfif listFindNoCase(urls,SESSION.DisplayShowMe) Match Found! cfelse No Match! /cfif ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Homesite 5.2 imagemap editor
Anyone know if the 5.2 Homesite+ update broke the Imagemap editor? None of the machines that have Homesite+ 5.2 will display the images in the editor. This did work previously to the update according to one of the guys here. -- jon mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
db records with cftags in them do not render -help
I have a database table that holds the body contents of a page. (simple contentment management system) I just tried to put a cfinclude in a db record and found that CFMX does not evaluate the code. CFMX will just send the cfinclude tag to the browser, as unrendered source code, just like any other normal html tag. Is there a way I can make CFMX render CFtags that are stored in a db record? Seems like there should be an EZ way to do this. Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Generating a flash file on the fly question
Um... You probably don't need anything besides just Flash MX. You probably do not need to generate Flash files on the fly, either. Actionscript, the scripting language in Flash MX, allows you to do things like dynamic including other content, loading external variables, and, of course, remoting. You probably want to create a shell movie that loads components based on the characteristics of the user. M -Original Message- From: Brian Ferrigno [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:26 AM To: CF-Talk Subject: OT: Generating a flash file on the fly question Hello all, I have a site I am working on that needs to generate flash files based upon a few criteria entered about the file in the admin section. The body of the file will stay the same but I will need a new ending and loader at the beginning added to the file. The way things are going to be set up is in the site administration tool the admin will have the ability to upload a flash file, assign it to one or more dates/special events (These are cards for anniversaries, birthdays, etc.), then upload the file to the remote server. Flash will then have to take the assigned data and prepend and append it to the card. What I need to know is what technology I need to accomplish this. Can I do this without having to use Flash MX to generate the files? Do I need the Data Connection Kit? I am relatively new to flash and any help or advice you can give would be great. Thanks in advance for any help. Brian __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Generating a flash file on the fly question
On Wednesday 16 Jul 2003 15:44 pm, Brian Ferrigno wrote: Thank you Thomas, Can it also be done with older versions of flash? or do you need MX to generate flash on the fly? You don't need MX anything to generate dynamic Flash. http://www.the-labs.com/PerlFlash/ for instance, will let you do it from Perl. http://ming.sourceforge.net/ should work for PHP, Ruby and Python. -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Scheduled Tasks
Did you check the error log and the executive log to see if any additional info is available there? M -Original Message- From: Critz [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:30 AM To: CF-Talk Subject: Scheduled Tasks oi CF-Talk,!! I've got a scheduled task that has been running fine. up till now. The only thing I can think of is I now have Norton running on the server. But I've got real time file protection turned off I can browse the url of the scheduled task from that machine but when i run it in the admin I get: The URL is a redirection URL. The URL is protected by IIS NT Challenge/Response or Apache .htaccess password. The Username and Password text fields for editing a scheduled task are intended to support Basic Authentication only. The Domain Name lookup failed. Try using the IP address of the domain whenever possible. The URL is an SSL site, but the SSL port was specified incorrectly. The Web site is not responding. The directory specified for published results does not exist. any ideas?? Crit --- [This E-mail scanned for viruses by Declude Virus] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Generating a flash file on the fly question
On Wednesday 16 Jul 2003 15:43 pm, Clint wrote: Or you can use PHP/MING and do this.. Can I do this without having to use Flash MX to generate the files? Yes. Use Perl. :nods I also can't shake the feeling I shouldn't have mentioned non-Macromedia products that produce flash here... :-) The new version of OpenOffice (1.1) has an export as SWF option, I notice, although I haven't had a chance to play with it yet. -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF, Dates, and WDDX
its cf for sure. it's a bug, that's for sure. basically, if you werent in DST right now, all would work fine, there would be no 1 hour difference. www.navtrak.net/cfmxBug.cfm clearly illustrates this known-and-soon-to-be-fixed-in-the-next-release bug :) I found it going from now() to seconds since 1/1/1970 (epoch time) and then on the way back to a normal date, I was always getting a problem when using dateAdd() cfmx doesn't handle it right, and gives me a time back that is off by 1 hour. check out that link above, and you will see what I mean. anyway, my sources tell me that the bug is/will be fixed very soon I see red skys all the way to heaven ;) tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Roger B. [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:37 AM To: CF-Talk Subject: CF, Dates, and WDDX Maybe I'm overlooking something obvious, but CF's internal date handling seems a bit odd to me. Anyone else noticed anything along these lines? Basically, while playing around with manually constructed WDDX packets, I noticed that the UTC offset returned by GetTimeZoneInfo() reflects the Daylight Savings status of the server, but the WDDX serialization process doesn't. I went into this in more detail in my blog: http://journurl.com/mxblogspace/users/admin/?mode=articleentry=388 Don't get me wrong... it works once you understand it. But man, I spent some serious head-scratching time while trying to sort out what CFMX was doing. And since the same thing seems to happen in CF5, I can't even blame it on MX. -- Roger Benningfield http://admin.support.journurl.com/ JournURL: MXBlogspace free blog hosting for CF/Flash developers http://journurl.com/mxblogspace/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Search Engines
Hi Ryan, We are accessing the database via jdbc, quering for the columns we need and then indexing the returned data. Adam. -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 15:42 To: CF-Talk Subject: Re: Search Engines Hey, Adam, Thanks for the response! Are you exporting your database content to a flat file and then indexing it or is Lucene able to index right out of the db? Many Thanks, Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: disregard last post....
Ah, well, if RedSky adds a new function, and I'm not saying it does, you could simply check for that. :) === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:36 AM To: CF-Talk Subject: RE: disregard last post yeah, that's cool, but I really don't want to know if its cfmx, more of what version of cfmx, cause my bug is fixed, in redSky cfmx...make sense? tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:19 AM To: CF-Talk Subject: RE: disregard last post While this works, you can consider another alternative as well. As you know, in JS, most people check for an object existence instead of checking a user_agent. You can do the same thing in CF as well. getFunctionList() returns a structure of available CF functions. You can then examine this to see if Foo, a MX or MX(Whatever is next) function exists to see if this is CF5 or MX. GetFunctionList() was introducted in CF5, so this will only work for checking CF5 to MX to NEXT. As an example: cfif listFindNoCase(structKeyList(getFunctionList(),getAuthUser) You are running MX, baby! cfelse You are running CF5, kiddo! /cfif == == === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:07 AM To: CF-Talk Subject: disregard last post Server.ColdFusion.ProductName The name of the product, that is, ColdFusion Server Server.ColdFusion.ProductVersion The version number for the server that is running, such as 5,0,0 Server.ColdFusion.ProductLevel The server product level, such as Enterprise Server.ColdFusion.SerialNumber The serial number assigned to this server installation Server.ColdFusion.Locales The locales, such as English (US) and Spanish (Mexican), supported by the server Server.OS.Name The name of the operating system, such as Windows NT Server.OS.AdditionalInformation Additional information provided by the operating system, such as the Service Pack number Server.OS.Version The version number of the operating system, such as 4.0 Server.OS.BuildNumber The specific operating system build, such as 1381 tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Scheduled Tasks
oi Mike!! yeah it just said status code unavailable or something like that. oh well i'll muck with it later. Crit Wednesday, July 16, 2003, 10:54:33 AM, you wrote: HM Did you check the error log and the executive log to see if any additional HM info is available there? HM M HM -Original Message- HM From: Critz [mailto:[EMAIL PROTECTED] HM Sent: Wednesday, July 16, 2003 10:30 AM HM To: CF-Talk HM Subject: Scheduled Tasks HM oi CF-Talk,!! HM I've got a scheduled task that has been running fine. up till now. HM The only thing I can think HM of is I now have Norton running on the server. But I've got real HM time file protection turned HM off HM I can browse the url of the scheduled task from that machine but when HM i run it in the admin I HM get: HM The URL is a redirection URL. HM The URL is protected by IIS NT Challenge/Response or Apache .htaccess HM password. The Username and Password text fields for editing a scheduled task HM are intended to support Basic Authentication only. HM The Domain Name lookup failed. Try using the IP address of the domain HM whenever possible. HM The URL is an SSL site, but the SSL port was specified incorrectly. HM The Web site is not responding. HM The directory specified for published results does not exist. HM any ideas?? HM Crit HM --- HM [This E-mail scanned for viruses by Declude Virus] HM ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: disregard last post....
yeah, truethis is crap tho' I have to code around a bug, that I know is getting fixed in redSky, but with no firm date on that, I have to code around ARG!!! tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 11:00 AM To: CF-Talk Subject: RE: disregard last post Ah, well, if RedSky adds a new function, and I'm not saying it does, you could simply check for that. :) === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:36 AM To: CF-Talk Subject: RE: disregard last post yeah, that's cool, but I really don't want to know if its cfmx, more of what version of cfmx, cause my bug is fixed, in redSky cfmx...make sense? tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:19 AM To: CF-Talk Subject: RE: disregard last post While this works, you can consider another alternative as well. As you know, in JS, most people check for an object existence instead of checking a user_agent. You can do the same thing in CF as well. getFunctionList() returns a structure of available CF functions. You can then examine this to see if Foo, a MX or MX(Whatever is next) function exists to see if this is CF5 or MX. GetFunctionList() was introducted in CF5, so this will only work for checking CF5 to MX to NEXT. As an example: cfif listFindNoCase(structKeyList(getFunctionList(),getAuthUser) You are running MX, baby! cfelse You are running CF5, kiddo! /cfif == == === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:07 AM To: CF-Talk Subject: disregard last post Server.ColdFusion.ProductName The name of the product, that is, ColdFusion Server Server.ColdFusion.ProductVersion The version number for the server that is running, such as 5,0,0 Server.ColdFusion.ProductLevel The server product level, such as Enterprise Server.ColdFusion.SerialNumber The serial number assigned to this server installation Server.ColdFusion.Locales The locales, such as English (US) and Spanish (Mexican), supported by the server Server.OS.Name The name of the operating system, such as Windows NT Server.OS.AdditionalInformation Additional information provided by the operating system, such as the Service Pack number Server.OS.Version The version number of the operating system, such as 4.0 Server.OS.BuildNumber The specific operating system build, such as 1381 tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
db2 8.1 datasource
Hi everyone, Is there anyone who succeded to define a datasource of DB2 enterprise version 8.1 on CFMX administrator? And if so, please help. How is it done? Thanks in advance. A.Selam ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: db records with cftags in them do not render -help
Mark W. Breneman wrote: I have a database table that holds the body contents of a page. (simple contentment management system) I just tried to put a cfinclude in a db record and found that CFMX does not evaluate the code. CFMX will just send the cfinclude tag to the browser, as unrendered source code, just like any other normal html tag. Is there a way I can make CFMX render CFtags that are stored in a db record? Write them to a file and cfinclude the file. Seems like there should be an EZ way to do this. http://www.macromedia.com/support/email/wishform/?6213=3 Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Generating a flash file on the fly question
On Wednesday, July 16, 2003, at 10:26 AM, Brian Ferrigno wrote: What I need to know is what technology I need to accomplish this. Can I do this without having to use Flash MX to generate the files? For pretty sophisticated dynamic Flash generation, have a look at JGenerator: http://www.jzox.com You will need Flash MX to create templates, but that means you get a lot more control over the look of the movies. This is very cool technology. Christian ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: disregard last post....
On Wednesday, July 16, 2003, at 11:06 AM, Tony Weeg wrote: yeah, truethis is crap tho' I have to code around a bug, that I know is getting fixed in redSky, but with no firm date on that, I have to code around ARG!!! No firm date? You don't call this summer a firm date? :) Sorry we can't be more specific. But as the summer wears one, the timeframe narrows! Christian ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: disregard last post....
oh its all good ;) I know all about feature creep... I live with a few feature creeps that live on my laptop keyboard ... they always seem to pop their head up around completion time!!! bring on the redSky, sounds like a great drink name doesn't it? tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Christian Cantrell [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 11:28 AM To: CF-Talk Subject: Re: disregard last post On Wednesday, July 16, 2003, at 11:06 AM, Tony Weeg wrote: yeah, truethis is crap tho' I have to code around a bug, that I know is getting fixed in redSky, but with no firm date on that, I have to code around ARG!!! No firm date? You don't call this summer a firm date? :) Sorry we can't be more specific. But as the summer wears one, the timeframe narrows! Christian ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ot- visual Xpath Navigator
Tony Weeg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] does anyone know of a visual xpath navigator? or if there is one in the works... I am not sure what you are looking for, but I've fund this tool very handy for visually testing XPath expressions: http://www.topxml.com/xpathvisualizer/ Hope it may help -- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ot- visual Xpath Navigator
Tony Weeg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] does anyone know of a visual xpath navigator? or if there is one in the works... I am not sure what you are looking for, but I've fund this tool very handy for visually testing XPath expressions: http://www.topxml.com/xpathvisualizer/ Hope it may help -- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: ot- visual Xpath Navigator
thanks. I have developer here who is working with that xml stuff, and was wondering if my community as he calls it ... had any ideas ... thanks massimo! tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Massimo Foti (on holiday) [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:46 AM To: CF-Talk Subject: Re: ot- visual Xpath Navigator Tony Weeg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] does anyone know of a visual xpath navigator? or if there is one in the works... I am not sure what you are looking for, but I've fund this tool very handy for visually testing XPath expressions: http://www.topxml.com/xpathvisualizer/ Hope it may help -- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re:RE: [Second Try] COM CFObject Question
Thanks for the response Dave. None of those solutions worked. I guess I'll try to use this in a CFX instead unless anyone has gotten MSSoap to work using CF. Thanks, Chris -- Original Message From: Dave Watts[EMAIL PROTECTED] Subject: RE: [Second Try] COM CFObject Question Date: Mon, 14 Jul 2003 19:05:54 -0400 I have a quick COM/cfobject question that I hope someone could help me with. I am trying to impliment the following function: s.ClientProperty(ServerHTTPRequest) = true; But CF (4.5) is complaining about the left hand operand being a function. Is there any other way that I can perform this assignment? These are just shots in the dark. Try any, and see if they work: cfset s.ClientProperty.ServerHTTPRequest = true cfset #s.ClientProperty(ServerHTTPRequest)# = true cfset s.ClientProperty[ServerHTTPRequest] = true Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ot- visual Xpath Navigator
xmlspy does this as well. Probably my favorite feature. -- jon mailto:[EMAIL PROTECTED] Wednesday, July 16, 2003, 11:44:06 AM, you wrote: TW thanks. TW I have developer here who is working with that xml stuff, and was TW wondering if my community as he calls it ... had any ideas ... thanks TW massimo! TW tony weeg TW uncertified advanced cold fusion developer TW tony at navtrak dot net TW www.navtrak.net TW office 410.548.2337 TW fax 410.860.2337 TW -Original Message- TW From: Massimo Foti (on holiday) [mailto:[EMAIL PROTECTED] TW Sent: Wednesday, July 16, 2003 10:46 AM TW To: CF-Talk TW Subject: Re: ot- visual Xpath Navigator TW Tony Weeg [EMAIL PROTECTED] wrote in message TW news:[EMAIL PROTECTED] does anyone know of a visual xpath navigator? or if there is one in the works... TW I am not sure what you are looking for, but I've fund this tool very TW handy for visually testing XPath expressions: TW http://www.topxml.com/xpathvisualizer/ TW Hope it may help TW -- TW TW Massimo Foti TW Certified Dreamweaver MX Developer TW Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ TW TW ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Generating a flash file on the fly question
Thanks for the tip Mike. I think writing some actionscript code in the flash file is the way to go. Even though I don't have control over the body of the flash (another company is doing that) I can control the loader and the ending. A few more questions: 1. Do you have any recommendations for actionscript resources on the web? 2. A good book that's very thorough? 3. A mailiing list that's dedicated to Flash? Sorry for all the newbie Flash questions but we all have to start somewhere. Thanks again for your help. Brian --- Haggerty, Mike [EMAIL PROTECTED] wrote: Um... You probably don't need anything besides just Flash MX. You probably do not need to generate Flash files on the fly, either. Actionscript, the scripting language in Flash MX, allows you to do things like dynamic including other content, loading external variables, and, of course, remoting. You probably want to create a shell movie that loads components based on the characteristics of the user. M -Original Message- From: Brian Ferrigno [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:26 AM To: CF-Talk Subject: OT: Generating a flash file on the fly question Hello all, I have a site I am working on that needs to generate flash files based upon a few criteria entered about the file in the admin section. The body of the file will stay the same but I will need a new ending and loader at the beginning added to the file. The way things are going to be set up is in the site administration tool the admin will have the ability to upload a flash file, assign it to one or more dates/special events (These are cards for anniversaries, birthdays, etc.), then upload the file to the remote server. Flash will then have to take the assigned data and prepend and append it to the card. What I need to know is what technology I need to accomplish this. Can I do this without having to use Flash MX to generate the files? Do I need the Data Connection Kit? I am relatively new to flash and any help or advice you can give would be great. Thanks in advance for any help. Brian __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Multi-language Content Management
Matt Walker told me once that in developing their CMS they found that most of their clients (largely tourism industry) frequently don't want the same content in different languages because they're trying to emphasise different things to each set of potential visitors... Which may have a lot to do with that particular industry -- I always thought something like product information was a good example of why you would want the ability to translate and associate the same pages in each language, even if you didn't take advantage of it for every page. ok i'll give you different content *details* but the major content especially structure should be the same. i think not doing that compounds management issues as well, you'll have many different originals for that chunk of content (the translations emphasizing different details have to start somewhere). ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: db records with cftags in them do not render -help
There has got to be a better way of doing this. Isn't there? Jochem - Maybe I don't understand what you are saying. The problem I am having is that I can not run a cfinclude that is in a database record. Are you suggesting that I write 1000s of database records to files? Seems to kinda defeat the reason we made it a contentment management system in the first place. Or am I not understanding you correctly. :-) I think this is the equivalent of what I am trying to do: I have a var that holds text and 1 cf include. cfset foo='Here is the current results:cfinclude template=test.cfm' cfoutput#foo#/cfoutput Mark W. Breneman Mark W. Breneman wrote: I have a database table that holds the body contents of a page. (simple contentment management system) I just tried to put a cfinclude in a db record and found that CFMX does not evaluate the code. CFMX will just send the cfinclude tag to the browser, as unrendered source code, just like any other normal html tag. Is there a way I can make CFMX render CFtags that are stored in a db record? Write them to a file and cfinclude the file. Seems like there should be an EZ way to do this. http://www.macromedia.com/support/email/wishform/?6213=3 Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: db records with cftags in them do not render -help
On Wednesday 16 Jul 2003 17:05 pm, Mark W. Breneman wrote: cfset foo='Here is the current results:cfinclude template=test.cfm' Well, that won't work What's wrong with: cfset foo='Here is the current results:' cfset bar='test.cfm' cfoutput#foo#/cfoutput cfinclude template=#bar# -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: db records with cftags in them do not render -help
Hi Mark, No, CF doesn't have an equivalent of anything like javascript eval() which will allow you to execute statements embedded in a string. The closest CF comes (as of yet anyway) is evaluate() which will only return an expression (variable, or variable and function calls), but won't execute statements. So that being said, the only way to execute cf code stored in a database is to write the code to a cf template and then include that template with cfinclude or possibly cfmodule. If you've got a unique identifier on the table, it should be relatively easy to write the file (with the file name based on the unique identifier column for the table) whenever the content is updated in the database. hth Isaac Original Message --- I have a database table that holds the body contents of a page. (simple contentment management system) I just tried to put a cfinclude in a db record and found that CFMX does not evaluate the code. CFMX will just send the cfinclude tag to the browser, as unrendered source code, just like any other normal html tag. Is there a way I can make CFMX render CFtags that are stored in a db record? Seems like there should be an EZ way to do this. Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Strangeness in DWMX with circuits.xml.cfm files
Massimo, Here is the test case. I had a couple of other co-workers try it-- one with DWMX Fusedocs installed, and one without, and they weren't able to repeat the problem unfortunately. 1.) Create a new file.. I /think/ you should be able to name it anything, but I happen to be using a FB4 file named circuits.xml.cfm. I've saved this file on its own, as well as into VSS, and the same problem happens each time. 2.) Copy and paste the below content into it: circuit access=internal /circuit 3.) Save the file 4.) Close the file 5.) Reopen in DWMX or anything else (preferred) and see if the file now looks like this: access=internal / One other thing I have noticed-- it seems to save fusebox.xml.cfm files correctly which have a structure like this (related to the word circuits): ?xml version=1.0 encoding=UTF-8? fusebox circuits circuit / /circuits /fusebox Hopefully that's of some help. Thanks, - Brandon --- http://booms.net ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: db records with cftags in them do not render -help
Mark W. Breneman wrote: There has got to be a better way of doing this. Isn't there? No. Jochem - Maybe I don't understand what you are saying. The problem I am having is that I can not run a cfinclude that is in a database record. Are you suggesting that I write 1000s of database records to files? That appears to be your only option now. Seems to kinda defeat the reason we made it a contentment management system in the first place. Or am I not understanding you correctly. :-) You are understanding me correctly. I think this is the equivalent of what I am trying to do: I have a var that holds text and 1 cf include. cfset foo='Here is the current results:cfinclude template=test.cfm' cfoutput#foo#/cfoutput That should be (pseudocode): cfset foo='Here is the current result:cfinclude template=test.cfm' cffile action=write file=foo.cfm output=#foo# cfinclude template=foo.cfm cffile action=delete file=foo.cfm I do have some doubt about the performance of that. It requires a lot of time for both I/O and CFML compilation for each request. You might be better of rethinking the mechanism. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4