RE: Request for Review: Variables in CFML
Thanks to Sean and Dave and others for lending a hand. I've updated the guide with corrections and suggestions: http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Guides/V ariables/Index.cfm If you've got a minute I'd still some some more opinions. Thanks in advance, Jim Davis ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Request for Review: Variables in CFML
Hi Jim, Isn't it possible for CFMX to scale session vars across a cluster now? You don't mention that, or I missed it (whether it's a good idea or not is another matter entirely). Did you hit on session management in a cluster? If it were me I'd go with client vars, but I guess using either client or session is now possible. Just a coupla thoughts at a godawful late (early for some) hour of the morning. Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com I've stopped 47,815 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:06 AM To: CF-Talk Subject: RE: Request for Review: Variables in CFML Thanks to Sean and Dave and others for lending a hand. I've updated the guide with corrections and suggestions: http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Guides/V ariables/Index.cfm If you've got a minute I'd still some some more opinions. Thanks in advance, Jim Davis ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
(CFMX) Array Max size?
I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: (CFMX) Array Max size?
cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = index#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / /cfloop this works fine for me. WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:11 To: CF-Talk Subject: (CFMX) Array Max size? I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: (CFMX) Array Max size?
actually this does too cfset myarray = arraynew(2) / cfloop from=1 to=15 index=i cfset myarray[i][1] = index#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / /cfloop this works fine for me. WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:11 To: CF-Talk Subject: (CFMX) Array Max size? I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (CFMX) Array Max size?
I modified and tested your code with no problem at all. I'm going to dig into this code again and test it. Also, the array was inside a CFMODULE which may have some effect. I'll find out soon. Thanks cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = index#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / /cfloop this works fine for me. WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:11 To: CF-Talk Subject: (CFMX) Array Max size? I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: (CFMX) Array Max size?
This works too. cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = a#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / cfdump var=#myarray[i]# / /cfloop Any chance this is an out-by-one error? BTW I'm just updating to ud3 WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:24 To: CF-Talk Subject: Re: (CFMX) Array Max size? Did you try to access each array element on each loop iteration? cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = index#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / /cfloop this works fine for me. WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:11 To: CF-Talk Subject: (CFMX) Array Max size? I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
TextArea (WYSIWYG) Editor
Would someone be able to suggest a textarea (WYSIWYG) editor that will work in Mac IE 5? Thanks! Scott Scott Wilhelm Computer Technician/Web Developer http://www.sllboces.org http://www.sllboces.org/ [EMAIL PROTECTED] Canton (Mon/Tue) St. Lawrence-Lewis BOCES PO Box 231, 139 State Street Road Canton, NY 13617 P. 315-386-4504 x 164 F. 315-386-3395 Heuvelton (Wed/Thu/Fri) Heuvelton Central School PO Box 375, 87 Washington Street Heuvelton, NY 13654 P. 315-344-2414 x 3651?xml:namespace prefix = o ns = urn:schemas-microsoft-com:office:office / ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
JetNexus for IIS
http://www.preactholdings.com/performance/ Anyone use this software we're looking at using this software for compression on our CF servers anyone have any thoughts and comments? I have come here to chew bubble gum and kick ass, and I'm all out of gum -- Rodey Piper in They Live -- Bill Wheatley Senior Database Developer Macromedia Advanced Coldfusion 5 Developer Ediets.com ICQ - 417645 Aim - Bill Ediets 954-360-9022 x159 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (CFMX) Array Max size?
OK, this is stranger than hell even though I got it to work. Basically, the error is thrown when a CFMODULE is called that has a certain amount of code in it. On first examination, it looks like it was the array size as limiting the array size causes the template to run OK. This was proven not to be the issue in experimentation. Additional tests made it look like ANY call to the large array from within a CFOUTPUT was causing a problem. Very strange. One thing that I tried was to remove the cfsetting EnableCFOutputOnly=YES from the template and all of a sudden it worked. Something with that tag and either the size of the array or the size of the template (or even the size of the result code) caused a strange error. Once I get some sleep I'll try to write this one up and submit it to MM. This works too. cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = a#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / cfdump var=#myarray[i]# / /cfloop Any chance this is an out-by-one error? BTW I'm just updating to ud3 WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:24 To: CF-Talk Subject: Re: (CFMX) Array Max size? Did you try to access each array element on each loop iteration? cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = index#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / /cfloop this works fine for me. WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:11 To: CF-Talk Subject: (CFMX) Array Max size? I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: (CFMX) Array Max size?
Any chance this is max java class code issue? Breaking up the code into functions might help test the issue. Sean has something in this blog about this limit WG -Original Message- From: Michael Dinowitz [mailto: Sent: 24 March 2003 13:45 To: CF-Talk Subject: Re: (CFMX) Array Max size? OK, this is stranger than hell even though I got it to work. Basically, the error is thrown when a CFMODULE is called that has a certain amount of code in it. On first examination, it looks like it was the array size as limiting the array size causes the template to run OK. This was proven not to be the issue in experimentation. Additional tests made it look like ANY call to the large array from within a CFOUTPUT was causing a problem. Very strange. One thing that I tried was to remove the cfsetting EnableCFOutputOnly=YES from the template and all of a sudden it worked. Something with that tag and either the size of the array or the size of the template (or even the size of the result code) caused a strange error. Once I get some sleep I'll try to write this one up and submit it to MM. This works too. cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = a#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / cfdump var=#myarray[i]# / /cfloop Any chance this is an out-by-one error? BTW I'm just updating to ud3 WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:24 To: CF-Talk Subject: Re: (CFMX) Array Max size? Did you try to access each array element on each loop iteration? cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = index#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / /cfloop this works fine for me. WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:11 To: CF-Talk Subject: (CFMX) Array Max size? I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: (CFMX) Array Max size?
Should be...max java class size issue? -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:57 To: CF-Talk Subject: RE: (CFMX) Array Max size? Any chance this is max java class code issue? Breaking up the code into functions might help test the issue. Sean has something in this blog about this limit WG -Original Message- From: Michael Dinowitz [mailto: Sent: 24 March 2003 13:45 To: CF-Talk Subject: Re: (CFMX) Array Max size? OK, this is stranger than hell even though I got it to work. Basically, the error is thrown when a CFMODULE is called that has a certain amount of code in it. On first examination, it looks like it was the array size as limiting the array size causes the template to run OK. This was proven not to be the issue in experimentation. Additional tests made it look like ANY call to the large array from within a CFOUTPUT was causing a problem. Very strange. One thing that I tried was to remove the cfsetting EnableCFOutputOnly=YES from the template and all of a sudden it worked. Something with that tag and either the size of the array or the size of the template (or even the size of the result code) caused a strange error. Once I get some sleep I'll try to write this one up and submit it to MM. This works too. cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = a#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / cfdump var=#myarray[i]# / /cfloop Any chance this is an out-by-one error? BTW I'm just updating to ud3 WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:24 To: CF-Talk Subject: Re: (CFMX) Array Max size? Did you try to access each array element on each loop iteration? cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = index#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / /cfloop this works fine for me. WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:11 To: CF-Talk Subject: (CFMX) Array Max size? I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (CFMX) Array Max size?
The code in question is a setup of the array, a loop over it with an if and an output in it. I'll read Sean's blog to see if it fits but it's really simple stuff which is why it took me the time it did to hunt down what was up. Thanks Any chance this is max java class code issue? Breaking up the code into functions might help test the issue. Sean has something in this blog about this limit WG -Original Message- From: Michael Dinowitz [mailto: Sent: 24 March 2003 13:45 To: CF-Talk Subject: Re: (CFMX) Array Max size? OK, this is stranger than hell even though I got it to work. Basically, the error is thrown when a CFMODULE is called that has a certain amount of code in it. On first examination, it looks like it was the array size as limiting the array size causes the template to run OK. This was proven not to be the issue in experimentation. Additional tests made it look like ANY call to the large array from within a CFOUTPUT was causing a problem. Very strange. One thing that I tried was to remove the cfsetting EnableCFOutputOnly=YES from the template and all of a sudden it worked. Something with that tag and either the size of the array or the size of the template (or even the size of the result code) caused a strange error. Once I get some sleep I'll try to write this one up and submit it to MM. This works too. cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = a#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / cfdump var=#myarray[i]# / /cfloop Any chance this is an out-by-one error? BTW I'm just updating to ud3 WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:24 To: CF-Talk Subject: Re: (CFMX) Array Max size? Did you try to access each array element on each loop iteration? cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = index#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / /cfloop this works fine for me. WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:11 To: CF-Talk Subject: (CFMX) Array Max size? I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (CFMX) Array Max size?
Should be...max java class size issue? It's reminiscent of a problem I've had using JSP custom tags in JRun, where the compilation would fail if you had too many custom tag invocations in a page. The only solution seemed to be to split the source up using JSP includes - quite annoying at the time. I think the error message there talked about illegal target of jump or branch. Nick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
TextArea (WYSIWYG) Editor
here is a list of editors http://www.bris.ac.uk/is/projects/cms/ttw/ttw.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Accessing JS variables in CF?
I have a form field called Zip and want to lookup/populate the city/state fields based on the zipcode entered. I'm thinking of using an onblur event to call the following JS function. Question how can I access the variable passed to the JS function inside a CF query? Is there a better way of accomplishing this lookup? CFPARAM name=vZip default= CFINPUT TYPE=text NAME=Zip SIZE=5 MAXLENGTH=5 onBlur=zipLookup(this.form.Zip) script language=JavaScript function zipLookup(zipcode) { if ((zipcode == ) || (zipcode.length 5) || (zipcode.length 5)) { alert('Please enter a five digit zipcode!'); document.Log.zip.value = ''; document.Log.zip.focus(); return false; } else /script CFSET vZip = script language=JavaScriptzipcode/script CFQUERY name=qZipLook datasource=dsn SELECT City, State FROM tbl_zipcodes WHERE zipcode = Trim(Variables.vZip) /CFQUERY CFIF IsDefined(qZipLook.RecordCount) AND qZipLook.RecordCount EQ 1 AND Variables.vZip is not script language=JavaScript document.Log.City.value = 'cfoutput#qZipLook.City#/cfoutput'; document.Log.State.value = 'cfoutput#qZipLook.State#/cfoutput'; /script /CFIF script language=JavaScript return true; } /script thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Accessing JS variables in CF?
Dave, You can't inter-mingle server-side code (CF) and client-side code (JS.) CF runs strictly on the server, while the JS in this example runs strictly on the client-side. You can use techniques like covered in my article Client-to-Server Communication Using DHTML--which is at: http://www.pengoworks.com/index.cfm?action=articles:gatewayApi To simplify the work, I've written a Gateway JavaScript API (JSAPI) which can be downloaded at: http://www.pengoworks.com/workshop/js/gateway/ Conveniently enough, I even have included examples to do what you're trying to do: http://www.pengoworks.com/workshop/js/gateway/zipcode.htm Hope this helps! -Dan -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:00 AM To: CF-Talk Subject: Accessing JS variables in CF? I have a form field called Zip and want to lookup/populate the city/state fields based on the zipcode entered. I'm thinking of using an onblur event to call the following JS function. Question how can I access the variable passed to the JS function inside a CF query? Is there a better way of accomplishing this lookup? CFPARAM name=vZip default= CFINPUT TYPE=text NAME=Zip SIZE=5 MAXLENGTH=5 onBlur=zipLookup(this.form.Zip) script language=JavaScript function zipLookup(zipcode) { if ((zipcode == ) || (zipcode.length 5) || (zipcode.length 5)) { alert('Please enter a five digit zipcode!'); document.Log.zip.value = ''; document.Log.zip.focus(); return false; } else /script CFSET vZip = script language=JavaScriptzipcode/script CFQUERY name=qZipLook datasource=dsn SELECT City, State FROM tbl_zipcodes WHERE zipcode = Trim(Variables.vZip) /CFQUERY CFIF IsDefined(qZipLook.RecordCount) AND qZipLook.RecordCount EQ 1 AND Variables.vZip is not script language=JavaScript document.Log.City.value = 'cfoutput#qZipLook.City#/cfoutput'; document.Log.State.value = 'cfoutput#qZipLook.State#/cfoutput'; /script /CFIF script language=JavaScript return true; } /script thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFC Performance Best Practice
The question I have, is there any performance advantages and/or disadvantages to one large CFC file versus several smaller ones? I'm writing an application using a CFC for all my administration database tasks. Currently I have everything in one CFC file. The tasks could probably be logically broken up into three or four smaller CFC files by function type. My question is there any performance reason to do this? The single large file will probably top out at about 20K, does this add to the overhead of any template calling on the CFC? -- Ian Skinner Web Programmer BloodSource Sacramento, CA ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
using string functions on extended characters (CF5)
Hi, Would anyone happen to know how I can uppercase extended characters in CF5? Using the Ucase function does not work. Unfortunately it has to be done in cf as opposed to on the db. Any suggestions? Thanks Kola ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Timeout/restart
Hi all! I just want to make sure I'm not missing something here. We have our server (CF 5.0 on Solaris) set to timeout requests at 30 seconds and restart the server after 3 long-running requests. We've found this to be optimal if the server hangs due to one application losing a datasource (and we have several different apps and can't let one bring them all down). However, I just realized that it also counts requests exceeding the set time that have the URL parameter of RequestTimeout=XXX (above what the admin is set at). This seems like a flaw because there are pages that will always run above the admin setting and I can't have the thing restarting every 3 of them. You would think it would overlook the ones specifically stating they will run longer. Otherwise the whole process stops and session variables are lost. Is there a workaround or something I'm missing? Thanks! Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC Performance Best Practice
Your best bet is to separate CFCs into their logical parts. This will aid in usuability and readablity. Performance differences would be negligable(sp?). Remember that CFCs are components and most developers will see them as that. So instead of having one big CFC for ecommerce app, you would have a component for each component of the ecommerce application (customers,orders,cart,etc..). My $0.02 -- Ryan Emerle -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:25 AM To: CF-Talk Subject: CFC Performance Best Practice The question I have, is there any performance advantages and/or disadvantages to one large CFC file versus several smaller ones? I'm writing an application using a CFC for all my administration database tasks. Currently I have everything in one CFC file. The tasks could probably be logically broken up into three or four smaller CFC files by function type. My question is there any performance reason to do this? The single large file will probably top out at about 20K, does this add to the overhead of any template calling on the CFC? -- Ian Skinner Web Programmer BloodSource Sacramento, CA ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JetNexus for IIS
Bill: I've never used (or even heard) of them, but you might also check out the following article before buying JetNexus: http://www.eggheadcafe.com/articles/20020716.asp It describes how to activate the compression that is built into IIS. It also suggests a different third-party app, XCompress (http://www.xcompress.com/) for compression. See the following link for a review of XCompress and a nice example of it in action: http://www.eggheadcafe.com/articles/20020907.asp Note, I've not used XCompress either, so don't consider this a recommendation. Just some sources for more info/options. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Bill Wheatley [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 8:42 AM To: CF-Talk Subject: JetNexus for IIS http://www.preactholdings.com/performance/ Anyone use this software we're looking at using this software for compression on our CF servers anyone have any thoughts and comments? I have come here to chew bubble gum and kick ass, and I'm all out of gum -- Rodey Piper in They Live -- Bill Wheatley Senior Database Developer Macromedia Advanced Coldfusion 5 Developer Ediets.com ICQ - 417645 Aim - Bill Ediets 954-360-9022 x159 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: LInk
sorry all.. i couldn't resist. http://www.coxar.pwp.blueyonder.co.uk/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
A Quick Question to Raymond RE: Your PowerPoint presentation...
Raymond, I was reading over your Powerpoint presentation last week (ColdFusionMX Application Security), and I just remembered something I had a quick question about... On the last page of the presentation you have the following: Extra Cookie-less Security Pass encrypted key in URL Like cookie-less session Use session variable Need to pass session.urlToken Need to coordinate session/login timeout. I was just wondering what this was referring to, and if maybe you could expand a little more on it...Specifically the Pass encrypted key in URL part. Also the pass session.urlToken part too...what's the deal with that? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: LInk
that's some good shite :) ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 11:15 AM To: CF-Talk Subject: OT: LInk sorry all.. i couldn't resist. http://www.coxar.pwp.blueyonder.co.uk/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: COLDFUSION w/ UNIX + SYBASE = NEWJOB (NYC)
I realize this is not the ideal list for this post, but I checked the cf-jobs list and saw a tumbleweed rolling by. There is a job opening at a Major Investement Brokereage firm in midtown NYC (If you know my history, you may guess which one). It pays well (considering the times) but is a great opportunity to get your foot in the door in the IB world (which I can attest, if market conditions improve, means MUCHO DINERO in the future). They are looking for an experienced CFer, with lots of RDBMS experience (Preferably Sybase, then MS SQL). Experience with Unix is KEY, and so is a general understanding of the old skool Mainframe world (PowerBuilder Huge Plus). At leas 5 years experience in client/server technology, or someone willing to fib about this (a little). If you are interested, please send an email OFFLIST to: [EMAIL PROTECTED] or to me directly. Be sure to mention my name (IGOR ILYINSKY) and your chances improve (I'm not shitting you). Good Luck!!! and pass it on -Igor Ilyinsky ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC Performance Best Practice
On Monday, Mar 24, 2003, at 07:24 US/Pacific, Ian Skinner wrote: The question I have, is there any performance advantages and/or disadvantages to one large CFC file versus several smaller ones? Not really (in terms of real-world, under load performance). Currently I have everything in one CFC file. The tasks could probably be logically broken up into three or four smaller CFC files by function type. In terms of maintainability and readability - which should generally be overwhelming concerns - you almost certainly want to break your CFC up into more logical components. Whilst I don't want to minimize performance issues, they really should take a back seat to maintainability issues. Remember that macromedia.com's back end is built heavily on CFCs using design patterns and a lot of good OO practice - and it handles over 15,000 active sessions during peak traffic. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFLOOP, another way?
Hi, When you use the cfhttp tag to post information to a web page, at the same time as you are using the cfloop tag, the page will submit the wrong number of variables to the page depending on which iteration you are going through in the loop. For example, if you are on the second iteration of the loop, the page will post two sets of variables, if you are on the third iteration it will submit three sets of variables. I’m not sure why. It may be a problem with one of the cf tags, or a problem that occurs when the two tags interact. I'm not sure if there is another possible way to perform the same functionality as the cfloop, iteration, without using the cfloop tag or maybe there is another possible solution to this? Here is an example of the problem. CFLOOP INDEX = n FROM = 1 TO = 2 CFHTTP METHOD = POST URL = http://www.computing.surrey.ac.uk/cgi-bin/R.Peel/getpost.pl; PATH = c:\ FILE = result#n#.html CFHTTPPARAM TYPE = FORMFIELD NAME = user VALUE = hello CFHTTPPARAM TYPE = FORMFIELD NAME = 'product VALUE = product1 /CFHTTP /CFLOOP The url above submits two variables to a page. This page tells you what variables were submitted. Two files are generated. In the first it shows that one set of variables were submitted. In the second “result2.html” it shows that two sets of variables were submitted. I think if I can find another way to perform a loop, I will not have to use these two tags together, but there may be another solution. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC Performance Best Practice
macromedia.com's back end is built heavily on CFCs using design patterns and a lot of good OO practice - and it handles over 15,000 active sessions during peak traffic. Speaking of which, is there going to be a run down of how it was developed? Showing best practices etc in developing large sites with CFMX, CFCs, Flash etc? Or is there one already that I've missed? I've seen the info on what's been done, but not HOW it's been done? Tim. --- RAWNET LTD - Internet, New Media and ebusiness Gurus. Visit our new website at http://www.rawnet.com for more information about our company, or call us anytime on 01344 393 040. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0) 1344 393 040 --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFLOOP, another way?
When you use the cfhttp tag to post information to a web page, at the same time as you are using the cfloop tag, the page will submit the wrong number of variables to the page depending on which iteration you are going through in the loop. For example, if you are on the second iteration of the loop, the page will post two sets of variables, if you are on the third iteration it will submit three sets of variables. IâEUR(tm)m not sure why. It may be a problem with one of the cf tags, or a problem that occurs when the two tags interact. I'm not sure if there is another possible way to perform the same functionality as the cfloop, iteration, without using the cfloop tag or maybe there is another possible solution to this? I haven't run into this problem, but it seems to me that you may be able to avoid the problem by putting your CFHTTP stuff in a custom tag (or CFC, in CFMX), then looping over that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (CFMX) Array Max size?
Yup, that would be it. My guess is that the array initialization generates enough code that it would exceed the Java class size limit but it interacts with the enableCFoutputOnly setting in a way that prevents the error occurring when it generates output... Edit the appropriate XML file to allow the generated Java code to hang around so you can see the difference in the generated code... On Monday, Mar 24, 2003, at 05:57 US/Pacific, webguy wrote: Any chance this is max java class code issue? Breaking up the code into functions might help test the issue. Sean has something in this blog about this limit WG -Original Message- From: Michael Dinowitz [mailto: Sent: 24 March 2003 13:45 To: CF-Talk Subject: Re: (CFMX) Array Max size? OK, this is stranger than hell even though I got it to work. Basically, the error is thrown when a CFMODULE is called that has a certain amount of code in it. On first examination, it looks like it was the array size as limiting the array size causes the template to run OK. This was proven not to be the issue in experimentation. Additional tests made it look like ANY call to the large array from within a CFOUTPUT was causing a problem. Very strange. One thing that I tried was to remove the cfsetting EnableCFOutputOnly=YES from the template and all of a sudden it worked. Something with that tag and either the size of the array or the size of the template (or even the size of the result code) caused a strange error. Once I get some sleep I'll try to write this one up and submit it to MM. This works too. cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = a#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / cfdump var=#myarray[i]# / /cfloop Any chance this is an out-by-one error? BTW I'm just updating to ud3 WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:24 To: CF-Talk Subject: Re: (CFMX) Array Max size? Did you try to access each array element on each loop iteration? cfset myarray = arraynew(2) / cfloop from=1 to=1500 index=i cfset myarray[i][1] = index#i# / cfset myarray[i][2] = test xx / cfset myarray[i][3] = text xx / /cfloop this works fine for me. WG -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:11 To: CF-Talk Subject: (CFMX) Array Max size? I've got a 2 dimensional array (well, it's actually someone else's) and when I run it I get this error message: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I've traced the problem to the array itself. When there are 89 entries in it, no problem. Once a 90th entry is added, it chokes. The 89th entry looks like this (in CFSCRIPT): langs[89][1] = F; langs[89][2] = es-bo; langs[89][3] = Spanish (Bolivia); If I cut out every entry over 89, no problem. If I add a 90th entry, even as a duplicate of 89, I get the error. Can someone else please test out their CFMX system for this? Just a simple 2 dimensional array with 3 items per row. See what the max is for you. I'm using UD3. Thanks Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Looping list in batch mode: best way?
We are being passed a comma delimited list with thousands of records...want to break into batches of 100. With cfloop list=listname delimiters=, you can't specify a range of 1-100 can you? What is the best way to handle this situation? Idea is then we would then update the database table to reflect it has been used, and not use again, then rerun the query which returns a list by design. This seems long and overly complex. Thanks a million!! Regards, Eric J. Hoffman DataStream Connexion www.datastreamconnexion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (CFMX) Array Max size?
On Monday, Mar 24, 2003, at 06:12 US/Pacific, Nick de Voil wrote: It's reminiscent of a problem I've had using JSP custom tags in JRun, where the compilation would fail if you had too many custom tag invocations in a page. The only solution seemed to be to split the source up using JSP includes - quite annoying at the time. I think the error message there talked about illegal target of jump or branch. Yup, a Java limitation - you had too much inline code (which was why splitting it into include files solved the problem). Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: using string functions on extended characters (CF5) [solved]
If any else should come across this problem... There is hot fix which addresses it at: http://www.macromedia.com/support/coldfusion/ts/documents/tn18135.htm Thanks to all those who replied :-( Kola -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 15:26 To: CF-Talk Subject: using string functions on extended characters (CF5) Hi, Would anyone happen to know how I can uppercase extended characters in CF5? Using the Ucase function does not work. Unfortunately it has to be done in cf as opposed to on the db. Any suggestions? Thanks Kola ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFLOOP, another way?
On Monday, Mar 24, 2003, at 08:44 US/Pacific, [EMAIL PROTECTED] wrote: When you use the cfhttp tag to post information to a web page, at the same time as you are using the cfloop tag, the page will submit the wrong number of variables to the page depending on which iteration you are going through in the loop. Yup, I've hit that problem. See my blog for a possible solution (courtesy of Brandon Purcell): http://www.corfield.org/blog/archives/2003_01.html#41 Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC Performance Best Practice
On Monday, Mar 24, 2003, at 08:52 US/Pacific, Tim Blair wrote: macromedia.com's back end is built heavily on CFCs using design patterns and a lot of good OO practice - and it handles over 15,000 active sessions during peak traffic. Speaking of which, is there going to be a run down of how it was developed? Showing best practices etc in developing large sites with CFMX, CFCs, Flash etc? Or is there one already that I've missed? I've seen the info on what's been done, but not HOW it's been done? Yes, we will be publishing a series of articles on Macromedia DevNet. My article on facades hints at some of the structure behind the site (at a very high level): http://www.macromedia.com/devnet/mx/flashremoting/articles/facades.html Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 aim/iChat: seancorfield -- http://www.macromedia.com An Architect's View -- http://www.macromedia.com/go/arch_blog Announcing Macromedia DevNet Subscriptions Maximize your power with our new premium software subscription Find out more: http://www.macromedia.com/go/devnetsubs ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX cannot handle charset for URL variables
When I type a unicode string in the form field and submit the form, there is no problem. However when I type the same unicode string in the address bar the problem occurs. Similarly when I use cflocation url=#unicode_string# in a page the problem repeats. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:36 AM To: CF-Talk Subject: Re: CFMX cannot handle charset for URL variables Murat Demirci wrote: I'm working on IIS. WFM http://cfmx.oli.tudelft.nl/url.cfm Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Request for Review: Variables in CFML
Monday, March 24, 2003, 11:46:36 AM, you wrote: SAC Client variables are restricted to simple data types, session variables SAC can be anything (including CFCs). That alone may be sufficient reason SAC to prefer session variables to client variables. Also, with client SAC variables, you are restricted to cookies (increasing download / get / SAC post time), registry (very bad!) or a database (serialization overhead SAC and data access times). I can't see the appeal of client variables so SAC I'd be interested to hear from folks - like Matt - who use them and SAC prefer them to session variables. Pre MX, session variables required locking, and pre 5.0 they were pretty unreliable imo. After being burned by disappearing session variables, pccode errors, and very strange locking issues/bugs in 4.0/4.5 I swore them off. Only very recently in MX have I started using them to hold cfcs. -- jon mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFINCLUDES and RE: CFC Performance Best Practice
Sean just wanted to revisit something, which is sort of related in a way. Am I right in my assumption that nested CFINCLUDES/CUSTOM TAGS cause performance issues in CFMX? I am fully aware that they are bad coding practice but just wanted to clarify this point. Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 8:37 AM To: CF-Talk Subject: Re: CFC Performance Best Practice On Monday, Mar 24, 2003, at 07:24 US/Pacific, Ian Skinner wrote: The question I have, is there any performance advantages and/or disadvantages to one large CFC file versus several smaller ones? Not really (in terms of real-world, under load performance). Currently I have everything in one CFC file. The tasks could probably be logically broken up into three or four smaller CFC files by function type. In terms of maintainability and readability - which should generally be overwhelming concerns - you almost certainly want to break your CFC up into more logical components. Whilst I don't want to minimize performance issues, they really should take a back seat to maintainability issues. Remember that macromedia.com's back end is built heavily on CFCs using design patterns and a lot of good OO practice - and it handles over 15,000 active sessions during peak traffic. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Request for Review: Variables in CFML
Personally I've always used client vars because of the less than stellar track record of session vars and clustered servers. If this issue has gone away with CFMX, then I may look at session vars again (as they sure can make life easier) ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Sean A Corfield [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 8:46 AM Subject: Re: Request for Review: Variables in CFML On Monday, Mar 24, 2003, at 02:57 US/Pacific, Matt Robertson wrote: Isn't it possible for CFMX to scale session vars across a cluster now? Yes, since you can use J2EE session variables and leverage the scalability of the underlying J2EE system. Did you hit on session management in a cluster? If it were me I'd go with client vars, but I guess using either client or session is now possible. Client variables are restricted to simple data types, session variables can be anything (including CFCs). That alone may be sufficient reason to prefer session variables to client variables. Also, with client variables, you are restricted to cookies (increasing download / get / post time), registry (very bad!) or a database (serialization overhead and data access times). I can't see the appeal of client variables so I'd be interested to hear from folks - like Matt - who use them and prefer them to session variables. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFINCLUDES and RE: CFC Performance Best Practice
On Monday, Mar 24, 2003, at 09:30 US/Pacific, Mike Brunt wrote: Am I right in my assumption that nested CFINCLUDES/CUSTOM TAGS cause performance issues in CFMX? I am fully aware that they are bad coding practice but just wanted to clarify this point. News to me... both that they supposedly cause performance issues and that they are bad coding practice... could you clarify for me? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
scrolling banner ads?
I realize this isn't quite the right place for this question but I'm sure many of you know the answer. Geocities home pages have a banner in the top right that will expand when you click on the expand collapse buttons. I remember it used to actually scroll along the right side of the page as the user moved the scroller around. Either way, does anybody know where I can get a watered down example of how that works? I looked into the source code and its a ton of Javascript that I don't want to spend the rest of my life weeding through. Thanks! -Jon ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: css, dhtml question
Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: scrolling banner ads?
Actually there was a similiar widget in the examples shipped with CF4.5, the surf shop example i think? WG -Original Message- From: Jon Block [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 17:44 To: CF-Talk Subject: scrolling banner ads? I realize this isn't quite the right place for this question but I'm sure many of you know the answer. Geocities home pages have a banner in the top right that will expand when you click on the expand collapse buttons. I remember it used to actually scroll along the right side of the page as the user moved the scroller around. Either way, does anybody know where I can get a watered down example of how that works? I looked into the source code and its a ton of Javascript that I don't want to spend the rest of my life weeding through. Thanks! -Jon ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFINCLUDES and RE: CFC Performance Best Practice
Ok Sean, on the performance I read that somewhere but cannot recall where, when I do I will point it out. With regard to coding bad practice I have no doubts that multiple layers of nested includes-custom tags are bad practice as they make code very hard to read and follow. Our opinion here at Webapper is that all who see our code should be able to fully understand what we did, how and why and even with the best of commenting multi-level nested includes are very hard to follow. Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 9:35 AM To: CF-Talk Subject: Re: CFINCLUDES and RE: CFC Performance Best Practice On Monday, Mar 24, 2003, at 09:30 US/Pacific, Mike Brunt wrote: Am I right in my assumption that nested CFINCLUDES/CUSTOM TAGS cause performance issues in CFMX? I am fully aware that they are bad coding practice but just wanted to clarify this point. News to me... both that they supposedly cause performance issues and that they are bad coding practice... could you clarify for me? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: IBM JRE with ColdFusion MX
I'm using IBM's 1.3.1 in a production CFMX environment with very good results: -- [www:cantrell]$ java -version java version 1.3.1 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1) Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20021102 (JIT enabled: jitc)) -- Christian On Friday, March 21, 2003, at 06:07 PM, Ruggiero, Kevin D wrote: I downloaded IBM JRE 1.3.0 to use with ColdFusion MX. I'm now getting some errors: javax/crypto/a (classdef not found). Anybody else get this JRE working with coldfusion mx? If so, did you have the same problems? Any info is VERY much appreciated!!! ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: css, dhtml question
since i don't have to much time - I glanced at browser view only - no source - And you have text all collapsing on each other - most often that is the result of a display property. display: none display: block display: inline etc OR position:asbolute vs position:relative. It looks as if you need a display:block so the elements on the right don't overlap the space set aside for the elements on the left. Also - if your not using float: left - the items from right can overlap left. Also - it is possible you need clear:right - depending on how you have your div's and such set up. Or - if your using some positioning attributes in . style properties which really should be # class . It looks like it may even be a combination of each of those. I recommend going to alistapart.com - reading some of their 2 column tutorials. hope that helps jay miller Mark A. Kruger - CFG wrote: Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Possible bug in Updater 3
We have seen the following change in behavior in cfmx updater 3: cfquery name =q datasource = #dsn# select id from table /cfquery the id is integer 1;2; 3 cfoutput#valueList (q.id)#/cfoutput will return 1,2,3 in cfmx updater 2 and 3 if the query is converted to a wddx package and converted back to a query: cfwddx action=cfml2wddx input=#q# output=session.wddxQuery cfwddx action=wddx2cfml input=#session.wddxQuery# output=q now: cfoutput#valueList (q.id)#/cfoutput will return 1.0,2.0,3.0 in updater 3 and it causing a lot of problems. Can anybody (MM) confirm this behavior Thanks Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: css, dhtml question
You're using Absolute Positioning and they're all set to be left:5px Absolute means absolute from the top/left corner of the browser, not from the DIV that they're contained within. Change the two DIVs inside the SideBar DIV from left:5px to left:130px; Also, instead of setting your height for the SideBar DIV to 1000px, try just using 100% instead. That way if your content is longer than 1000px the SideBar will still render. Good luck! Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-9044 ext. 254 * Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] * -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:51 PM To: CF-Talk Subject: OT: css, dhtml question Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: scrolling banner ads?
Jon: check out http://www.dynamicdrive.com hth, charlie Jon Block writes: I realize this isn't quite the right place for this question but I'm sure many of you know the answer. Geocities home pages have a banner in the top right that will expand when you click on the expand collapse buttons. I remember it used to actually scroll along the right side of the page as the user moved the scroller around. Either way, does anybody know where I can get a watered down example of how that works? I looked into the source code and its a ton of Javascript that I don't want to spend the rest of my life weeding through. Thanks! -Jon ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFINCLUDES and RE: CFC Performance Best Practice
Actually I disagree with this. It is true that breaking up code into smaller blocks that are contained in several files can make code hard to follow. Sometime you go from template - includes - tags - storedprocs - to database - triggers.. which can be pretty confusing. However the benefit of this approch becomes evident when you start changing code. And good documentation will help you here... Of course there is a difference between good abstraction and just writting spaghetti code, and I've written both:-) WG -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 18:01 To: CF-Talk Subject: RE: CFINCLUDES and RE: CFC Performance Best Practice Ok Sean, on the performance I read that somewhere but cannot recall where, when I do I will point it out. With regard to coding bad practice I have no doubts that multiple layers of nested includes-custom tags are bad practice as they make code very hard to read and follow. Our opinion here at Webapper is that all who see our code should be able to fully understand what we did, how and why and even with the best of commenting multi-level nested includes are very hard to follow. Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 9:35 AM To: CF-Talk Subject: Re: CFINCLUDES and RE: CFC Performance Best Practice On Monday, Mar 24, 2003, at 09:30 US/Pacific, Mike Brunt wrote: Am I right in my assumption that nested CFINCLUDES/CUSTOM TAGS cause performance issues in CFMX? I am fully aware that they are bad coding practice but just wanted to clarify this point. News to me... both that they supposedly cause performance issues and that they are bad coding practice... could you clarify for me? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT: css, dhtml question
Thanks Jay - it's not my code (I'm not a CSS guy at all) - but the author greatly appreciates your insight. -Original Message- From: Jason Miller [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:06 PM To: CF-Talk Subject: Re: OT: css, dhtml question since i don't have to much time - I glanced at browser view only - no source - And you have text all collapsing on each other - most often that is the result of a display property. display: none display: block display: inline etc OR position:asbolute vs position:relative. It looks as if you need a display:block so the elements on the right don't overlap the space set aside for the elements on the left. Also - if your not using float: left - the items from right can overlap left. Also - it is possible you need clear:right - depending on how you have your div's and such set up. Or - if your using some positioning attributes in . style properties which really should be # class . It looks like it may even be a combination of each of those. I recommend going to alistapart.com - reading some of their 2 column tutorials. hope that helps jay miller Mark A. Kruger - CFG wrote: Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT: css, dhtml question
Totally unrelated, but on the same topic. How might I go about putting a footer bar at the bottom of my page using CSS, rather than a table. I've had no problems with topbars, sidebars (either side) and the main content pane(s), but I can't get stuff to sit at the bottom of the page correctly. I tried 'bottom' (complementing top) but it seems to be tied to the browser's size, not the page's size, which doesn't work if the page scrolls, at least on IE6. Use JS to set it dynamically? footerbar.style.top = Math.max(menubar.style.height, contentpane.style.height) + topbar.style.height; that seems like a horrible way to do it to me. barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: charlie griefer [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:18 AM To: CF-Talk Subject: Re: OT: css, dhtml question may want to give the div class=sidebar a width... it might defined in the 'sidebar' class in the .css...i was too lazy to look :) charlie Mark A. Kruger - CFG writes: Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: A Quick Question to Raymond RE: Your PowerPoint presentation...
I'm trying to remember myself - guess I should learn to use the Notes field a bit more. ;) I believe the idea was to hack your own session.urltoken. Basically, every link would have x=YYY, where Y would be an encrypted form of the username and password. Then you would decrypt the value and relogin using cflogin each hit. Of course, that could be dangerous if someone breaks your encryption. As for the session thing - what you would do is simply store the username and password (and roles) in session values, then use session.urlToken. This would be a bit simpler for sure, although you would want to use the UUID for Session Token setting. Hope that makes sense. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Jeff [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:18 AM To: CF-Talk Subject: A Quick Question to Raymond RE: Your PowerPoint presentation... Raymond, I was reading over your Powerpoint presentation last week (ColdFusionMX Application Security), and I just remembered something I had a quick question about... On the last page of the presentation you have the following: Extra - Cookie-less Security Pass encrypted key in URL Like cookie-less session Use session variable Need to pass session.urlToken Need to coordinate session/login timeout. I was just wondering what this was referring to, and if maybe you could expand a little more on it...Specifically the Pass encrypted key in URL part. Also the pass session.urlToken part too...what's the deal with that? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: css, dhtml question
Personally - I handle footers in .cfm includes.. I find it much easier - and simply it includes it at the end of the code. So on shorter and longer pages it simply displays at end. If you needed to actually attach a footer to the bottom of the browser - something like div id=FooterAbs style=position: absolute; bottom: 0px; z-index: 300; would work. I added z-index more for demonstration - The issue is - that you can overalp content. Unlike using an include - that will put it at the bottom no matter what - you will need to scroll to get content beyone viewable screen -but footer will hang on to the bottom edge. Use it carefully because there are almost always some trouble spots. IF your footer can overlap content - not a biggie. In one case I used it - I assigned z-index of -100 ( which also has it's own bugs on browser versions) so on shorter page content the footer didn't interrupt. hope that helps jay miller Barney Boisvert wrote: Totally unrelated, but on the same topic. How might I go about putting a footer bar at the bottom of my page using CSS, rather than a table. I've had no problems with topbars, sidebars (either side) and the main content pane(s), but I can't get stuff to sit at the bottom of the page correctly. I tried 'bottom' (complementing top) but it seems to be tied to the browser's size, not the page's size, which doesn't work if the page scrolls, at least on IE6. Use JS to set it dynamically? footerbar.style.top = Math.max(menubar.style.height, contentpane.style.height) + topbar.style.height; that seems like a horrible way to do it to me. barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: charlie griefer [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:18 AM To: CF-Talk Subject: Re: OT: css, dhtml question may want to give the div class=sidebar a width... it might defined in the 'sidebar' class in the .css...i was too lazy to look :) charlie Mark A. Kruger - CFG writes: Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX Webservices hangup
Is there any way to check to see if a webservice exists before you call it? We have a application on a shared server, and as far as we can tell whenever the webservice can't connect to the remote server, it creates a server-crashing thread that eventually brings ColdFusion. It's on a shared box, so we're in a panic trying to get it fixed...any ideas? Tyler ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT: css, dhtml question
Barney... just a suggestion... check out these CSS lists: http://four.pairlist.net/mailman/listinfo/css-foundations http://www.css-discuss.org/mailman/listinfo/css-d -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:34 PM To: CF-Talk Subject: RE: OT: css, dhtml question Totally unrelated, but on the same topic. How might I go about putting a footer bar at the bottom of my page using CSS, rather than a table. I've had no problems with topbars, sidebars (either side) and the main content pane(s), but I can't get stuff to sit at the bottom of the page correctly. I tried 'bottom' (complementing top) but it seems to be tied to the browser's size, not the page's size, which doesn't work if the page scrolls, at least on IE6. Use JS to set it dynamically? footerbar.style.top = Math.max(menubar.style.height, contentpane.style.height) + topbar.style.height; that seems like a horrible way to do it to me. barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: charlie griefer [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:18 AM To: CF-Talk Subject: Re: OT: css, dhtml question may want to give the div class=sidebar a width... it might defined in the 'sidebar' class in the .css...i was too lazy to look :) charlie Mark A. Kruger - CFG writes: Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Possible bug in Updater 3
Marius- I'm currently looking into this. For now, I can see right away that if you name your output something other than q when converting wddx2cfml, which is the name of your original query, you should get your desired output. Thanks. Collin Tobin CFMX QA Engineer Macromedia® What the web can be.(tm) Announcing Macromedia DevNet Subscriptions Maximize your power with our new premium software subscription for Macromedia developers Find out more: http://www.macromedia.com/go/devnetsubs/ -Original Message- From: Marius Milosav [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:59 PM To: CF-Talk Subject: Possible bug in Updater 3 We have seen the following change in behavior in cfmx updater 3: cfquery name =q datasource = #dsn# select id from table /cfquery the id is integer 1;2; 3 cfoutput#valueList (q.id)#/cfoutput will return 1,2,3 in cfmx updater 2 and 3 if the query is converted to a wddx package and converted back to a query: cfwddx action=cfml2wddx input=#q# output=session.wddxQuery cfwddx action=wddx2cfml input=#session.wddxQuery# output=q now: cfoutput#valueList (q.id)#/cfoutput will return 1.0,2.0,3.0 in updater 3 and it causing a lot of problems. Can anybody (MM) confirm this behavior Thanks Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: TextArea (WYSIWYG) Editor
Would someone be able to suggest a textarea (WYSIWYG) editor that will work in Mac IE 5? ActivEdit from CFDev works on Mac and NS now, and with no plug in Although, the older Mac and NS versions are Java and very limited ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX Webservices hangup
You can check it via the factory service. But this is probably unavailable to you on a shared host. Why not wrap your web service call with cftry/cfcatch Bryan F. Hogan Director of Internet Development Team Macromedia Volunteer Macromedia Certified ColdFusion MX Developer Digital Bay Media, Inc. 1-877-72DIGITAL -Original Message- From: Tyler Silcox [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:46 PM To: CF-Talk Subject: CFMX Webservices hangup Is there any way to check to see if a webservice exists before you call it? We have a application on a shared server, and as far as we can tell whenever the webservice can't connect to the remote server, it creates a server-crashing thread that eventually brings ColdFusion. It's on a shared box, so we're in a panic trying to get it fixed...any ideas? Tyler ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX Webservices hangup
I'm assuming you've wrapped the cal in a try/catch block? You can always use CFHTTP to try to access the webservice and, on successful connect, use CFINVOKE to actually consume the service. It means making 2 hits to the web service tho... -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Tyler Silcox [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:46 PM To: CF-Talk Subject: CFMX Webservices hangup Is there any way to check to see if a webservice exists before you call it? We have a application on a shared server, and as far as we can tell whenever the webservice can't connect to the remote server, it creates a server-crashing thread that eventually brings ColdFusion. It's on a shared box, so we're in a panic trying to get it fixed...any ideas? Tyler ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX Webservices hangup
This is a complete hack, and I am sure there may be a better way to do it, but when I call a service, I go ahead and retrieve the WSDL via CFHTTP, www.thedomain.com/smoething.cfc?wsdl and if there is a connection error I will not try to consume the service. Thanks! Robert Bailey Famous for nothing -Original Message- From: Tyler Silcox [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:46 PM To: CF-Talk Subject: CFMX Webservices hangup Is there any way to check to see if a webservice exists before you call it? We have a application on a shared server, and as far as we can tell whenever the webservice can't connect to the remote server, it creates a server-crashing thread that eventually brings ColdFusion. It's on a shared box, so we're in a panic trying to get it fixed...any ideas? Tyler ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX cannot handle charset for URL variables
I'm not sure now whether it is a CF MX problem or not. It might be a browser problem. Any more ideas? -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Sunday, March 23, 2003 5:58 PM To: CF-Talk Subject: Re: CFMX cannot handle charset for URL variables Do you know CF MX has still problems with Unicode and other charsets. hardly any. When I use setEncoding(url,utf-8), CF MX displays some double-byte (the unicode number over than 255) as nothing. It displays nothing. show some code. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Possible bug in Updater 3
I retract that workaround--sorry. I will file a bug. Collin Tobin CFMX QA Engineer Macromedia® What the web can be.(tm) Announcing Macromedia DevNet Subscriptions Maximize your power with our new premium software subscription for Macromedia developers Find out more: http://www.macromedia.com/go/devnetsubs/ -Original Message- From: Marius Milosav [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:59 PM To: CF-Talk Subject: Possible bug in Updater 3 We have seen the following change in behavior in cfmx updater 3: cfquery name =q datasource = #dsn# select id from table /cfquery the id is integer 1;2; 3 cfoutput#valueList (q.id)#/cfoutput will return 1,2,3 in cfmx updater 2 and 3 if the query is converted to a wddx package and converted back to a query: cfwddx action=cfml2wddx input=#q# output=session.wddxQuery cfwddx action=wddx2cfml input=#session.wddxQuery# output=q now: cfoutput#valueList (q.id)#/cfoutput will return 1.0,2.0,3.0 in updater 3 and it causing a lot of problems. Can anybody (MM) confirm this behavior Thanks Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX Upgrade Issue and Solution
Good afternoon, I just upgraded my production web server to CFMX Pro this past weekend, and encountered an interesting error I wished to share with the group On of the functions that we use CF for is web based reporting from the Lawson Financial Package, including a PO Printout form. Before the upgrade, the PO Print worked without any issues. After the upgrade, certain PO's would not printout for us, and instead returned the following error. Error Executing Database Query.[MERANT][SequeLink JDBC Driver][ODBC Socket][Oracle][ODBC]Restricted data type attribute violation. The specific sequence of files included or processed is: C:\Inetpub\wwwroot\Dev\Lawson\poscreen.cfm As you can see, the error message does not make much sense. We went so far as to restore the Test server to CF 5 and make sure that the page worked properly on the previous version. After much research, we found that the error was linked to the case statement below. CASE when lawson.poline.taxable_flag = 'Y' Then (((lawson.poline.tax_code/100)*lawson.poline.taxbl_unt_cst)* lawson.poline.quantity) End as taxamt The statement above does not include an else statement. For some reason, CF 5 Pro did not care about this, but CF MX was returning an error, even though the page compiled fine. Once the else statement was added, the problem went away. I just wanted to share this issue and solution with the group, in case anyone else comes across a similar issue Any questions, please let me know Thanks Dave Sueltenfuss Application Developer Arch Wireless Phone: 508-870-6711 Fax: 508-870-8011 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT: css, dhtml question
Perhaps a better explaination is in order. The app is internal for an IE5.5+ only audience. It's quite visually complex, and I'm trying to keep the number of page loads down as the presentation changes as much as possible. I have a base page set up like this: +---+ | | +---+---+---+ | | | | | | | | | | | | | | | | | | | | +---+---+---+ | | +---+ The top 4 content areas all have variable content, while the footer is static. As well, the top 4 areas might not all be there, and they might be added or removed client-side. This is all working just dandy using absolute positioning and hiding stuff. However, I need to slap that footer bar at the bottom, and I need it to start below the other content areas (no overlap). I can't figure out a good way to do that, because I don't know how tall the middle 3 areas are (if they are present) until the client renders them. I might well be pursueing a pipe-dream, in which case I'll find another way, but it seems like this should be possible. thanks, barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: Jason Miller [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:53 AM To: CF-Talk Subject: Re: OT: css, dhtml question Personally - I handle footers in .cfm includes.. I find it much easier - and simply it includes it at the end of the code. So on shorter and longer pages it simply displays at end. If you needed to actually attach a footer to the bottom of the browser - something like div id=FooterAbs style=position: absolute; bottom: 0px; z-index: 300; would work. I added z-index more for demonstration - The issue is - that you can overalp content. Unlike using an include - that will put it at the bottom no matter what - you will need to scroll to get content beyone viewable screen -but footer will hang on to the bottom edge. Use it carefully because there are almost always some trouble spots. IF your footer can overlap content - not a biggie. In one case I used it - I assigned z-index of -100 ( which also has it's own bugs on browser versions) so on shorter page content the footer didn't interrupt. hope that helps jay miller Barney Boisvert wrote: Totally unrelated, but on the same topic. How might I go about putting a footer bar at the bottom of my page using CSS, rather than a table. I've had no problems with topbars, sidebars (either side) and the main content pane(s), but I can't get stuff to sit at the bottom of the page correctly. I tried 'bottom' (complementing top) but it seems to be tied to the browser's size, not the page's size, which doesn't work if the page scrolls, at least on IE6. Use JS to set it dynamically? footerbar.style.top = Math.max(menubar.style.height, contentpane.style.height) + topbar.style.height; that seems like a horrible way to do it to me. barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: charlie griefer [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:18 AM To: CF-Talk Subject: Re: OT: css, dhtml question may want to give the div class=sidebar a width... it might defined in the 'sidebar' class in the .css...i was too lazy to look :) charlie Mark A. Kruger - CFG writes: Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Possible bug in Updater 3
Hi Collin, Thanks for the quick response. Actually the real name of the query is not q. I just used q for the example and the behavior still the same. thanks Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm - Original Message - From: Collin Tobin [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 2:05 PM Subject: RE: Possible bug in Updater 3 Marius- I'm currently looking into this. For now, I can see right away that if you name your output something other than q when converting wddx2cfml, which is the name of your original query, you should get your desired output. Thanks. Collin Tobin CFMX QA Engineer Macromedia® What the web can be.(tm) Announcing Macromedia DevNet Subscriptions Maximize your power with our new premium software subscription for Macromedia developers Find out more: http://www.macromedia.com/go/devnetsubs/ -Original Message- From: Marius Milosav [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:59 PM To: CF-Talk Subject: Possible bug in Updater 3 We have seen the following change in behavior in cfmx updater 3: cfquery name =q datasource = #dsn# select id from table /cfquery the id is integer 1;2; 3 cfoutput#valueList (q.id)#/cfoutput will return 1,2,3 in cfmx updater 2 and 3 if the query is converted to a wddx package and converted back to a query: cfwddx action=cfml2wddx input=#q# output=session.wddxQuery cfwddx action=wddx2cfml input=#session.wddxQuery# output=q now: cfoutput#valueList (q.id)#/cfoutput will return 1.0,2.0,3.0 in updater 3 and it causing a lot of problems. Can anybody (MM) confirm this behavior Thanks Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Request for Review: Variables in CFML
Sean wrote: I'd be interested to hear from folks - like Matt - who use them and prefer them to session variables. You can pretty much take Jon Hall's post and add 'me too' to that. I had horrifying experiences with disappearing session vars, mostly related to code running on shared servers and the instability that comes from relying on memory-based storage. Using cvars for session management insulated my apps from cf service restarts, even cold reboots, so long as the next page request falls within the inactivity-based 'session' expiration the app still retains the user's session. Now, that's not the same environment as a cluster at all, but take that and couple it to the hoops necessary to jump thru when using an app that requires a lot of persistent vars (i.e. Step 1: copy to request scope. Step 2 process Step 3 copy back to session scope, and use locks... Or lock everything individually everywhere) compared to the relative simplicity of simply using cvars in code. I never missed the inability to store complex values given the ability to use CFWDDX to handle that issue. This is extra coding just like the locking I was whining about above, but my frequency of need for complex values isn't anything like the frequency associated with locking, and planning efficient use of same. I've never had a site that had high enough traffic to be able to notice the load coming off the cvar storage db, so I can't say at what point a cvar-based session management scheme will fall down where a svar-based one will not. To me, cvars are simpler to use and are, in my admittedly not all-encompassing experience, inherently more stable given their more permanent storage medium (a db, of course). Question: CFMX uses J2EE's session variables. I'm not up on this at all, but doesn't that mean I have to be using the much more expensive Enterprise for J2EE? Happy Monday :) Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX cannot handle charset for URL variables
Found a solution! CF MX has no bug! When I use a cflocation tag, I'll use URLEncodedFormat function with a second hidden parameter encoding like: cflocation url=url.cfm?text=#URLEncodedFormat(myUnicodeText,utf-8)# URLEncodedFormat function converts double-byte chars to equivalent forms. Very good! But why URLEncodedFormat doesn't use the utf-8 by default? Or why setEncoding(URL,UTF-8) function doesn't affect the URLEncodedFormat function? -Original Message- From: Murat Demirci [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 7:01 PM To: CF-Talk Subject: RE: CFMX cannot handle charset for URL variables When I type a unicode string in the form field and submit the form, there is no problem. However when I type the same unicode string in the address bar the problem occurs. Similarly when I use cflocation url=#unicode_string# in a page the problem repeats. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:36 AM To: CF-Talk Subject: Re: CFMX cannot handle charset for URL variables Murat Demirci wrote: I'm working on IIS. WFM http://cfmx.oli.tudelft.nl/url.cfm Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX Webservices hangup
Tyler, perhaps if you CFHTTP to it first as a test with a timeout of 10 seconds of something of that nature? And, if an error occurs, trap it with cftry and cfcatch.. and then display a message that states, Sorry the x service is not available now. Check back in a few hours. The CFHTTP would only check if there is an issue contacting the server. If the server is up.. but the page is returning a blank html page.. you may also want to interrogate the contents of the page before you call the web-service(cfhttp.filecontent) for a line of code that stays static.. (perhaps the XML declaration?). -Zine -Original Message- From: Tyler Silcox [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:46 PM To: CF-Talk Subject: CFMX Webservices hangup Is there any way to check to see if a webservice exists before you call it? We have a application on a shared server, and as far as we can tell whenever the webservice can't connect to the remote server, it creates a server-crashing thread that eventually brings ColdFusion. It's on a shared box, so we're in a panic trying to get it fixed...any ideas? Tyler ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Supposedly Fixed Bug Not Fixed?
Sorry for the double post, but I originally sent this on Sunday, where the low traffic might have missed this In the Release Notes for U3, it claims that Bug 49064 which was The cfwddx tag did not properly handle packets marked as version 0.9 was fixed. However, while running CFMX for JRun with U3, I'm still receiving the following error: WDDX packet parse error at line 1, column -1. Relative URI wddx_0090.dtd; can not be resolved without a base URI.. Is anybody with a patched machine (standalone or MX for J2EE) and using WDDX running into this error? Thanks, Dave. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT: css, dhtml question
-Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 2:11 PM To: CF-Talk Subject: RE: OT: css, dhtml question Perhaps a better explaination is in order. The app is internal for an IE5.5+ only audience. It's quite visually complex, and I'm trying to keep the number of page loads down as the presentation changes as much as possible. I have a base page set up like this: +---+ | | +---+---+---+ | | | | | | | | | | | | | | | | | | | | +---+---+---+ | | +---+ The top 4 content areas all have variable content, while the footer is static. As well, the top 4 areas might not all be there, and they might be added or removed client-side. This is all working just dandy using absolute positioning and hiding stuff. However, I need to slap that footer bar at the bottom, and I need it to start below the other content areas (no overlap). I can't figure out a good way to do that, because I don't know how tall the middle 3 areas are (if they are present) until the client renders them. perhaps you can run an onload event that looks at the hieghts and computes a new postion for this footer Doug I might well be pursueing a pipe-dream, in which case I'll find another way, but it seems like this should be possible. thanks, barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: Jason Miller [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:53 AM To: CF-Talk Subject: Re: OT: css, dhtml question Personally - I handle footers in .cfm includes.. I find it much easier - and simply it includes it at the end of the code. So on shorter and longer pages it simply displays at end. If you needed to actually attach a footer to the bottom of the browser - something like div id=FooterAbs style=position: absolute; bottom: 0px; z-index: 300; would work. I added z-index more for demonstration - The issue is - that you can overalp content. Unlike using an include - that will put it at the bottom no matter what - you will need to scroll to get content beyone viewable screen -but footer will hang on to the bottom edge. Use it carefully because there are almost always some trouble spots. IF your footer can overlap content - not a biggie. In one case I used it - I assigned z-index of -100 ( which also has it's own bugs on browser versions) so on shorter page content the footer didn't interrupt. hope that helps jay miller Barney Boisvert wrote: Totally unrelated, but on the same topic. How might I go about putting a footer bar at the bottom of my page using CSS, rather than a table. I've had no problems with topbars, sidebars (either side) and the main content pane(s), but I can't get stuff to sit at the bottom of the page correctly. I tried 'bottom' (complementing top) but it seems to be tied to the browser's size, not the page's size, which doesn't work if the page scrolls, at least on IE6. Use JS to set it dynamically? footerbar.style.top = Math.max(menubar.style.height, contentpane.style.height) + topbar.style.height; that seems like a horrible way to do it to me. barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: charlie griefer [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:18 AM To: CF-Talk Subject: Re: OT: css, dhtml question may want to give the div class=sidebar a width... it might defined in the 'sidebar' class in the .css...i was too lazy to look :) charlie Mark A. Kruger - CFG writes: Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: JetNexus for IIS
Before you do anything, Bill, give me a call and I'll get you a trial version of our product LoRCAT, the Load Reduction and Concentration Analysis Tool for ColdFusion. It not only performs a compile-time compression of all your ColdFusion, JS, CSS, SQL, etc., but it surgically analyzes your entire code base and shows you exactly where to concentrate your performance enhancement efforts. The speed increases are pretty phenomenal after you go through LoRCAT's Analysis and Production cycles. We haven't really formally announced it yet because our new site to sell it isn't up yet, but I can extend your trial period until the end of April to get around that problem. Respectfully, Adam Phillip Churvis Member of Team Macromedia Advanced Intensive ColdFusion MX Training ColdFusion MX and SQL Server 2000 Class: April 28, 2003 - May 2, 2003 http://www.ColdFusionTraining.com - Original Message - From: Bill Wheatley [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 8:42 AM Subject: JetNexus for IIS http://www.preactholdings.com/performance/ Anyone use this software we're looking at using this software for compression on our CF servers anyone have any thoughts and comments? I have come here to chew bubble gum and kick ass, and I'm all out of gum -- Rodey Piper in They Live -- Bill Wheatley Senior Database Developer Macromedia Advanced Coldfusion 5 Developer Ediets.com ICQ - 417645 Aim - Bill Ediets 954-360-9022 x159 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: A Quick Question to Raymond RE: Your PowerPoint presentation...
on 3/24/03 1:40 PM, Raymond Camden at [EMAIL PROTECTED] wrote: I'm trying to remember myself - guess I should learn to use the Notes field a bit more. ;) I believe the idea was to hack your own session.urltoken. Basically, every link would have x=YYY, where Y would be an encrypted form of the username and password. Then you would decrypt the value and relogin using cflogin each hit. Of course, that could be dangerous if someone breaks your encryption. As for the session thing - what you would do is simply store the username and password (and roles) in session values, then use session.urlToken. This would be a bit simpler for sure, although you would want to use the UUID for Session Token setting. Hope that makes sense. Yeah, it does. I ran across that bit this weekend and was curious how you tied up the presentation, and if anything you had added there at the end was something worthwhile following up on. It was, and I'm glad you remembered... ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX cannot handle charset for URL variables
I'm IE 6 with SP 1 and the option Send URL strings as unicode is checked. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 9:32 PM To: CF-Talk Subject: Re: CFMX cannot handle charset for URL variables Murat Demirci wrote: When I type a unicode string in the form field and submit the form, there is no problem. However when I type the same unicode string in the address bar the problem occurs. Similarly when I use cflocation url=#unicode_string# in a page the problem repeats. Most likely you are not using unicode in the address bar. Are you sure your browser is not submitting the string in whatever encodig is native for it? What do the URLEncoded query_strings look like? Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - Incorporating Yahoo! Maps
Read Paragraph 4 of their terms of use (the link at the bottom of the maps home page). You can't reproduce the map, nor can you use it for any commercial purpose. --- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- Original Message -- From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] date: Mon, 24 Mar 2003 13:40:40 -0600 (CST) Has anyone incorporated Yahoo! maps on their website. I have a site with property listings and want to use their map service to plot a map for the user. Any permission issues or licensing I should be aware of with using this? Eric Get your own free email account from http://www.popmail.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Looping list in batch mode: best way?
We are being passed a comma delimited list with thousands of records...want to break into batches of 100. With cfloop list=listname delimiters=, you can't specify a range of 1-100 can you? What is the best way to handle this situation? Idea is then we would then update the database table to reflect it has been used, and not use again, then rerun the query which returns a list by design. This seems long and overly complex. You could use ListToArray() and go through in blocks of 100 That way you can break it into whatever chunks you find works best for you ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT - Incorporating Yahoo! Maps
Has anyone incorporated Yahoo! maps on their website. I have a site with property listings and want to use their map service to plot a map for the user. Any permission issues or licensing I should be aware of with using this? Eric Get your own free email account from http://www.popmail.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Looping list in batch mode: best way?
If it were me, I'd take the list and turn it into an array. You could then (for example) store the array in a persistent scope (ie session, client, application) and specify start and stop variables in a for-type loop. HTH. -- Ben Doom Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] : Sent: Monday, March 24, 2003 11:54 AM : To: CF-Talk : Subject: Looping list in batch mode: best way? : : : We are being passed a comma delimited list with thousands of : records...want : to break into batches of 100. : : With cfloop list=listname delimiters=, you can't specify a range of : 1-100 can you? What is the best way to handle this situation? : : Idea is then we would then update the database table to reflect : it has been : used, and not use again, then rerun the query which returns a list by : design. This seems long and overly complex. : : Thanks a million!! : : Regards, : : Eric J. Hoffman : DataStream Connexion : www.datastreamconnexion.com : : : : : ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: css, dhtml question
Barney Boisvert wrote: +---+ | | +---+---+---+ | | | | | | | | | | | | | | | | | | | | +---+---+---+ | | +---+ The top 4 content areas all have variable content, while the footer is static. As well, the top 4 areas might not all be there, and they might be added or removed client-side. This is all working just dandy using absolute positioning and hiding stuff. However, I need to slap that footer bar at the bottom, and I need it to start below the other content areas (no overlap). I can't figure out a good way to do that, because I don't know how tall the middle 3 areas are (if they are present) until the client renders them. http://www.alistapart.com/stories/flexiblelayouts/ Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: RE: OT: css, dhtml question
IE5+ has something called expressions that will do what you need. Go to MSDN Library - Web development - HTML and Dynamic HTML - SDK Documentation - About Dynamic Properties - Original Message - From: Barney Boisvert [EMAIL PROTECTED] Date: Monday, March 24, 2003 12:11 pm Subject: RE: OT: css, dhtml question Perhaps a better explaination is in order. The app is internal for an IE5.5+ only audience. It's quite visually complex, and I'm trying to keep the number of page loads down as the presentation changes as much as possible. I have a base page set up like this: +---+ | | +---+---+---+ | | | | | | | | | | | | | | | | | | | | +---+---+---+ | | +---+ The top 4 content areas all have variable content, while the footer is static. As well, the top 4 areas might not all be there, and they might be added or removed client-side. This is all working just dandy using absolute positioning and hiding stuff. However, I need to slap that footer bar at the bottom, and I need it to start below the other content areas (no overlap). I can't figure out a good way to do that, because I don't know how tall the middle 3 areas are (if they are present) until the client renders them. I might well be pursueing a pipe-dream, in which case I'll find another way, but it seems like this should be possible. thanks, barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: Jason Miller [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:53 AM To: CF-Talk Subject: Re: OT: css, dhtml question Personally - I handle footers in .cfm includes.. I find it much easier - and simply it includes it at the end of the code. So on shorter and longer pages it simply displays at end. If you needed to actually attach a footer to the bottom of the browser - something like div id=FooterAbs style=position: absolute; bottom: 0px; z-index: 300; would work. I added z-index more for demonstration - The issue is - that you can overalp content. Unlike using an include - that will put it at the bottom no matter what - you will need to scroll to get content beyone viewable screen -but footer will hang on to the bottom edge. Use it carefully because there are almost always some trouble spots. IF your footer can overlap content - not a biggie. In one case I used it - I assigned z-index of -100 ( which also has it's own bugs on browser versions) so on shorter page content the footer didn't interrupt. hope that helps jay miller Barney Boisvert wrote: Totally unrelated, but on the same topic. How might I go about putting a footer bar at the bottom of my page using CSS, rather than a table. I've had no problems with topbars, sidebars (either side) and the main content pane(s), but I can't get stuff to sit at the bottom of the page correctly. I tried 'bottom' (complementing top) but it seems to be tied to the browser's size, not the page's size, which doesn't work if the page scrolls, at least on IE6. Use JS to set it dynamically? footerbar.style.top = Math.max(menubar.style.height, contentpane.style.height) + topbar.style.height; that seems like a horrible way to do it to me. barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: charlie griefer [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:18 AM To: CF-Talk Subject: Re: OT: css, dhtml question may want to give the div class=sidebar a width... it might defined in the 'sidebar' class in the .css...i was too lazy to look :) charlie Mark A. Kruger - CFG writes: Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX cannot handle charset for URL variables
Murat Demirci wrote: When I type a unicode string in the form field and submit the form, there is no problem. However when I type the same unicode string in the address bar the problem occurs. Similarly when I use cflocation url=#unicode_string# in a page the problem repeats. Most likely you are not using unicode in the address bar. Are you sure your browser is not submitting the string in whatever encodig is native for it? What do the URLEncoded query_strings look like? Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF 5 Oracle Best Pactices
I'm about to configure a CF 5 machine and was wondering if anyone knows the best version of Oracle to use with CF 5 - 8.0 vs 8.1.6 or 7 and if I should use native or ODBC. Any insight into best practices or experiences is appreciated - TIA! Rob ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - Incorporating Yahoo! Maps
I am not trying to reproduce it simply opening a blank page to the Yahoo! Map page giving Yahoo! full credit. Still a no go? Read Paragraph 4 of their terms of use (the link at the bottom of the maps home page). You can't reproduce the map, nor can you use it for any commercial purpose. Get your own free email account from http://www.popmail.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Parsing HTML files w/ ColdFusion
I want to parse html file extensions using ColdFusion MX. Or, in other words, I want to name all of my CF files with .html extensions. So how do I do this? I tried to add .html to the server extension list using the same .dll the server uses to process the .cfm files. Unfortunately, I get an error whenever I try and open an .html file: The document contains no data. Did I map the extension incorrectly? Is there something I missed? Many thanks -- Austin Govella ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Automatic File List in Database
How would be the easiest way to get a directories file names imported into a database and keep them updated automatically whenever a new file is created? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF 5 Oracle Best Pactices
Well, from an Oracle standpoint, 8.1.7 is the only RDBMS that is still supported by Oracle (except under their extended contracts). 9i offers some good things with administration tasks, but, if you're interested in an 8x solution, my vote would be 8.1.7. As far as native vs. OBDC, I would use Native, since I remember (at least back in the days of CF 4.01) that Native drivers were faster than ODBC. That may be different now, but I always try to use native if available. FWIW, -lincoln -Original Message- From: Robert Shaw [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:26 PM To: CF-Talk Subject: CF 5 Oracle Best Pactices I'm about to configure a CF 5 machine and was wondering if anyone knows the best version of Oracle to use with CF 5 - 8.0 vs 8.1.6 or 7 and if I should use native or ODBC. Any insight into best practices or experiences is appreciated - TIA! Rob ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - Incorporating Yahoo! Maps
its not yahoo maps but I have something for mapquest I have a real estate company and I use it to map the properties I have submitted it to www.dwfaq.com as a snippet but I don't think they have posted it yet. if you want it let me know and I will post it Dave - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 2:40 PM Subject: OT - Incorporating Yahoo! Maps Has anyone incorporated Yahoo! maps on their website. I have a site with property listings and want to use their map service to plot a map for the user. Any permission issues or licensing I should be aware of with using this? Eric Get your own free email account from http://www.popmail.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF 5 Oracle Best Pactices
we use 8.1.7 solely and extensively. We are using the Micrsoft ODBC drivers too. We get good results and stability. We use the native drivers only if we need to mess with CLOBS. A Ray Thompson on this list or the CFDJLIST said he has done abit of testing and found the M$ drivers good. YMMV DOUG -Original Message- From: Robert Shaw [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:26 PM To: CF-Talk Subject: CF 5 Oracle Best Pactices I'm about to configure a CF 5 machine and was wondering if anyone knows the best version of Oracle to use with CF 5 - 8.0 vs 8.1.6 or 7 and if I should use native or ODBC. Any insight into best practices or experiences is appreciated - TIA! Rob ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Automatic File List in Database
Well you could use CFDIRECTORY to get the file list and store it in the database. To keep that list current is another matter. It depends on how current the list needs to be (or how often the files change). If it's not too frequently you could have a scheduled task that routinely deletes the file list from the database and sticks in the current list (same way you would get it in the database initially). HTH Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Michael Pool [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:36 PM Subject: Automatic File List in Database How would be the easiest way to get a directories file names imported into a database and keep them updated automatically whenever a new file is created? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT: css, dhtml question
Barney, I worked on a web application once that worked (and looked) almost identical to what you have there. We used DHTML (DynAPI a JS Library) and it gave height's etc of the DIV's after content had been set.. thus being able to put footers at the bottom. my point, yes it can be done, if DynAPI had the numbers available to see then the browser has them.. take a look in the DynAPI library and see how they did it. specifically the setHTML() function somewher (been about 2 years sorry) -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 March 2003 6:11 AM To: CF-Talk Subject: RE: OT: css, dhtml question Perhaps a better explaination is in order. The app is internal for an IE5.5+ only audience. It's quite visually complex, and I'm trying to keep the number of page loads down as the presentation changes as much as possible. I have a base page set up like this: +---+ | | +---+---+---+ | | | | | | | | | | | | | | | | | | | | +---+---+---+ | | +---+ The top 4 content areas all have variable content, while the footer is static. As well, the top 4 areas might not all be there, and they might be added or removed client-side. This is all working just dandy using absolute positioning and hiding stuff. However, I need to slap that footer bar at the bottom, and I need it to start below the other content areas (no overlap). I can't figure out a good way to do that, because I don't know how tall the middle 3 areas are (if they are present) until the client renders them. I might well be pursueing a pipe-dream, in which case I'll find another way, but it seems like this should be possible. thanks, barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: Jason Miller [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:53 AM To: CF-Talk Subject: Re: OT: css, dhtml question Personally - I handle footers in .cfm includes.. I find it much easier - and simply it includes it at the end of the code. So on shorter and longer pages it simply displays at end. If you needed to actually attach a footer to the bottom of the browser - something like div id=FooterAbs style=position: absolute; bottom: 0px; z-index: 300; would work. I added z-index more for demonstration - The issue is - that you can overalp content. Unlike using an include - that will put it at the bottom no matter what - you will need to scroll to get content beyone viewable screen -but footer will hang on to the bottom edge. Use it carefully because there are almost always some trouble spots. IF your footer can overlap content - not a biggie. In one case I used it - I assigned z-index of -100 ( which also has it's own bugs on browser versions) so on shorter page content the footer didn't interrupt. hope that helps jay miller Barney Boisvert wrote: Totally unrelated, but on the same topic. How might I go about putting a footer bar at the bottom of my page using CSS, rather than a table. I've had no problems with topbars, sidebars (either side) and the main content pane(s), but I can't get stuff to sit at the bottom of the page correctly. I tried 'bottom' (complementing top) but it seems to be tied to the browser's size, not the page's size, which doesn't work if the page scrolls, at least on IE6. Use JS to set it dynamically? footerbar.style.top = Math.max(menubar.style.height, contentpane.style.height) + topbar.style.height; that seems like a horrible way to do it to me. barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: charlie griefer [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:18 AM To: CF-Talk Subject: Re: OT: css, dhtml question may want to give the div class=sidebar a width... it might defined in the 'sidebar' class in the .css...i was too lazy to look :) charlie Mark A. Kruger - CFG writes: Can someone give me the quick and dirty answer on why this page doesn't render correctly in IE? http://www.thelifegate.net/Pages/ClassReg.asp thanks! -mk ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all
RE: Automatic File List in Database
Is performance a huge issue? If it's not, just use the database named 'the filesystem' and 'query' it with CFDIRECTORY rather than CFQUERY. If that won't work for whatever reason, you'd have to use a scheduled task to use CFDIRECTORY and refresh the database periodically. The former will result in instant updates with no administrative overhead, the latter will be faster for recalling, but cost to maintain the database. barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.671.8708 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: Michael Pool [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:37 PM To: CF-Talk Subject: Automatic File List in Database How would be the easiest way to get a directories file names imported into a database and keep them updated automatically whenever a new file is created? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Automatic File List in Database
Now that I think of it...why store the file list in the DB? Why not just use CFDIRECTORY when the list is needed...that way it's always current and there is no maintenance required. Of course you may have some reason to store it, but there ya go ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:53 PM Subject: Re: Automatic File List in Database Well you could use CFDIRECTORY to get the file list and store it in the database. To keep that list current is another matter. It depends on how current the list needs to be (or how often the files change). If it's not too frequently you could have a scheduled task that routinely deletes the file list from the database and sticks in the current list (same way you would get it in the database initially). HTH Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Michael Pool [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:36 PM Subject: Automatic File List in Database How would be the easiest way to get a directories file names imported into a database and keep them updated automatically whenever a new file is created? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - Incorporating Yahoo! Maps
-- Original Message -- From: Dave Lyons [EMAIL PROTECTED] its not yahoo maps but I have something for mapquest I'm doing a real estate site for my realtor and looked at Mapquest for mapping the neighborhood he focuses on. However, the MapQuest TOS are similar to Yahoo's and reproducing the maps on a commercial site go against the TOS. (In my case, the map will be updatable by my client on his admin site, and I'm putting in bold text that they need to verify that the map is not covered by copyright or other restrictions. I can't stop him from posting a MapQuest map, but I can't say he wasn't warned, either.) Scott Scott Brady http://www.scottbrady.net/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - Incorporating Yahoo! Maps
Hot without violating the 'non-commercial' part of their licensing. Thats the kicker. --- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- Original Message -- From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] date: Mon, 24 Mar 2003 15:38:03 -0600 (CST) I am not trying to reproduce it simply opening a blank page to the Yahoo! Map page giving Yahoo! full credit. Still a no go? Read Paragraph 4 of their terms of use (the link at the bottom of the maps home page). You can't reproduce the map, nor can you use it for any commercial purpose. Get your own free email account from http://www.popmail.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Automatic File List in Database
The file list holds images and drawings, which need descriptions in another field in order to be selected. There are thousands of files and the files have strange naming conventions. Best I can figure, I need a field with paths and a field with descriptions, so I can call them up and display them in the page. I tried using CFDIRECTORY, but describing the files is the main thing. - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:59 PM Subject: Re: Automatic File List in Database Now that I think of it...why store the file list in the DB? Why not just use CFDIRECTORY when the list is needed...that way it's always current and there is no maintenance required. Of course you may have some reason to store it, but there ya go ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:53 PM Subject: Re: Automatic File List in Database Well you could use CFDIRECTORY to get the file list and store it in the database. To keep that list current is another matter. It depends on how current the list needs to be (or how often the files change). If it's not too frequently you could have a scheduled task that routinely deletes the file list from the database and sticks in the current list (same way you would get it in the database initially). HTH Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Michael Pool [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:36 PM Subject: Automatic File List in Database How would be the easiest way to get a directories file names imported into a database and keep them updated automatically whenever a new file is created? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
MORE Automatic File List in Database with description
Q: How would be the easiest way to get a directories file names imported into a database and keep them updated automatically whenever a new file is created? The file list holds images and drawings, which need descriptions in another field in order to be selected. There are thousands of files and the files have strange naming conventions. Best I can figure, I need a field with paths and a field with descriptions, so I can call them up and display them in the page with their descriptions. I tried using CFDIRECTORY, but describing the files a must. I don't know how CFDIRECTORY could do that ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Automatic File List in Database
The file list holds images and drawings, which need descriptions in another field in order to be selected. There are thousands of files and the files have strange naming conventions. Best I can figure, I need a field with paths and a field with descriptions, so I can call them up and display them in the page. I tried using CFDIRECTORY, but describing the files is the main thing. If the description isn't always going to be there, then why not have the location and file name, plus the description in the database, that way you can reference it for those that it needs Then use a Query of Query to join the CFDIRECTORY result to the information in the database Would that work? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF 5 Oracle Best Pactices
I've found bugs with the Oracle odbc drivers (version 8.1.7.0). With some data I'd get cursor errors. After upgrading to MX and using native jdbc drivers, I am no longer experiencing these errors. I suggest you use native drivers- the ODBC drivers were buggy for me. Also, 8.1.7.0 is a good idea because for reasons stated below. -Original Message- From: Lincoln Milner [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:46 PM To: CF-Talk Subject: RE: CF 5 Oracle Best Pactices Well, from an Oracle standpoint, 8.1.7 is the only RDBMS that is still supported by Oracle (except under their extended contracts). 9i offers some good things with administration tasks, but, if you're interested in an 8x solution, my vote would be 8.1.7. As far as native vs. OBDC, I would use Native, since I remember (at least back in the days of CF 4.01) that Native drivers were faster than ODBC. That may be different now, but I always try to use native if available. FWIW, -lincoln -Original Message- From: Robert Shaw [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:26 PM To: CF-Talk Subject: CF 5 Oracle Best Pactices I'm about to configure a CF 5 machine and was wondering if anyone knows the best version of Oracle to use with CF 5 - 8.0 vs 8.1.6 or 7 and if I should use native or ODBC. Any insight into best practices or experiences is appreciated - TIA! Rob ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
unsubscribe
unsubscribe ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4