Re: CF 7.02 won't install ond Windows Server Enterprise 2003, Ser vice Pack
Is this a brand new Windows install? Have you enabled cfm etc to be executed? Is it set to be a Web Server? This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Tom Hines To: CF-Talk Sent: Tue Dec 19 05:18:03 2006 Subject: CF 7.02 won't install ond Windows Server Enterprise 2003, Service Pack CF 7.02 won't install on Windows Server Enterprise 2003, Service Pack 1, IIS 6.0. When I run the Administrator the message indicates that MX has been installed but when I open the page with the web browser the message is Service Unavailable. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264415 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Why datediff
As an aside, I wouldn't use number as a variable name. Just instinct, but it seems likely that there might be conflicts along the line with reserved words etc.. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: 19 December 2006 01:09 To: CF-Talk Subject: Re: Why datediff CreateODBCDateTime(dateformat(12/12/2006 1:36:51 PM, MM/DD/)) should be a valid date/time object. No more: CreateODBCDateTime expects a date/time object, not a formated string. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264416 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: splitting large csv file into smaller parts
Thanks Ben...I'm looking at this code today and will let you know if I run up against anything. They are my second set of twins. The older two are 4!! Christmas is going to be fun this year! will -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 13:31 To: CF-Talk Subject: RE: splitting large csv file into smaller parts Will, Glad to help. Good luck with the kids. My brother just had his second girl in October; not twins, but a handful non-the-less. Anyway, let me know if you have any questions regarding the code I wrote. ... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Saturday, December 16, 2006 7:02 AM To: CF-Talk Subject: RE: splitting large csv file into smaller parts That's great Ben, just what I needed. Funnily enough, I'd made a start on this last night in between baby feeds (I have 3 month old twins) but that looks great. Cheers, and have a great weekend! Will -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: 16 December 2006 00:22 To: CF-Talk Subject: RE: splitting large csv file into smaller parts Will, I had some time to throw something together. This should take care of the out of memory issues as it doesn't read in the whole file at once: http://www.bennadel.com/blog/436-Breaking-Enormous-CSV-Files-Into-Smalle r-CSV-Files.htm (OR http://bennadel.com/index.cfm?dax=blog:436.view) This splits the CSV file into many smaller files. Then, you would run your originally parser on the smaller files, perhaps one per page request. This should not kill your memory at all. Just remember to delete the smaller CSV files once you are done with them (or they might corrupt the next night's CSV data). Have a great weekend. . Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 4:23 PM To: CF-Talk Subject: RE: splitting large csv file into smaller parts Well, my test has just run into problems and thrown a java.lang.OutOfMemoryError error. I'm thinking though maybe I can use the LineNumberReader code to split the csv file into smaller parts. Maybe take 5,000 rows at a time and write them out to a new csv file. Then I can just run the processing code that I already have on each smaller file. Does that logic seem sound to you? Cheers Will ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264417 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Web services
Hi James, Yes, I am trying with .cfc?wsdl also when I try to use it as a simple component I don't get any error I can use the component without any problems in any of the other cfml pages. Cheers, Rukmaj On 12/19/06, James Holmes [EMAIL PROTECTED] wrote: add ?wsdl to the URL you are viewing On 12/19/06, Rukmaj Chandavar [EMAIL PROTECTED] wrote: Hi All, I am quite new to CF webservices, I am trying an example and when I try to create a WSDL file I don't get any XML file displayed. I only get the contents of the CFC file instead. Could someone help me in this regard. Thanks for your help in advance. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264418 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Web services
Is access set to remote in the cffunction? You need to if you want to expose it as a webservice. Cheers will -Original Message- From: Rukmaj Chandavar [mailto:[EMAIL PROTECTED] Sent: 19 December 2006 09:53 To: CF-Talk Subject: Re: Web services Hi James, Yes, I am trying with .cfc?wsdl also when I try to use it as a simple component I don't get any error I can use the component without any problems in any of the other cfml pages. Cheers, Rukmaj On 12/19/06, James Holmes [EMAIL PROTECTED] wrote: add ?wsdl to the URL you are viewing On 12/19/06, Rukmaj Chandavar [EMAIL PROTECTED] wrote: Hi All, I am quite new to CF webservices, I am trying an example and when I try to create a WSDL file I don't get any XML file displayed. I only get the contents of the CFC file instead. Could someone help me in this regard. Thanks for your help in advance. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264419 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: old topic: CF Excel
I tried that. I even copied and pasted it directly. Either I am not calling the file correctly or something As it only displays the numbers in a few rows in the browser not an excel file. However, mine did not have The INLINE attribute. When adding that parameter I get the following error: XML ERROR in Unknown REASON: Illegal Tag FILE: C:\Documents and Settings\Randy Adkins\Local Settings\Temporary Internet Files\Content.MSO\89E9792B.xls VALUE: Here is what you get... -Original Message- From: todd sharp [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 9:01 PM To: CF-Talk Subject: Re: old topic: CF Excel Will this work for you? http://cfsilence.com/blog/client/index.cfm/2006/7/19/Creating-Multiple-Tabs- in-Excel-with-Coldfusion I searched all over to find a way in a shared hosting environment (unable to install CFX tags), to export data into an excel spreadsheet with multiple worksheets all in one file. I tried various items and none seem to work. Anyone have a working function for this?? Thanks!! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264420 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: old topic: CF Excel
Yes, CreateObject is a tag I can use. -Original Message- From: Denny Valliant [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 11:05 PM To: CF-Talk Subject: Re: old topic: CF Excel Can you use createObject? On 12/18/06, Coldfusion [EMAIL PROTECTED] wrote: I searched all over to find a way in a shared hosting environment (unable to install CFX tags), to export data into an excel spreadsheet with multiple worksheets all in one file. I tried various items and none seem to work. Anyone have a working function for this?? Thanks!! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264421 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Server Error (Either the Macromedia application ...)
Hi, We have a client using cfmx 7 on one server (red hat 8.0),cfmx 7 on a second server (windows 2003) and db2 on another (red hat 8). Now we want to add another cf server (windows 2003) as a third application server to use. But when we install cf it gives an error saying Server Error Either the Macromedia application server is unreachable or it does not have a mapping to process this request. We couldn't find why we get this error. I know there could be a lot of reasons. But it's interesting because services look started but we can't get a single cfm page. Restarts of services, OS; reinstalls of cf and windows 2003 did not work. And then I tried a different CF key. At first it worked but after a while again it started to give same error. On their network they have transparent proxy I dont know if it could be the reason. Any help will be appreciated. A.Selam Karatas ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264422 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: splitting large csv file into smaller parts
Will, Good luck! I have twin sisters (twins with each other, not me) and two older brothers. When they are young I am sure it is a lot of hard work, but as they get older, holidays can be a blast with a large family. Our thanksgivings average about 30+ people, most of which is immediate and extended family. Happy holidays! -b .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 4:45 AM To: CF-Talk Subject: RE: splitting large csv file into smaller parts Thanks Ben...I'm looking at this code today and will let you know if I run up against anything. They are my second set of twins. The older two are 4!! Christmas is going to be fun this year! will -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 13:31 To: CF-Talk Subject: RE: splitting large csv file into smaller parts Will, Glad to help. Good luck with the kids. My brother just had his second girl in October; not twins, but a handful non-the-less. Anyway, let me know if you have any questions regarding the code I wrote. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Saturday, December 16, 2006 7:02 AM To: CF-Talk Subject: RE: splitting large csv file into smaller parts That's great Ben, just what I needed. Funnily enough, I'd made a start on this last night in between baby feeds (I have 3 month old twins) but that looks great. Cheers, and have a great weekend! Will -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: 16 December 2006 00:22 To: CF-Talk Subject: RE: splitting large csv file into smaller parts Will, I had some time to throw something together. This should take care of the out of memory issues as it doesn't read in the whole file at once: http://www.bennadel.com/blog/436-Breaking-Enormous-CSV-Files-Into-Smalle r-CSV-Files.htm (OR http://bennadel.com/index.cfm?dax=blog:436.view) This splits the CSV file into many smaller files. Then, you would run your originally parser on the smaller files, perhaps one per page request. This should not kill your memory at all. Just remember to delete the smaller CSV files once you are done with them (or they might corrupt the next night's CSV data). Have a great weekend. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 4:23 PM To: CF-Talk Subject: RE: splitting large csv file into smaller parts Well, my test has just run into problems and thrown a java.lang.OutOfMemoryError error. I'm thinking though maybe I can use the LineNumberReader code to split the csv file into smaller parts. Maybe take 5,000 rows at a time and write them out to a new csv file. Then I can just run the processing code that I already have on each smaller file. Does that logic seem sound to you? Cheers Will ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264423 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF 7.02 won't install on Windows Server Enterprise 2003, Service Pack
I ran into this problem as well. I had to use a silent install to get everything working with enterprise sp1. On small bus. 2003 turning off DEP was sufficient. The problem is with SP1 and the Install Anywhere package I believe. KB from Adobe for silent install: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=87bd20f4 Good luck! ~Steve -Original Message- From: Tom Hines [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 11:18 PM To: CF-Talk Subject: CF 7.02 won't install ond Windows Server Enterprise 2003, Service Pack CF 7.02 won't install on Windows Server Enterprise 2003, Service Pack 1, IIS 6.0. When I run the Administrator the message indicates that MX has been installed but when I open the page with the web browser the message is Service Unavailable. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264424 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Server Error (Either the Macromedia application ...)
I ran into this problem as well. I had to use a silent install to get everything working with enterprise sp1. On small bus. 2003 turning off DEP was sufficient. The problem is with SP1 and the Install Anywhere package I believe. KB from Adobe for silent install: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=87bd20f4 Good luck! ~Steve -Original Message- From: Abdüsselam_Karatas [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 6:01 AM To: CF-Talk Subject: Server Error (Either the Macromedia application ...) Hi, We have a client using cfmx 7 on one server (red hat 8.0),cfmx 7 on a second server (windows 2003) and db2 on another (red hat 8). Now we want to add another cf server (windows 2003) as a third application server to use. But when we install cf it gives an error saying Server Error Either the Macromedia application server is unreachable or it does not have a mapping to process this request. We couldn't find why we get this error. I know there could be a lot of reasons. But it's interesting because services look started but we can't get a single cfm page. Restarts of services, OS; reinstalls of cf and windows 2003 did not work. And then I tried a different CF key. At first it worked but after a while again it started to give same error. On their network they have transparent proxy I dont know if it could be the reason. Any help will be appreciated. A.Selam Karatas ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264425 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Counting Cfcontent Downloads
When using CFContent, how would I write to a db AFTER a file is downloaded (such as a counter/date) in the background, without opening a new page? I do have each file listed in a db, with all the normal file scope fields (size, name, etc). [This E-mail scanned for viruses by Declude EVA] ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264426 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Counting Cfcontent Downloads
If you are using CF 7, use OnRequestEnd in Application.cfc (or OnRequestEnd,cfm if using anything before CF 7). You could do a check in OnRequestEnd to see if its a page that serves up a download, and then perform whatever DB actions you desire. On 12/19/06, Mark Leder [EMAIL PROTECTED] wrote: When using CFContent, how would I write to a db AFTER a file is downloaded (such as a counter/date) in the background, without opening a new page? I do have each file listed in a db, with all the normal file scope fields (size, name, etc). [This E-mail scanned for viruses by Declude EVA] ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264427 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Counting Cfcontent Downloads
You would just run your query to update the count at the same time you run the cfontent tag to push the file to the user. Running the query just AFTER the cfcontent tag would let you know that every count was atleast a prompt to download the file. They could still be counted and simply hit close or concel on the download prompt or even download half of the file and then cancel though. I don't think you are going to get around that in any easy way. If you do though, by all means let us know how :-) ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 7:46 AM To: CF-Talk Subject: Counting Cfcontent Downloads When using CFContent, how would I write to a db AFTER a file is downloaded (such as a counter/date) in the background, without opening a new page? I do have each file listed in a db, with all the normal file scope fields (size, name, etc). [This E-mail scanned for viruses by Declude EVA] ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264428 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Counting Cfcontent Downloads
at least a prompt to download the file. They could still be counted and simply hit close or concel on the download prompt or even download half of the file and then cancel though. I don't think you are going to get around that in any easy way. That's what I told the client, that I can't control the user action once the prompt is presented. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264429 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT: Java Code Translation
Those are called java generics, and they are new to JRE 1.5, so we can't use them with CF yet. Mark After doing some more digging, with the right terms now, this appears to be correct. For anybody that wants the full details ... the T refers to a java generic which was invented primarily for implementation of generic collections. With my limited research, generics appear to be a way to communicate the type of objects in a collection. Therefore ... CollectionString c would translate to the argument 'c' being a Collection of String. This basically allows for the type of objects within a collection to be communicated to the Java compiler and results in clearer and safer code. In relation to ColdFusion, since it is type-less, this is of no use. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264430 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: java.io.File lastModifed() string conver sion
Thanks! Both work well. createObject(java,java.util.Date).init(theFile.lastModified())/ and the UDF on cflib.org http://www.cflib.org/udf.cfm?ID=790 I had a hunch it was Epoch Time but I couldn't figure out the conversion; when in doubt divide by 1000. Try this. cfset theFile = createObject(java,java.io.File).init(d:\path\to\myfile.ext)/ cfset lastModDate = createObject(java,java.util.Date).init(theFile.lastModified())/ Then you can dateformat and timeformat lastModDate #dateformat(lastModifiedDate, 'mm\dd\')# #timeformat(lastModifiedDate, 'hh:mm tt')# .:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Richard Ashley [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 4:47 PM To: CF-Talk Subject: java.io.File lastModifed() string conver sion I'm using the java class java.io.File to read the contents of a file, specifically the lastModified. The lastModified method is returning a number and I am not sure how to convert the number. I have poked around on the net but haven't found an answer. Any ideas on how to convert 1.16420452619E+012 into 11/22/2006 9:08:46AM. This is on a windows server, IIS6. Thanks in advance! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264431 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Application.cfc vs cfm
Say I have the following directory/file structure: /root - Application.cfc - Index.cfm /subdirectory o Application.cfm o index.cfm My question is, since there is an Application.cfc in the parent directory, will the Application.cfm file be processed when calling /root/subdirectory/index.cfm, or will the Application.cfc be read? I know when a .cfm and a .cfc reside in the same directory, the .cfc is used, but I'm not sure about the above situation. Thanks, Ray ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264432 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Application.cfc vs cfm
That file structure formatting got messed up in the transfer. Amended: /root - Application.cfc - Index.cfm /root/subdirectory o Application.cfm o index.cfm ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264433 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Application.cfc vs cfm
I'm pretty darn sure it runs the first one it finds. Since your immediate dir has .cfm, it will be loaded. On 12/19/06, Ray Champagne [EMAIL PROTECTED] wrote: That file structure formatting got messed up in the transfer. Amended: /root - Application.cfc - Index.cfm /root/subdirectory o Application.cfm o index.cfm ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264434 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Application.cfc vs cfm
In my experience, the application.cfm wins out. Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 9:58 AM To: CF-Talk Subject: RE: Application.cfc vs cfm That file structure formatting got messed up in the transfer. Amended: /root - Application.cfc - Index.cfm /root/subdirectory o Application.cfm o index.cfm ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264435 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF 7.02 won't install ond Windows Server Enterprise 2003, Service Pack
Did any part of the install fail, it would have told you when it completed if there were any errors. Check the install log. Is the service running. -Original Message- From: Tom Hines [mailto:[EMAIL PROTECTED] Sent: 19 December 2006 05:18 To: CF-Talk Subject: CF 7.02 won't install ond Windows Server Enterprise 2003, Service Pack CF 7.02 won't install on Windows Server Enterprise 2003, Service Pack 1, IIS 6.0. When I run the Administrator the message indicates that MX has been installed but when I open the page with the web browser the message is Service Unavailable. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264436 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Application.cfc vs cfm
Hi Ray, in Railo 1.1 you can configure this setting. In the Railo administrator you will be able to set the Application Listeners as follows: Type: none - No Application.cfm and Application.cfc will be included classic - First look for Application.cfm and after the request for OnRequestEnd.cfm (like CF7) modern - Look only for Application.cfc mixed - Looks for Application.cfc and if not existing for Application.cfm/OnRequestEnf.cfm (Like = CF7) Mode: Current: Look only in the current directory for one of the files above Root: Look only in the root directory for one of the files above Curr2Root: Like CF So you can configure Railo in the way you like... Greetings / Grüsse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List / Treten Sie unserer Mailingliste bei: deutsch: http://de.groups.yahoo.com/group/railo/ english: http://groups.yahoo.com/group/railo_talk/ Ray Champagne schrieb: Say I have the following directory/file structure: /root - Application.cfc - Index.cfm /subdirectory o Application.cfm o index.cfm My question is, since there is an Application.cfc in the parent directory, will the Application.cfm file be processed when calling /root/subdirectory/index.cfm, or will the Application.cfc be read? I know when a .cfm and a .cfc reside in the same directory, the .cfc is used, but I'm not sure about the above situation. Thanks, Ray ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264439 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Application.cfc vs cfm
I need to stop writing such terse responses. I was referring to his particular case. I've used application.cfm's for subfolders like CFC collections to block direct web access. It's often easier then writing a whole application cfc, just to redirect direct directory calls. Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 10:03 AM To: CF-Talk Subject: Re: Application.cfc vs cfm No - the .CFC wins. But in his case, the CFM was int he most immediate folder. On 12/19/06, Ryan, Terrence [EMAIL PROTECTED] wrote: In my experience, the application.cfm wins out. Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 9:58 AM To: CF-Talk Subject: RE: Application.cfc vs cfm That file structure formatting got messed up in the transfer. Amended: /root - Application.cfc - Index.cfm /root/subdirectory o Application.cfm o index.cfm ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264440 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Application.cfc vs cfm
FWIW --- The following text is quoted straight from the CFMX Development Guide that ships with CFMX7: !--- How ColdFusion MX finds and process application definition pages ColdFusion MX uses the following rules to locate and process the Application.cfc, Application.cfm, and OnRequestEnd.cfm pages that define application-specific elements. The way ColdFusion MX locates these files helps determine how you structure an application. Each time ColdFusion MX processes a page request it does the following: 1. When ColdFusion starts processing the request, it does the following: - It searches the page's directory for a file named Application.cfc. If one exists, it creates a new instance of the CFC, processes the initial events, and stops searching. (ColdFusion MX creates a new instance of the CFC and processes its initialization code for each request.) - If the requested page's directory does not have an Application.cfc file, it checks the directory for an Application.cfm file. If one exists, ColdFusion MX logically includes the Application.cfm page at the beginning of the requested page and stops searching further. - If the requested page's directory does not have an Application.cfc or Application.cfm file, ColdFusion MX searches up the directory tree and checks each directory first for an Application.cfc file and then, if one is not found, for an Application.cfm page, until it reaches the root directory (such as C:\). When it finds an Application.cfc or Application.cfm file, it processes the page and stops searching. 2. ColdFusion MX processes the requested page's contents. 3. When the request ends, ColdFusion MX does the following: - If you have an Application.cfc, ColdFusion MX processes the CFC's onRequestEnd method and releases the CFC instance. - If you do not have an Application.cfc, but do have an Application.cfm page, ColdFusion MX looks for an OnRequestEnd.cfm in the same directory as the Application.cfm page ColdFusion uses for the current page. ColdFusion does not search beyond that directory, so it does not run an OnRequestEnd.cfm page that resides in another directory. Also, the OnRequestEnd.cfm page does not run if there is an error or an exception on the application page, or if the application page executes the cfabort or cfexit tag. --- HTH... Robert Mansen Electronics Engineer WRALC/ITMS Bldg 301 West Room C09, Cube 20 Robins AFB, GA 31098 (478) 222-3156 -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 9:53 AM To: CF-Talk Subject: Application.cfc vs cfm Say I have the following directory/file structure: /root - Application.cfc - Index.cfm /subdirectory o Application.cfm o index.cfm My question is, since there is an Application.cfc in the parent directory, will the Application.cfm file be processed when calling /root/subdirectory/index.cfm, or will the Application.cfc be read? I know when a .cfm and a .cfc reside in the same directory, the .cfc is used, but I'm not sure about the above situation. Thanks, Ray ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264441 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
webcam software
Can anyone recommend a decent webcam software with the ability to push (via FTP) still images to a web site? Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264442 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: webcam software
I LOVE TinCam. http://www.tincam.com/ ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 10:33 AM To: CF-Talk Subject: webcam software Can anyone recommend a decent webcam software with the ability to push (via FTP) still images to a web site? Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264443 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Application.cfc vs cfm
While on this subject. Considering CFC's are slower to instantiate compared to regular .cfm files, how does this affect application.cfm, has anyone tested? Is it slower than using application.cfm and onrequestend.cfm Russ -Original Message- From: Gert Franz [mailto:[EMAIL PROTECTED] Sent: 19 December 2006 15:11 To: CF-Talk Subject: Re: Application.cfc vs cfm Hi Ray, in Railo 1.1 you can configure this setting. In the Railo administrator you will be able to set the Application Listeners as follows: Type: none - No Application.cfm and Application.cfc will be included classic - First look for Application.cfm and after the request for OnRequestEnd.cfm (like CF7) modern - Look only for Application.cfc mixed - Looks for Application.cfc and if not existing for Application.cfm/OnRequestEnf.cfm (Like = CF7) Mode: Current: Look only in the current directory for one of the files above Root: Look only in the root directory for one of the files above Curr2Root: Like CF So you can configure Railo in the way you like... Greetings / Grüsse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List / Treten Sie unserer Mailingliste bei: deutsch: http://de.groups.yahoo.com/group/railo/ english: http://groups.yahoo.com/group/railo_talk/ Ray Champagne schrieb: Say I have the following directory/file structure: /root - Application.cfc - Index.cfm /subdirectory o Application.cfm o index.cfm My question is, since there is an Application.cfc in the parent directory, will the Application.cfm file be processed when calling /root/subdirectory/index.cfm, or will the Application.cfc be read? I know when a .cfm and a .cfc reside in the same directory, the .cfc is used, but I'm not sure about the above situation. Thanks, Ray ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:26 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: webcam software
On 19 Dec 2006, at 07:32, Rick Root wrote: Can anyone recommend a decent webcam software with the ability to push (via FTP) still images to a web site? EvoCam is quite popular. It's got more features than you could shake a stick at. http://www.evological.com/evocam.html -- Joseph Lamoree ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264445 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Application.cfc vs cfm
Should read how does this affect application.cfc -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: 19 December 2006 15:48 To: CF-Talk Subject: RE: Application.cfc vs cfm While on this subject. Considering CFC's are slower to instantiate compared to regular .cfm files, how does this affect application.cfm, has anyone tested? Is it slower than using application.cfm and onrequestend.cfm Russ -Original Message- From: Gert Franz [mailto:[EMAIL PROTECTED] Sent: 19 December 2006 15:11 To: CF-Talk Subject: Re: Application.cfc vs cfm Hi Ray, in Railo 1.1 you can configure this setting. In the Railo administrator you will be able to set the Application Listeners as follows: Type: none - No Application.cfm and Application.cfc will be included classic - First look for Application.cfm and after the request for OnRequestEnd.cfm (like CF7) modern - Look only for Application.cfc mixed - Looks for Application.cfc and if not existing for Application.cfm/OnRequestEnf.cfm (Like = CF7) Mode: Current: Look only in the current directory for one of the files above Root: Look only in the root directory for one of the files above Curr2Root: Like CF So you can configure Railo in the way you like... Greetings / Grüsse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List / Treten Sie unserer Mailingliste bei: deutsch: http://de.groups.yahoo.com/group/railo/ english: http://groups.yahoo.com/group/railo_talk/ Ray Champagne schrieb: Say I have the following directory/file structure: /root - Application.cfc - Index.cfm /subdirectory o Application.cfm o index.cfm My question is, since there is an Application.cfc in the parent directory, will the Application.cfm file be processed when calling /root/subdirectory/index.cfm, or will the Application.cfc be read? I know when a .cfm and a .cfc reside in the same directory, the .cfc is used, but I'm not sure about the above situation. Thanks, Ray ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264446 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 7.02 won't install ond Windows Server Enterprise 2003, Service Pack
I recently did an install in Windows 2003 Server and had the same problem. What ended up being the problem was when it got to the IIS portion, I accepted the default and it did not work. I had to actually point the installation to the IIS server on my machine, and specifically to the default web site, and the install worked great. I had this happen on two servers in the same day. Bruce ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264447 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Adding pages to ColdFusion contribute site
Slightly OT. A client has a ColdFusion site. They also uses contribute to manage some of the content. Are there any issues with adding pages to the site outside of contribute. These pages do not need to be edited from within contribute. Thanks ~Kola ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264448 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Chain saw using log4j
Hi, I am using developer cfmx server for my development. For error logging, am using log4j to write the errors to a flat file (.log). I am planning to use chainsaw to monitor the errors and hence have following questions 1) Will chain saw support only xml files? 2) How to make a socket listen to chainsaw? 3) Is there any step-by-step guide to setup chainsaw for my development purpose? Any pointers would be greatly appreciated. Thanks Baanji ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264449 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Adding pages to ColdFusion contribute site
A client has a ColdFusion site. They also uses contribute to manage some of the content. Are there any issues with adding pages to the site outside of contribute. These pages do not need to be edited from within contribute. No, this shouldn't be a problem. However, you may need to ensure that people can't edit these pages with Contribute. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264450 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
DateTime format problems
Hello everyone, I have a small problem converting dates using the function CreateODBCDateTime. I have a file in the server named ingrRdf which I want to retrieve the last date and time modified. If I go: cfoutput#ingrRdf.DateLastModified#/cfoutput is going to give me: 19/12/06 15:35 Correct date but wrong format. but If I go: cfoutput#CreateODBCDateTime(ingrRdf.DateLastModified)#/cfoutput {ts '2019-12-06 15:35:00'} Correct format but very wrong date. I am using: Coldfusion mx7 Linux Ubuntu PentiumIII, 512MB Any ideas very much welcome. Thanx in advance Ioannis ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264451 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Application.cfc vs cfm
Sounds good, but isn't he using ColdFusion? This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Gert Franz To: CF-Talk Sent: Tue Dec 19 15:11:10 2006 Subject: Re: Application.cfc vs cfm Hi Ray, in Railo 1.1 you can configure this setting. In the Railo administrator you will be able to set the Application Listeners as follows: Type: none - No Application.cfm and Application.cfc will be included classic - First look for Application.cfm and after the request for OnRequestEnd.cfm (like CF7) modern - Look only for Application.cfc mixed - Looks for Application.cfc and if not existing for Application.cfm/OnRequestEnf.cfm (Like = CF7) Mode: Current: Look only in the current directory for one of the files above Root: Look only in the root directory for one of the files above Curr2Root: Like CF So you can configure Railo in the way you like... Greetings / Grüsse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List / Treten Sie unserer Mailingliste bei: deutsch: http://de.groups.yahoo.com/group/railo/ english: http://groups.yahoo.com/group/railo_talk/ Ray Champagne schrieb: Say I have the following directory/file structure: /root - Application.cfc - Index.cfm /subdirectory o Application.cfm o index.cfm My question is, since there is an Application.cfc in the parent directory, will the Application.cfm file be processed when calling /root/subdirectory/index.cfm, or will the Application.cfc be read? I know when a .cfm and a .cfc reside in the same directory, the .cfc is used, but I'm not sure about the above situation. Thanks, Ray ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264452 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Coldfusion, com and WbemScripting...
Trying to obtain system Ram, using the following code below: I'm basing it on Javascript code that does retrieve this... trying to make a coldfusion version of it. The way I assumed it worked was that calling the memorys.Instances_ method would return a collection. At least it does with JScript in the form of an enumerator object. And maybe it does if ( and only if ) there is an enumerator object present, and CF has structures etc not an enumerator object. In CF when I call memorys.instances_() I donât seem to get much other than a single object⦠Any ideas guys? COLDFUSION CODE: = cfobject action=create type=com class=WbemScripting.SWbemLocator name=AX cfdump var=#AX# cfset Memory = AX.ConnectServer() cfdump var=#Memory# cfset Memorys = Memory.Get(Win32_OperatingSystem) cfdump var=#Memorys# cfset imemory = Memorys.Instances_(1) cfdump var=#imemory# JSCRIPT CODE: ( the code I'm trying to duplicate ion CF ) = var Locator = new ActiveXObject (WbemScripting.SWbemLocator); var Memory = Locator.connectserver(); var memoryerr = 0, TotalMessage = , cr = \r\n; try { var memorys = Memory.Get (Win32_OperatingSystem); var imemory = new Enumerator (memorys.Instances_()); } catch (error) { return (Could not get memory info because: + error.description); } for (;!imemory.atEnd();imemory.moveNext()) { var memoryInstance = imemory.item(); var TVM = Math.round( (memoryInstance.TotalVisibleMemorySize/1024) ); var FPM = Math.round( (memoryInstance.FreePhysicalMemory/1024) ); var TVMS = Math.round( (memoryInstance.TotalVirtualMemorySize/1024) ); var FVM = Math.round( (memoryInstance.FreeVirtualMemory/1024) ); ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264453 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: DateTime format problems
There is a current thread on getting the last modified date and formatting it. There were 2 solutions. You should try one of those. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ioannis Papanikolaou [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 10:39 AM To: CF-Talk Subject: DateTime format problems Hello everyone, I have a small problem converting dates using the function CreateODBCDateTime. I have a file in the server named ingrRdf which I want to retrieve the last date and time modified. If I go: cfoutput#ingrRdf.DateLastModified#/cfoutput is going to give me: 19/12/06 15:35 Correct date but wrong format. but If I go: cfoutput#CreateODBCDateTime(ingrRdf.DateLastModified)#/cfoutput {ts '2019-12-06 15:35:00'} Correct format but very wrong date. I am using: Coldfusion mx7 Linux Ubuntu PentiumIII, 512MB Any ideas very much welcome. Thanx in advance Ioannis ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264454 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Reverse Online Auction
Does anyone know where I can find CF code information and database layout information for a Reverse Online Auction? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264455 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: webcam software
Joseph Lamoree wrote: On 19 Dec 2006, at 07:32, Rick Root wrote: Can anyone recommend a decent webcam software with the ability to push (via FTP) still images to a web site? EvoCam is quite popular. It's got more features than you could shake a stick at. http://www.evological.com/evocam.html looks nice for Mac users =) Damn it, once again I posted to cf-talk when I intended to post to cf-community. I ended up downloading something called VisionGS PE (Private Edition) from download.com.. it's free, and pretty basic. Finally got my webcam on my blog now =) http://www.rickroot.com/blog/ Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264456 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Application.cfc vs cfm
While on this subject. Considering CFC's are slower to instantiate compared to regular .cfm files, how does this affect application.cfm, has anyone tested? Is it slower than using application.cfm and onrequestend.cfm I haven't bothered doing any testing. However, I haven't seen any evidence that CFCs are inherently slower than CFM files. I don't see any reason why they would be, either, once compiled. I can see why they might take longer to compile, since every method is compiled into a separate class, but this shouldn't be an issue in a busy production environment. It is slower to invoke a CFC from within a CFM file than not to. It appears, in my limited testing, to be slower to use any formal code reuse mechanism (CFC invocation, CFML custom tags) than to run code inline or to use a CFINCLUDE. Finally, even if there were a cost to doing this, you should only have to pay it once, when Application.cfc is compiled. So, in summary, I wouldn't avoid Application.cfc because of performance concerns. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264457 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: DateTime format problems
How are you getting the last modified date? Chris Ioannis Papanikolaou wrote: Hello everyone, I have a small problem converting dates using the function CreateODBCDateTime. I have a file in the server named ingrRdf which I want to retrieve the last date and time modified. If I go: cfoutput#ingrRdf.DateLastModified#/cfoutput is going to give me: 19/12/06 15:35 Correct date but wrong format. but If I go: cfoutput#CreateODBCDateTime(ingrRdf.DateLastModified)#/cfoutput {ts '2019-12-06 15:35:00'} Correct format but very wrong date. I am using: Coldfusion mx7 Linux Ubuntu PentiumIII, 512MB Any ideas very much welcome. Thanx in advance Ioannis ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264458 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Coldfusion, com and WbemScripting...
I've does this before but it may only report the JVM's stack heap. Dunno. cfset runtime = CreateObject(java, java.lang.Runtime).getRuntime() cfset freeMemory = runtime.freeMemory() / 1024 / 1024 cfset totalMemory = runtime.totalMemory() / 1024 / 1024 cfset maxMemory = runtime.maxMemory() / 1024 / 1024 cfset availableProcessors = runtime.availableProcessors() cfoutput p Available Processors: #availableProcessors#br / Free Allocated Memory: #Round(freeMemory)#MBbr Total Memory Allocated: #Round(totalMemory)#MBbr Max Memory Available to JVM: #Round(maxMemory)#MB /p ~Brad -Original Message- From: D F [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 9:44 AM To: CF-Talk Subject: Coldfusion, com and WbemScripting... Trying to obtain system Ram, using the following code below: ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264459 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: webcam software
I see you, Rick! Look at the camera and smile! Rick PS - Get off that phone and get back to work! :o) -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 12:08 PM To: CF-Talk Subject: Re: webcam software Joseph Lamoree wrote: On 19 Dec 2006, at 07:32, Rick Root wrote: Can anyone recommend a decent webcam software with the ability to push (via FTP) still images to a web site? EvoCam is quite popular. It's got more features than you could shake a stick at. http://www.evological.com/evocam.html looks nice for Mac users =) Damn it, once again I posted to cf-talk when I intended to post to cf-community. I ended up downloading something called VisionGS PE (Private Edition) from download.com.. it's free, and pretty basic. Finally got my webcam on my blog now =) http://www.rickroot.com/blog/ Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264460 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ColdFusion Picture Framing Sites.
Does anyone know of any already built Picture Framing Software packages that are ColdFusion based? i.e., I am looking to build/purchase something similar to the functionality of http://www.framesbymail.com where you can upload a photo, see your photo with the picture frame, resize it, choose mats, backing and glass. Any help would be appreciated. ~Che ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264461 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Application.cfc vs cfm
The only problem with using Railo is it doesn't amount to any savings for those of us who host multiple websites on our own server. The price is practically the same as Adobe's CF server. If the price were significantly less, then it would be more attractive and worth the effort to do the work necessary to implement a 3rd party CF server. Rick -Original Message- From: Gert Franz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 10:11 AM To: CF-Talk Subject: Re: Application.cfc vs cfm Hi Ray, in Railo 1.1 you can configure this setting. In the Railo administrator you will be able to set the Application Listeners as follows: Type: none - No Application.cfm and Application.cfc will be included classic - First look for Application.cfm and after the request for OnRequestEnd.cfm (like CF7) modern - Look only for Application.cfc mixed - Looks for Application.cfc and if not existing for Application.cfm/OnRequestEnf.cfm (Like = CF7) Mode: Current: Look only in the current directory for one of the files above Root: Look only in the root directory for one of the files above Curr2Root: Like CF So you can configure Railo in the way you like... Greetings / Grüsse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264462 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Coldfusion, com and WbemScripting...
Hi Brad, thanks for that... I've done that as well and that only pertains to the Java Virtual Machine, rather than system ram. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264463 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: webcam software
Hope you don't pick your nose Rick! -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: 19 December 2006 17:18 To: CF-Talk Subject: RE: webcam software I see you, Rick! Look at the camera and smile! Rick PS - Get off that phone and get back to work! :o) -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 12:08 PM To: CF-Talk Subject: Re: webcam software Joseph Lamoree wrote: On 19 Dec 2006, at 07:32, Rick Root wrote: Can anyone recommend a decent webcam software with the ability to push (via FTP) still images to a web site? EvoCam is quite popular. It's got more features than you could shake a stick at. http://www.evological.com/evocam.html looks nice for Mac users =) Damn it, once again I posted to cf-talk when I intended to post to cf-community. I ended up downloading something called VisionGS PE (Private Edition) from download.com.. it's free, and pretty basic. Finally got my webcam on my blog now =) http://www.rickroot.com/blog/ Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264464 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: ColdFusion Picture Framing Sites.
i.e., I am looking to build/purchase something similar to the functionality of http://www.framesbymail.com where you can upload a photo, Funny that, I've just been commissioned to build something like that into a site we already manage at http://www.diyframing.com... I'm about a week into it at the mo although my clients requirements mean that it has to tie into their stock control system etc so I don't think there will be much scope in making it useful for others :( Paul ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264465 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: webcam software
Will Swain wrote: Hope you don't pick your nose Rick! if I did would you be more likely to click on my google ads? =) ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264466 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: DateTime format problems
Well as a newbe with Coldfusion (this is my first application trying to develope) I am working a lot with examples and tutorials. I have found the property .DateLastModified on http://tutorial236.easycfm.com/; and it looks like it works good. It is able to retrieve the right date and time from the file on the server. When I am trying to converted though I get the wrong date. I have even try: CreateDateTime(year(ingrRdf.DateLastModified), month(ingrRdf.DateLastModified), day(ingrRdf.DateLastModified), hour(ingrRdf.DateLastModified), minute(ingrRdf.DateLastModified), second(ingrRdf.DateLastModified)) and I am still getting : {ts '2019-12-06 15:35:00'} instead of : {ts '2006-12-19 15:35:00'} If you know any alternative ways to retrieve the last date and time, a file has been modified or a function to convert the date time on the desireable format but with no mistakes please let me know. Thanx a lot for your responces Ioannis ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264467 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: DateTime format problems
If you know any alternative ways to retrieve the last date and time, a file has been modified or a function to convert the date time on the desireable format but with no mistakes please let me know. Thanx a lot for your responces You may need to look at the LS date/time functions that help when dealing with not US date time formats. Basically you need to let the functions know what order the year month and date are in so that it can parse them correctly. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264468 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Picture Framing Sites.
Does anyone know of any already built Picture Framing Software packages that are ColdFusion based? Sure, have a look at CF_PictureFrame: http://www.contentbox.com/claude/customtags/Frames/testPictureFrame.cfm You can see one site using it here: http://www.adpfm.ca Select a year in the Mosaïque sub menu in the menu bar. Once the mosaïque is displayed, pass the mouse over individuals and click on them at random, you will see other frames. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264469 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: ColdFusion Picture Framing Sites.
Nice one Claude...very pretty. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 12:08 PM To: CF-Talk Subject: Re: ColdFusion Picture Framing Sites. Does anyone know of any already built Picture Framing Software packages that are ColdFusion based? Sure, have a look at CF_PictureFrame: http://www.contentbox.com/claude/customtags/Frames/testPictureFrame.cfm You can see one site using it here: http://www.adpfm.ca Select a year in the Mosaïque sub menu in the menu bar. Once the mosaïque is displayed, pass the mouse over individuals and click on them at random, you will see other frames. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DateTime format problems
Hmmm This code: !--- display the last date modified area --- cfdirectory action=list directory=#ExpandPath(.)#\ name=qGetLastdateModified filter=#ListLast(CGI.SCRIPT_NAME, /)# cfif qGetLastdateModified.recordCount CFOutput #qGetLastdateModified.dateLastModified#br #CreateODBCDateTime(qGetLastdateModified.dateLastModified)#br /CFOutput cfoutputThis page was last modified on : #DateFormat(qGetLastdateModified.dateLastModified, mm/dd/)# /cfoutput /cfif Works fine for me. My output from the above code sample: 12/19/2006 12:14:01 PM {ts '2006-12-19 12:14:01'} This page was last modified on : 12/19/2006 Can you copy and paste the above code into its own template and see what the results are? If you still get the wrong result, then I'm wondering what your code looks like that actually gets the last modified date. Also, are you in Europe? If so you may need to look at the GetLocale and SetLocale. Here's what the manual says about SetLocale: Sets the country/language locale for ColdFusion processing and the page returned to the client. The locale value determines the default format of date, time, number, and currency values, according to language and regional conventions. The problem appears to be that cold fusion thinks that 19/12/06 is /mm/dd instead of dd/mm/. Let us know how it goes. Cheers, Chris Ioannis Papanikolaou wrote: Well as a newbe with Coldfusion (this is my first application trying to develope) I am working a lot with examples and tutorials. I have found the property .DateLastModified on http://tutorial236.easycfm.com/; and it looks like it works good. It is able to retrieve the right date and time from the file on the server. When I am trying to converted though I get the wrong date. I have even try: CreateDateTime(year(ingrRdf.DateLastModified), month(ingrRdf.DateLastModified), day(ingrRdf.DateLastModified), hour(ingrRdf.DateLastModified), minute(ingrRdf.DateLastModified), second(ingrRdf.DateLastModified)) and I am still getting : {ts '2019-12-06 15:35:00'} instead of : {ts '2006-12-19 15:35:00'} If you know any alternative ways to retrieve the last date and time, a file has been modified or a function to convert the date time on the desireable format but with no mistakes please let me know. Thanx a lot for your responces Ioannis ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264471 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Picture Framing Sites.
Claude, I'd buy this tonight if I could get it installed and running at CrystalTech on a shared hosting plan. Is it a cfm or cfx (java, c++) tag? Can it be placed in my working folder, and therefore not need to be registered with cf? Jerry On 12/19/06, Claude Schneegans [EMAIL PROTECTED] wrote: Does anyone know of any already built Picture Framing Software packages that are ColdFusion based? Sure, have a look at CF_PictureFrame: http://www.contentbox.com/claude/customtags/Frames/testPictureFrame.cfm You can see one site using it here: http://www.adpfm.ca Select a year in the Mosaïque sub menu in the menu bar. Once the mosaïque is displayed, pass the mouse over individuals and click on them at random, you will see other frames. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264472 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Disregard last email
Hello all, Well I am still struggling to wrap my head around structures. (this is a continuation of yesterday's conversation where I have dynamically generated field names.) I have the following code: cfset languageNameStruct = StructNew() cfloop index=i list=#form.fieldnames# cfif (find(_, i) GT 0) AND (len(trim(form[i])) GT 0) cfset val = StructInsert(languageNameStruct, #i#, #form[i]#) cfquery datasource=#Application.dsource# INSERT INTO tblElection_Committee (Proc_ID, Name, Phone, Email) VALUES (#Session.Procedure_ID#, Not sure what to put here) /cfquery /cfif /cfloop The problem is I do not know what to put in the VALUES part of the insert query. I need it to enter the persons name, phone and email, then loop through to the next name, phone and email, etc.. When I cfdump the structure, it looks like this: struct NAME_1 Park Kim struct NAME_1 Park Kim PHONE_1 213-456-7890 struct NAME_1 Park Kim PHONE_1 213-456-7890 EMAIL_1 [EMAIL PROTECTED] it continues to build for every row that I have until I have this monsterous struct. I know it has to be simple but I guess I am looking into this to deep or something. I googled looping through ColdFusion structs but it is still not making sense. Call me stupid but I am just not getting it. Bruce ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264473 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Disregard last email
On 12/19/06, Bruce Sorge [EMAIL PROTECTED] wrote: Hello all, I googled looping through ColdFusion structs but it is still not making sense. http://livedocs.macromedia.com/coldfusion/7/htmldocs/0296.htm -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264474 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
remove time element
I have a search form that searches an Access table w/a date/time field. It includes date and time (12/19/2006 8:20:07 AM) and I think the time maybe affecting the search. When I pass a search into: CFSET today = Createdate(Year,Month,day) CFSET oneday = Createdate(Year2,Month2,day2) CFQUERY name=get datasource=barracuda_log SELECT * FROM message_log_20391 where timereceived between #today# and #oneday# The result is: SELECT * FROM message_log_20391 where timereceived between {ts '2006-12-18 00:00:00'} and {ts '2006-12-31 00:00:00'} When I ask for 12-18-2006 to 12-18-2006, I don't get the desired result. It displays: {ts '2006-12-18 00:00:00'} and {ts '2006-12-18 00:00:00'} in the statement, but gives a new records found message. How can I get rid of the 00:00:00'? Thanks as always. Robert O. HWW ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264475 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DateTime format problems
Thanx a lot guys, Ian and Chris were right. It was a problem with local settings, as I am in Gibraltar (Spain) at the moment. I have used : LSParseDateTime(ingrRdf.DateLastModified) instead of : CreateODBCDateTime(ingrRdf.DateLastModified) and it worked. Format and date are the ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264476 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: javascript to prevent a normal link from working
I am playing with YUI and spry and have a fun task of having content from other pages load into a tab system in spry. All is working well so far. Next I have event listener code to check for the click of any link in that tab content area (which is a separate file). Those links are just normal links with no onclick or anything. If you click on it load that linked pages data into the tab. That also works. What I am stuck on now is how to get the page to then stop going to the new page. In other words if the link goes to 'aboutus.cfm' I can get the content of aboutus.cfm to load into the tab content area, but the page then reloads fully to go to the aboutus.cfm page. Basically clicking on a link will trigger the function below which needs to stop the default behavior of opening a new page. I use return false; in my function, but that only cancel's things in IE7 and not firefox. I also tried return(false); with same result. Relevant JS is: function clickHandler(e) { var elTarget = YAHOO.util.Event.getTarget(e); // sets the var with the href of the new page Spry.Utils.updateContent('apDiv1',elTarget); // updates my div with new content return(false); // try to stop browser from opening new page } YAHOO.example.init = function() { YAHOO.util.Event.on(YAHOO.util.Dom.getElementsByClassName('joshua', 'div')[0], click, clickHandler); } Joshua Cyr Savvy Software 866.870.6358 http://www.besavvy.com/ www.besavvy.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264477 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DateTime format problems
Thanx a lot guys, Ian and Chris were right. It was a problem with local settings, as I am in Gibraltar (Spain) at the moment. I have used : LSParseDateTime(ingrRdf.DateLastModified) instead of : CreateODBCDateTime(ingrRdf.DateLastModified) and it worked.!!! Thank you very much for the interest and your responces. I think www.houseoffusion.com had just become my favorite site. lol Ioannis ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264478 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: remove time element
you could keep it in... just set it to 11:59 pm on the oneday variable. cfset today = createDate(year, month, day) / cfset oneday = createDateTime(year2, month2, day2, 23, 59, 59) / (btw, if year, month, and day are your CF variable names...i'd rename those. those are built in functions in CF and using them as variable names is just asking for trouble) :) On 12/19/06, Orlini, Robert [EMAIL PROTECTED] wrote: I have a search form that searches an Access table w/a date/time field. It includes date and time (12/19/2006 8:20:07 AM) and I think the time maybe affecting the search. When I pass a search into: CFSET today = Createdate(Year,Month,day) CFSET oneday = Createdate(Year2,Month2,day2) CFQUERY name=get datasource=barracuda_log SELECT * FROM message_log_20391 where timereceived between #today# and #oneday# The result is: SELECT * FROM message_log_20391 where timereceived between {ts '2006-12-18 00:00:00'} and {ts '2006-12-31 00:00:00'} When I ask for 12-18-2006 to 12-18-2006, I don't get the desired result. It displays: {ts '2006-12-18 00:00:00'} and {ts '2006-12-18 00:00:00'} in the statement, but gives a new records found message. How can I get rid of the 00:00:00'? Thanks as always. Robert O. HWW ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264479 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: javascript to prevent a normal link from working
return false in your a href tag. a href=# onclick=doFunction(args); return false;foo/a On 12/19/06, Joshua Cyr [EMAIL PROTECTED] wrote: I am playing with YUI and spry and have a fun task of having content from other pages load into a tab system in spry. All is working well so far. Next I have event listener code to check for the click of any link in that tab content area (which is a separate file). Those links are just normal links with no onclick or anything. If you click on it load that linked pages data into the tab. That also works. What I am stuck on now is how to get the page to then stop going to the new page. In other words if the link goes to 'aboutus.cfm' I can get the content of aboutus.cfm to load into the tab content area, but the page then reloads fully to go to the aboutus.cfm page. Basically clicking on a link will trigger the function below which needs to stop the default behavior of opening a new page. I use return false; in my function, but that only cancel's things in IE7 and not firefox. I also tried return(false); with same result. Relevant JS is: function clickHandler(e) { var elTarget = YAHOO.util.Event.getTarget(e); // sets the var with the href of the new page Spry.Utils.updateContent('apDiv1',elTarget); // updates my div with new content return(false); // try to stop browser from opening new page } YAHOO.example.init = function() { YAHOO.util.Event.on(YAHOO.util.Dom.getElementsByClassName('joshua', 'div')[0], click, clickHandler); } Joshua Cyr Savvy Software 866.870.6358 http://www.besavvy.com/ www.besavvy.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264480 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT: javascript to prevent a normal link from working
Ah, but these are links I have no control over from other pages. The trick is that they are just normal pages that are pulled in to the tab. Joshua Cyr Savvy Software 866.870.6358 www.besavvy.com -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 1:48 PM To: CF-Talk Subject: Re: OT: javascript to prevent a normal link from working return false in your a href tag. a href=# onclick=doFunction(args); return false;foo/a On 12/19/06, Joshua Cyr [EMAIL PROTECTED] wrote: I am playing with YUI and spry and have a fun task of having content from other pages load into a tab system in spry. All is working well so far. Next I have event listener code to check for the click of any link in that tab content area (which is a separate file). Those links are just normal links with no onclick or anything. If you click on it load that linked pages data into the tab. That also works. What I am stuck on now is how to get the page to then stop going to the new page. In other words if the link goes to 'aboutus.cfm' I can get the content of aboutus.cfm to load into the tab content area, but the page then reloads fully to go to the aboutus.cfm page. Basically clicking on a link will trigger the function below which needs to stop the default behavior of opening a new page. I use return false; in my function, but that only cancel's things in IE7 and not firefox. I also tried return(false); with same result. Relevant JS is: function clickHandler(e) { var elTarget = YAHOO.util.Event.getTarget(e); // sets the var with the href of the new page Spry.Utils.updateContent('apDiv1',elTarget); // updates my div with new content return(false); // try to stop browser from opening new page } YAHOO.example.init = function() { YAHOO.util.Event.on(YAHOO.util.Dom.getElementsByClassName('joshua', 'div')[0], click, clickHandler); } Joshua Cyr Savvy Software 866.870.6358 http://www.besavvy.com/ www.besavvy.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264481 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Application.cfc vs cfm
Well I have noticed that the time to instantiate a CFC, using cfinvoke or createobject is slower than using a customtag, a clinclude or a UDF. And the only way to avoid this is to cache the cfc in a persistent scope, such as application. When I first tried out the Model-Glue framework I found the speed to be dire, the pages took seconds to load, compared to milliseconds for the same site not done using CFC's Russ -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 19 December 2006 17:09 To: CF-Talk Subject: RE: Application.cfc vs cfm While on this subject. Considering CFC's are slower to instantiate compared to regular .cfm files, how does this affect application.cfm, has anyone tested? Is it slower than using application.cfm and onrequestend.cfm I haven't bothered doing any testing. However, I haven't seen any evidence that CFCs are inherently slower than CFM files. I don't see any reason why they would be, either, once compiled. I can see why they might take longer to compile, since every method is compiled into a separate class, but this shouldn't be an issue in a busy production environment. It is slower to invoke a CFC from within a CFM file than not to. It appears, in my limited testing, to be slower to use any formal code reuse mechanism (CFC invocation, CFML custom tags) than to run code inline or to use a CFINCLUDE. Finally, even if there were a cost to doing this, you should only have to pay it once, when Application.cfc is compiled. So, in summary, I wouldn't avoid Application.cfc because of performance concerns. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264482 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: Eclipse Configuration
Is it possible to use the same Eclipse configuration/preferences for all users? Currently, the following directory exists (hidden by default): C:\Documents and Settings\mtangorre\.eclipse\ I would like to move it under the Eclipse home directory: D:\eclipse\ What is the process for moving the configuration so that Eclipse will recognize and use the new location? Ideally, I would like to store all of the Eclipse configuration here. the documentation talks about shared versus user specific versus private. I am thinking that I just need to pass the appropriate params in when launching Eclipse or set them in the config.ini file. I want to make sure though. BTW, I am working with a fresh install of Eclipse, haven't launched it yet. Thanks! Mike ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264483 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
Hi Bruce, I think you might want to reconsider looping over the field names. You are trying to insert multiple fields while looping over fields one at a time -- I don't think that will work. If you know how many groups of fields are coming from the form (the last number on the end of _ on your fields), you could do something like below. For example you have 4 groups of NAME, PHONE and EMAIL fields, form.numgroups would be 4. There is probably a loop in your form that is generating the dynamic fields so you would pass that value as a hidden form variable. Below is not tested but I think you'll have more luck if you go down that road. cfloop from=1 to=#form.numgroups# index=i cfset namefield = NAME_ i cfset phonefield = PHONE_ i cfset emailfield = EMAIL_ i cfquery datasource=#Application.dsource# INSERT INTO tblElection_Committee (Proc_ID, Name, Phone, Email) VALUES (#Session.Procedure_ID# cfif len(StructFind(form, namefield)) ,#StructFind(form, namefield)# cfelse , '' cfif cfif len(StructFind(form, phonefield)) ,#StructFind(form, phonefield)# cfelse , '' /cfif cfif len(StructFind(form, emailfield)) ,#StructFind (form,emailfield)# cfelse , '' /cfif) /cfquery /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264484 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse Configuration
I'm not sure, but you can copy your prefs to all user machines Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264485 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Verity Hanging issue
I am hoping someone has experienced this same problem and can help me solve this. I have a Verity Collection on MX 7.0.2 that indexes files (.htm, .xls, .pdf, .ppt) on site and also dumps our cms data into it. I have 2 scheduled tasks one that runs at 4pm that does the files index and one that runs the custom database collection. Both do an Update on the collection. The problem is that the k2index seems to finish (the collection fills up with teh correct number of records) but it never releases the index thread. If we don't pay close attention to the server, it eventually takes up all the CF active threads. I even bought SeeFusion and installed it this weekend to peek under the hood. I see that both processes are running as both active and slow, when I try to kill them it does nothing, Even the Thread.Stop(). does not kill them. What I end up having to do is restart CF and Kill the k2server.exe and k2index.exe processes. This is a beefy box too, so I don't think it is a resource issue. -Windows 2003 SP1 -IIS 6 -CFMX 7.0.2 - 2 Dual-core 3.2 GHz XEON processors - 4GB RAM Any help is greatly appreciated. I have not found any resources about this on the net. Rich Sloan E-Business Development Specialist The TriZetto Group, Inc., Naperville Direct: 630-428-5038 Make no little plans. They have no magic to stir men's blood and probably will themselves not be realized. - Daniel Burnham This e-mail and any attachment(s) may contain confidential or privileged information, including personal health or other information which you are required by federal and state laws to safeguard and protect from further disclosure and may be subject to contract provisions or other requirements restricting the use and disclosure of such information. If you are not the intended recipient of this e-mail, or an authorized employee or agent of the intended recipient who is responsible for delivering it to the intended recipient, you are not authorized to access this e-mail and its attachment(s), so please delete it and promptly notify the sender. Do not forward this message or its attachment(s) or retain copies of it. Incorrect delivery is not a waiver of any legal protection of the contents of this email. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264486 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Picture Framing Sites.
Is it a cfm or cfx (java, c++) tag? It is a plain vanilla CF5.0 compatible code. No Java, no Javascript, no hassle. Can it be placed in my working folder, and therefore not need to be registered with cf? Absolutely. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264487 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Eclipse Configuration
nevermind...I bet you meant all users of a single machine ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, December 19, 2006 11:24 AM Subject: Re: Eclipse Configuration I'm not sure, but you can copy your prefs to all user machines Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264488 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: remove time element
also, use cfqueryparam in your query =) Charlie Griefer wrote: you could keep it in... just set it to 11:59 pm on the oneday variable. cfset today = createDate(year, month, day) / cfset oneday = createDateTime(year2, month2, day2, 23, 59, 59) / (btw, if year, month, and day are your CF variable names...i'd rename those. those are built in functions in CF and using them as variable names is just asking for trouble) :) On 12/19/06, Orlini, Robert [EMAIL PROTECTED] wrote: I have a search form that searches an Access table w/a date/time field. It includes date and time (12/19/2006 8:20:07 AM) and I think the time maybe affecting the search. When I pass a search into: CFSET today = Createdate(Year,Month,day) CFSET oneday = Createdate(Year2,Month2,day2) CFQUERY name=get datasource=barracuda_log SELECT * FROM message_log_20391 where timereceived between #today# and #oneday# The result is: SELECT * FROM message_log_20391 where timereceived between {ts '2006-12-18 00:00:00'} and {ts '2006-12-31 00:00:00'} When I ask for 12-18-2006 to 12-18-2006, I don't get the desired result. It displays: {ts '2006-12-18 00:00:00'} and {ts '2006-12-18 00:00:00'} in the statement, but gives a new records found message. How can I get rid of the 00:00:00'? Thanks as always. Robert O. HWW ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264489 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion Picture Framing Sites.
Claude, I'd buy this tonight if I could get it installed and running at CrystalTech on a shared hosting plan. However, the names appearing in popups on the pictures is not part of the tag. The tag only adds the frames. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264490 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: webcam software
I had to take mine down because I'd forget that it was there and the wife and I would walk by nekkid ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 1:45 PM ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264491 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Verity Hanging issue
I don't know much about verity, but I wouldn't run 2 update tasks at the same time. I would make them part of the same template, so that one runs after the other, or put in a cflock. Russ P.S. if all else fails, try lucene. -Original Message- From: Sloan, Richard [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 2:25 PM To: CF-Talk Subject: Verity Hanging issue I am hoping someone has experienced this same problem and can help me solve this. I have a Verity Collection on MX 7.0.2 that indexes files (.htm, .xls, .pdf, .ppt) on site and also dumps our cms data into it. I have 2 scheduled tasks one that runs at 4pm that does the files index and one that runs the custom database collection. Both do an Update on the collection. The problem is that the k2index seems to finish (the collection fills up with teh correct number of records) but it never releases the index thread. If we don't pay close attention to the server, it eventually takes up all the CF active threads. I even bought SeeFusion and installed it this weekend to peek under the hood. I see that both processes are running as both active and slow, when I try to kill them it does nothing, Even the Thread.Stop(). does not kill them. What I end up having to do is restart CF and Kill the k2server.exe and k2index.exe processes. This is a beefy box too, so I don't think it is a resource issue. -Windows 2003 SP1 -IIS 6 -CFMX 7.0.2 - 2 Dual-core 3.2 GHz XEON processors - 4GB RAM Any help is greatly appreciated. I have not found any resources about this on the net. Rich Sloan E-Business Development Specialist The TriZetto Group, Inc., Naperville Direct: 630-428-5038 Make no little plans. They have no magic to stir men's blood and probably will themselves not be realized. - Daniel Burnham This e-mail and any attachment(s) may contain confidential or privileged information, including personal health or other information which you are required by federal and state laws to safeguard and protect from further disclosure and may be subject to contract provisions or other requirements restricting the use and disclosure of such information. If you are not the intended recipient of this e-mail, or an authorized employee or agent of the intended recipient who is responsible for delivering it to the intended recipient, you are not authorized to access this e-mail and its attachment(s), so please delete it and promptly notify the sender. Do not forward this message or its attachment(s) or retain copies of it. Incorrect delivery is not a waiver of any legal protection of the contents of this email. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264492 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
Thank you Josh, that was it. Bruce On 12/19/06, Josh Nathanson [EMAIL PROTECTED] wrote: Hi Bruce, I think you might want to reconsider looping over the field names. You are trying to insert multiple fields while looping over fields one at a time -- I don't think that will work. If you know how many groups of fields are coming from the form (the last number on the end of _ on your fields), you could do something like below. For example you have 4 groups of NAME, PHONE and EMAIL fields, form.numgroups would be 4. There is probably a loop in your form that is generating the dynamic fields so you would pass that value as a hidden form variable. Below is not tested but I think you'll have more luck if you go down that road. cfloop from=1 to=#form.numgroups# index=i cfset namefield = NAME_ i cfset phonefield = PHONE_ i cfset emailfield = EMAIL_ i cfquery datasource=#Application.dsource# INSERT INTO tblElection_Committee (Proc_ID, Name, Phone, Email) VALUES (#Session.Procedure_ID# cfif len(StructFind(form, namefield)) ,#StructFind(form, namefield)# cfelse , '' cfif cfif len(StructFind(form, phonefield)) ,#StructFind(form, phonefield)# cfelse , '' /cfif cfif len(StructFind(form, emailfield)) ,#StructFind (form,emailfield)# cfelse , '' /cfif) /cfquery /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264493 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: DateTime format problems
Sweet! Glad to hear things are working now. :o) Cheers, Chris Ioannis Papanikolaou wrote: Thanx a lot guys, Ian and Chris were right. It was a problem with local settings, as I am in Gibraltar (Spain) at the moment. I have used : LSParseDateTime(ingrRdf.DateLastModified) instead of : CreateODBCDateTime(ingrRdf.DateLastModified) and it worked. Format and date are the ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264494 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Picture Framing Sites.
Well, look at that. You just saved me a couple of hours of programming I didn't want to do before New Years. Good thing I read all the threads. Thanks, Jerry On 12/19/06, Claude Schneegans [EMAIL PROTECTED] wrote: Is it a cfm or cfx (java, c++) tag? It is a plain vanilla CF5.0 compatible code. No Java, no Javascript, no hassle. Can it be placed in my working folder, and therefore not need to be registered with cf? Absolutely. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264495 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Picture Framing Sites.
t is a plain vanilla CF5.0 compatible code and CFMX also, of course. ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264497 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: webcam software
That's a different kind of webcam site altogether! -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: 19 December 2006 19:39 To: CF-Talk Subject: RE: webcam software I had to take mine down because I'd forget that it was there and the wife and I would walk by nekkid ...:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 1:45 PM ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264496 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: webcam software
Bobby Hartsfield wrote: I had to take mine down because I'd forget that it was there and the wife and I would walk by nekkid Hah, that'd be bad. My webcam is at work. I don't usually have the opportunity nor the desire to walk around the office naked.. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264498 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Application.cfc vs cfm
Well it depends... If you only see the the price then yes, Railo is as cheap or as expensive as CFMX. But, you can use the professional version with unlimited webs wich costs 900¤ and is therefore cheaper than CFMX. AND the enterprise version of Railo is at the price of one fourth of the price of CFMX enterprise. And if you compare the features, then Railo does much more than CFMX. Webs are logically separated, and you have a web administrator for each web and a server administrator for the administering of the security settings and of the global settings. You additionally have - Railo archives - Railo resources - Performance improvements etc... Greetings / Grüsse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List / Treten Sie unserer Mailingliste bei: deutsch: http://de.groups.yahoo.com/group/railo/ english: http://groups.yahoo.com/group/railo_talk/ Rick Faircloth schrieb: The only problem with using Railo is it doesn't amount to any savings for those of us who host multiple websites on our own server. The price is practically the same as Adobe's CF server. If the price were significantly less, then it would be more attractive and worth the effort to do the work necessary to implement a 3rd party CF server. Rick -Original Message- From: Gert Franz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 10:11 AM To: CF-Talk Subject: Re: Application.cfc vs cfm Hi Ray, in Railo 1.1 you can configure this setting. In the Railo administrator you will be able to set the Application Listeners as follows: Type: none - No Application.cfm and Application.cfc will be included classic - First look for Application.cfm and after the request for OnRequestEnd.cfm (like CF7) modern - Look only for Application.cfc mixed - Looks for Application.cfc and if not existing for Application.cfm/OnRequestEnf.cfm (Like = CF7) Mode: Current: Look only in the current directory for one of the files above Root: Look only in the root directory for one of the files above Curr2Root: Like CF So you can configure Railo in the way you like... Greetings / Grüsse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264499 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Verity Hanging issue
I should clarify I run one at 4pm the docs and the custom db collection runs at 1am. They are seperate files ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264500 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: webcam software
PySoft has a product called Active Webcam that I've used and it works well. Supports multiple cams including Ethernet cams and directly connected cams. www.pysoft.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 10:34 AM To: CF-Talk Subject: RE: webcam software I LOVE TinCam. http://www.tincam.com/ ...:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 10:33 AM To: CF-Talk Subject: webcam software Can anyone recommend a decent webcam software with the ability to push (via FTP) still images to a web site? Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264501 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFC structure - queries returned from gateway objects
I'm just getting started with CFC's and I'm a bit confused. From what I understand gateway objects typically return queries containing multiple records like getAllUsers(). That makes sense. What about situations where you also need aggregate information? For example a page that displays a list of all users _and_ summary information like total users, total active users, etc. I was thinking the display page could run a series of QoQ on the query returned from the gateway but that seems to defeat the purpose of separating the view and model logic. Maybe I'm just looking at all this the wrong way :) Any thoughts? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264502 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
Bruce, I had trouble getting my head around structures too (about two years ago), and now they're like my best friend. :o) I can probably help you to get your head around them too if you like. You solved your problem using a two dimensional array. That's fine. That works, but in referencing it later it would probably be nice to have an array of structures. I'll try and work with your example to show you what I mean. (or at least this is what I *think* your example was trying to accomplish). :o' GIVEN: Form.FieldNames = Germany,UK,Spain,Australia,Marz Form.Germany = German Form.UK = English Form.Spain = Spanish Form.Australia = English Form.Marz = Martian Then you could do something like this: CFSet WorldLanguages = ArrayNew(1) CFLoop index=i from=1 to=#ListLen(Form.FieldNames)# CFSet ThisCountry = ListGetAt(Form.FieldNames, i) CFSet WorldLanguages[i] = StructNew() CFSet WorldLanguages[i].Country = ThisCountry CFSet WorldLanguages[i].Language = Trim(Form[ThisCountry]) /CFLoop What this code should result in is a single dimensioned array each element of which is a structure. This makes for easy looping and easy reference. It's *almost* the same as referencing a query object (queryName.columnName). One thing that *really* helped me to get my head around this stuff, was to dump these structures and arrays and what-not using CFDump. It's amazing the clarity that I gained from seeing these things graphically represented on screen! It was the click that I needed to get me over the hump of understanding. Notice also, that it's not really necessary to use StructInsert (there may be advantages to doing so, but if there are I don't know of them). You can simply follow the name of your struct (i.e. MyStruct) by a period and a key name. It didn't have to exist up until that point. By the act of assigning a value to the structure key (CFSet MyStruct.KeyName = Hello World), you have just created that key as a member of that structure, and given it a value. Easy right? :o) If you still want help understanding structures, give a shout and I'd be happy to help you out however I can. Best of all, use CFDump to look at these things. It gives amazing clarity. :o) Cheers, Chris Bruce Sorge wrote: OK, I figure it out so please disregard the last message. I did it like this: !--- Create the initial array --- cfset languageArray= ArrayNew(1) !--- Loop through the form fields and get the names of them--- cfloop index=i list=#form.fieldnames# !--- If the field is not empty, get the info --- cfif LEN(form[i]) cfset languageArray[1][1] = #i# cfset languageArray[1][2] = #evaluate(form.#i#)# !--- Query will go here soon --- /cfif /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264503 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
yes it is. What was messing me up though was not realizing that passed form fields are actually structures. So, I was basically creating a structure of a structure when all I had to do was parse through the existing one. Now that I know that, I understand and will have a much easier time of it next time. Bruce On 12/19/06, Christopher Jordan [EMAIL PROTECTED] wrote: Bruce, I had trouble getting my head around structures too (about two years ago), and now they're like my best friend. :o) I can probably help you to get your head around them too if you like. You solved your problem using a two dimensional array. That's fine. That works, but in referencing it later it would probably be nice to have an array of structures. I'll try and work with your example to show you what I mean. (or at least this is what I *think* your example was trying to accomplish). :o' GIVEN: Form.FieldNames = Germany,UK,Spain,Australia,Marz Form.Germany = German Form.UK = English Form.Spain = Spanish Form.Australia = English Form.Marz = Martian Then you could do something like this: CFSet WorldLanguages = ArrayNew(1) CFLoop index=i from=1 to=#ListLen(Form.FieldNames)# CFSet ThisCountry = ListGetAt(Form.FieldNames, i) CFSet WorldLanguages[i] = StructNew() CFSet WorldLanguages[i].Country = ThisCountry CFSet WorldLanguages[i].Language = Trim(Form[ThisCountry]) /CFLoop What this code should result in is a single dimensioned array each element of which is a structure. This makes for easy looping and easy reference. It's *almost* the same as referencing a query object (queryName.columnName). One thing that *really* helped me to get my head around this stuff, was to dump these structures and arrays and what-not using CFDump. It's amazing the clarity that I gained from seeing these things graphically represented on screen! It was the click that I needed to get me over the hump of understanding. Notice also, that it's not really necessary to use StructInsert (there may be advantages to doing so, but if there are I don't know of them). You can simply follow the name of your struct (i.e. MyStruct) by a period and a key name. It didn't have to exist up until that point. By the act of assigning a value to the structure key (CFSet MyStruct.KeyName = Hello World), you have just created that key as a member of that structure, and given it a value. Easy right? :o) If you still want help understanding structures, give a shout and I'd be happy to help you out however I can. Best of all, use CFDump to look at these things. It gives amazing clarity. :o) Cheers, Chris Bruce Sorge wrote: OK, I figure it out so please disregard the last message. I did it like this: !--- Create the initial array --- cfset languageArray= ArrayNew(1) !--- Loop through the form fields and get the names of them--- cfloop index=i list=#form.fieldnames# !--- If the field is not empty, get the info --- cfif LEN(form[i]) cfset languageArray[1][1] = #i# cfset languageArray[1][2] = #evaluate(form.#i#)# !--- Query will go here soon --- /cfif /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264504 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
Oh, that's what you were trying to do. I suppose my email completely missed the mark then! :o) No worries. I'm glad someone was able to help you. :o) Cheers, Chris Bruce Sorge wrote: Thank you Josh, that was it. Bruce On 12/19/06, Josh Nathanson [EMAIL PROTECTED] wrote: Hi Bruce, I think you might want to reconsider looping over the field names. You are trying to insert multiple fields while looping over fields one at a time -- I don't think that will work. If you know how many groups of fields are coming from the form (the last number on the end of _ on your fields), you could do something like below. For example you have 4 groups of NAME, PHONE and EMAIL fields, form.numgroups would be 4. There is probably a loop in your form that is generating the dynamic fields so you would pass that value as a hidden form variable. Below is not tested but I think you'll have more luck if you go down that road. cfloop from=1 to=#form.numgroups# index=i cfset namefield = NAME_ i cfset phonefield = PHONE_ i cfset emailfield = EMAIL_ i cfquery datasource=#Application.dsource# INSERT INTO tblElection_Committee (Proc_ID, Name, Phone, Email) VALUES (#Session.Procedure_ID# cfif len(StructFind(form, namefield)) ,#StructFind(form, namefield)# cfelse , '' cfif cfif len(StructFind(form, phonefield)) ,#StructFind(form, phonefield)# cfelse , '' /cfif cfif len(StructFind(form, emailfield)) ,#StructFind (form,emailfield)# cfelse , '' /cfif) /cfquery /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264505 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC structure - queries returned from gateway objects
Hi Janet, I'd agree with you that you want to keep your view and model separate. So I would opt for doing the aggregates somewhere other than the view. But it might well be in between view and gateway, in a business object. That business object (CFC) could call the gateway and receive the information back, then do any other manipulations you want, before returning the aggregate figures, along with the original query, to the view. After all, the need for aggregate information is a business decision. Point being, your data access objects, like gateways, need to be kinda dumb, too. All they're doing is working with the database, not really making decisions on what the user needs. That said, you may well be able to obtain your aggregate information (depending on exactly what you need) with database aggregate functions inside your query. All in all, I'd say: if you can get the information with database aggregate functions, do it. If not, work with the returned query data in your business object to create the aggregates. But definitely, keep it away from the view. And finally, in complete repudiation of everything stated above: don't be overly worried about doing something like a small calculation inside your view. Yes, separation of concerns is what you always strive for. On the other hand, it's your application. You can make your own judgments on whether keeping every little thing absolutely separate is really necessary, or an overcomplication. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264506 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Disregard last email
It's probably worth mentioning then, that *ALL* of the ColdFusion scopes are structures. Server, Application, Client, Variables, This (in CFCs), Form, URL, Session, Caller (in custom tags) Have I missed any? :o) Cheers, Chris Bruce Sorge wrote: yes it is. What was messing me up though was not realizing that passed form fields are actually structures. So, I was basically creating a structure of a structure when all I had to do was parse through the existing one. Now that I know that, I understand and will have a much easier time of it next time. Bruce On 12/19/06, Christopher Jordan [EMAIL PROTECTED] wrote: Bruce, I had trouble getting my head around structures too (about two years ago), and now they're like my best friend. :o) I can probably help you to get your head around them too if you like. You solved your problem using a two dimensional array. That's fine. That works, but in referencing it later it would probably be nice to have an array of structures. I'll try and work with your example to show you what I mean. (or at least this is what I *think* your example was trying to accomplish). :o' GIVEN: Form.FieldNames = Germany,UK,Spain,Australia,Marz Form.Germany = German Form.UK = English Form.Spain = Spanish Form.Australia = English Form.Marz = Martian Then you could do something like this: CFSet WorldLanguages = ArrayNew(1) CFLoop index=i from=1 to=#ListLen(Form.FieldNames)# CFSet ThisCountry = ListGetAt(Form.FieldNames, i) CFSet WorldLanguages[i] = StructNew() CFSet WorldLanguages[i].Country = ThisCountry CFSet WorldLanguages[i].Language = Trim(Form[ThisCountry]) /CFLoop What this code should result in is a single dimensioned array each element of which is a structure. This makes for easy looping and easy reference. It's *almost* the same as referencing a query object (queryName.columnName). One thing that *really* helped me to get my head around this stuff, was to dump these structures and arrays and what-not using CFDump. It's amazing the clarity that I gained from seeing these things graphically represented on screen! It was the click that I needed to get me over the hump of understanding. Notice also, that it's not really necessary to use StructInsert (there may be advantages to doing so, but if there are I don't know of them). You can simply follow the name of your struct (i.e. MyStruct) by a period and a key name. It didn't have to exist up until that point. By the act of assigning a value to the structure key (CFSet MyStruct.KeyName = Hello World), you have just created that key as a member of that structure, and given it a value. Easy right? :o) If you still want help understanding structures, give a shout and I'd be happy to help you out however I can. Best of all, use CFDump to look at these things. It gives amazing clarity. :o) Cheers, Chris Bruce Sorge wrote: OK, I figure it out so please disregard the last message. I did it like this: !--- Create the initial array --- cfset languageArray= ArrayNew(1) !--- Loop through the form fields and get the names of them--- cfloop index=i list=#form.fieldnames# !--- If the field is not empty, get the info --- cfif LEN(form[i]) cfset languageArray[1][1] = #i# cfset languageArray[1][2] = #evaluate(form.#i#)# !--- Query will go here soon --- /cfif /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264507 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Disregard last email
Cfcatch :P Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 3:52 PM To: CF-Talk Subject: Re: Disregard last email It's probably worth mentioning then, that *ALL* of the ColdFusion scopes are structures. Server, Application, Client, Variables, This (in CFCs), Form, URL, Session, Caller (in custom tags) Have I missed any? :o) Cheers, Chris Bruce Sorge wrote: yes it is. What was messing me up though was not realizing that passed form fields are actually structures. So, I was basically creating a structure of a structure when all I had to do was parse through the existing one. Now that I know that, I understand and will have a much easier time of it next time. Bruce On 12/19/06, Christopher Jordan [EMAIL PROTECTED] wrote: Bruce, I had trouble getting my head around structures too (about two years ago), and now they're like my best friend. :o) I can probably help you to get your head around them too if you like. You solved your problem using a two dimensional array. That's fine. That works, but in referencing it later it would probably be nice to have an array of structures. I'll try and work with your example to show you what I mean. (or at least this is what I *think* your example was trying to accomplish). :o' GIVEN: Form.FieldNames = Germany,UK,Spain,Australia,Marz Form.Germany = German Form.UK = English Form.Spain = Spanish Form.Australia = English Form.Marz = Martian Then you could do something like this: CFSet WorldLanguages = ArrayNew(1) CFLoop index=i from=1 to=#ListLen(Form.FieldNames)# CFSet ThisCountry = ListGetAt(Form.FieldNames, i) CFSet WorldLanguages[i] = StructNew() CFSet WorldLanguages[i].Country = ThisCountry CFSet WorldLanguages[i].Language = Trim(Form[ThisCountry]) /CFLoop What this code should result in is a single dimensioned array each element of which is a structure. This makes for easy looping and easy reference. It's *almost* the same as referencing a query object (queryName.columnName). One thing that *really* helped me to get my head around this stuff, was to dump these structures and arrays and what-not using CFDump. It's amazing the clarity that I gained from seeing these things graphically represented on screen! It was the click that I needed to get me over the hump of understanding. Notice also, that it's not really necessary to use StructInsert (there may be advantages to doing so, but if there are I don't know of them). You can simply follow the name of your struct (i.e. MyStruct) by a period and a key name. It didn't have to exist up until that point. By the act of assigning a value to the structure key (CFSet MyStruct.KeyName = Hello World), you have just created that key as a member of that structure, and given it a value. Easy right? :o) If you still want help understanding structures, give a shout and I'd be happy to help you out however I can. Best of all, use CFDump to look at these things. It gives amazing clarity. :o) Cheers, Chris Bruce Sorge wrote: OK, I figure it out so please disregard the last message. I did it like this: !--- Create the initial array --- cfset languageArray= ArrayNew(1) !--- Loop through the form fields and get the names of them--- cfloop index=i list=#form.fieldnames# !--- If the field is not empty, get the info --- cfif LEN(form[i]) cfset languageArray[1][1] = #i# cfset languageArray[1][2] = #evaluate(form.#i#)# !--- Query will go here soon --- /cfif /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264508 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
On 12/19/06, Christopher Jordan [EMAIL PROTECTED] wrote: It's probably worth mentioning then, that *ALL* of the ColdFusion scopes are structures. Server, Application, Client, Variables, This (in CFCs), Form, URL, Session, Caller (in custom tags) Have I missed any? :o) CGI Arguments Attributes Cookie ? -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264509 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
On 12/19/06, Charlie Griefer [EMAIL PROTECTED] wrote: On 12/19/06, Christopher Jordan [EMAIL PROTECTED] wrote: It's probably worth mentioning then, that *ALL* of the ColdFusion scopes are structures. Server, Application, Client, Variables, This (in CFCs), Form, URL, Session, Caller (in custom tags) Have I missed any? :o) CGI Arguments Attributes Cookie ...? cffile -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264510 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT: javascript to prevent a normal link from working
Just to close the loop, I found a way to do it with the yahoo event handler. Basically I have tabs that pull data from other files, and if those files have links and the link is to an internal document open the liked doc in the tab, if an external document link like normal. Sort of like using an iframe but no iframes. Working example here. Click on 'don' to open other files. Actually tab 1 is a separate .htm file as well. http://dev.besavvy.com/Spry_P1_4_1214/samples/tabbedpanels/tabbed_panel_samp le.htm# Joshua -Original Message- From: Joshua Cyr [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 2:00 PM To: CF-Talk Subject: RE: OT: javascript to prevent a normal link from working Ah, but these are links I have no control over from other pages. The trick is that they are just normal pages that are pulled in to the tab. Joshua Cyr Savvy Software 866.870.6358 www.besavvy.com -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 1:48 PM To: CF-Talk Subject: Re: OT: javascript to prevent a normal link from working return false in your a href tag. a href=# onclick=doFunction(args); return false;foo/a On 12/19/06, Joshua Cyr [EMAIL PROTECTED] wrote: I am playing with YUI and spry and have a fun task of having content from other pages load into a tab system in spry. All is working well so far. Next I have event listener code to check for the click of any link in that tab content area (which is a separate file). Those links are just normal links with no onclick or anything. If you click on it load that linked pages data into the tab. That also works. What I am stuck on now is how to get the page to then stop going to the new page. In other words if the link goes to 'aboutus.cfm' I can get the content of aboutus.cfm to load into the tab content area, but the page then reloads fully to go to the aboutus.cfm page. Basically clicking on a link will trigger the function below which needs to stop the default behavior of opening a new page. I use return false; in my function, but that only cancel's things in IE7 and not firefox. I also tried return(false); with same result. Relevant JS is: function clickHandler(e) { var elTarget = YAHOO.util.Event.getTarget(e); // sets the var with the href of the new page Spry.Utils.updateContent('apDiv1',elTarget); // updates my div with new content return(false); // try to stop browser from opening new page } YAHOO.example.init = function() { YAHOO.util.Event.on(YAHOO.util.Dom.getElementsByClassName('joshua', 'div')[0], click, clickHandler); } Joshua Cyr Savvy Software 866.870.6358 http://www.besavvy.com/ www.besavvy.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264511 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
Man, you just can't get these people to disregard anything. ;o) lol! Cheers, Chris Charlie Griefer wrote: On 12/19/06, Charlie Griefer [EMAIL PROTECTED] wrote: On 12/19/06, Christopher Jordan [EMAIL PROTECTED] wrote: It's probably worth mentioning then, that *ALL* of the ColdFusion scopes are structures. Server, Application, Client, Variables, This (in CFCs), Form, URL, Session, Caller (in custom tags) Have I missed any? :o) CGI Arguments Attributes Cookie ...? cffile ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264512 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
The Error struct. can't forget that one. Charlie Griefer wrote: On 12/19/06, Charlie Griefer [EMAIL PROTECTED] wrote: On 12/19/06, Christopher Jordan [EMAIL PROTECTED] wrote: It's probably worth mentioning then, that *ALL* of the ColdFusion scopes are structures. Server, Application, Client, Variables, This (in CFCs), Form, URL, Session, Caller (in custom tags) Have I missed any? :o) CGI Arguments Attributes Cookie ...? cffile ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264513 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SeeFusion says 500, site says 200
Hey all, I have SeeFusion installed on our production server and it works dandy. Today I noticed we were getting hit by a spider, requesting the sitemap.cfm page repeatedly, a few times per second. In SeeFusion, it was showing the response as 500 Server Error. However, when I hit the page myself, it returns fine, as do all the links on the site map page itself. - Why would SeeFusion return 500 when the page seems to be returning fine on a regular http request? - Should I be worried about this, ie Google or whatever spider it is getting a 500 response when hitting the sitemap page, and possibly de-indexing our site? TIA -- Josh ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264514 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Adding pages to ColdFusion contribute site
The major issue is that Contribute doesn't have granular control of permissions. So, if Contribute users can edit the top level page, they can edit everything from there on down. And, as we all know, if a user can screw up, they will. Um, I didn't know what that little yellow shield was for, so I deleted it. We get around this by putting all pages in subfolders, with the content from the top level page included via CF. Have fun! -Deanna On 12/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Slightly OT. A client has a ColdFusion site. They also uses contribute to manage some of the content. Are there any issues with adding pages to the site outside of contribute. These pages do not need to be edited from within contribute. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264515 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: SeeFusion says 500, site says 200
Is the page getting the 500 error a form processing page? !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 3:31 PM To: CF-Talk Subject: SeeFusion says 500, site says 200 Hey all, I have SeeFusion installed on our production server and it works dandy. Today I noticed we were getting hit by a spider, requesting the sitemap.cfm page repeatedly, a few times per second. In SeeFusion, it was showing the response as 500 Server Error. However, when I hit the page myself, it returns fine, as do all the links on the site map page itself. - Why would SeeFusion return 500 when the page seems to be returning fine on a regular http request? - Should I be worried about this, ie Google or whatever spider it is getting a 500 response when hitting the sitemap page, and possibly de-indexing our site? TIA -- Josh ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264516 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4