HOF site staff
I'm trying to change my email address for this list. I have forgotten my un/pw, and there does not appear to be a email me my info setting on HOF. Help! Cutter ~| 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: HOF site staff
It gave me the pw, but when I try to edit my account info I get the following message: The username and/or password you have entered is invalid. Any suggestions anyone? Cutter Ken Wilson wrote: Left side menu has this link. Used it myself a couple of days ago and it sent both UserName and Password to me just fine. http://www.houseoffusion.com/signin/index.cfm?method=password -Original Message- From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 10:55 AM To: CF-Talk Subject: HOF site staff I'm trying to change my email address for this list. I have forgotten my un/pw, and there does not appear to be a email me my info setting on HOF. Help! Cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF Studio adjustment
When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| 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 Studio adjustment
David, Thanks, but this option is already selected in the editor. I guess that only applies to the tag name itself. Cutter [EMAIL PROTECTED] wrote: options/settings/Markup Languages/Lowercase all inserted tags David Murphy www.cfugcny.org = = = Original message = = = When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| 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
[RESOLVED]: CF Studio adjustment
Now I found it. Looking in the wrong folder at the wrong file altogether. cutter Cutter (CF_Talk) wrote: David, Thanks, but this option is already selected in the editor. I guess that only applies to the tag name itself. Cutter [EMAIL PROTECTED] wrote: options/settings/Markup Languages/Lowercase all inserted tags David Murphy www.cfugcny.org = = = Original message = = = When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF based financial calculators
Nate, Check out the Mortgage Calc on http://www.firstshorefederal.com and contact me off list if it would meet your needs. (Gratis) Cutter Nate wrote: Can anyone point me to a good source for CF based financial calculators? I am looking for loan and mortage payment calcs as well as savings, IRA (Roth and regular) calcs. I am willing to pay whatever is necessary for some really good calculators. I checked the CF developer's exchange and the offering there was somewhat lackluster. Thanks, Nate ~| 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
Form.Fieldnames and MX
Ok, what happened? I used to be able to loop through form.fieldnames to create a list of all of the fields and then I could write my processor script. CFMX, on the other hand, gives me the following: Element FIELDNAMES is undefined in FORM. Anybody have any ideas? Cutter ~| 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: Shopping Cart Solutions
NopDesign's NopCart is a free low end js cart that you can build in final processing (WebAuthorize or something similar) http://www.nopdesign.com Cutter Russ wrote: All, I know this one has been around the block a few times, but I've got a need for a cart solution that's pretty basic (SiteDirector is great as a product, but not for this project, as an example). We need to simply pass along some basic information (Location, cost, etc.), allow for the purchase to happen, then return to a receipt page that allows us to display some basic identity and non-fraud info, as well as email a receipt (I'm assuming showing just last 4 of CC or something of that nature). So far, it doesn't look as if there'd be an array of products that would matter, no upselling, etc. Can anyone offer any recommendations that would work with CFMX and that are cost-effective? Thanks in advance! Russ Russ Unger Managing Partner blueChrome design, LLC www.bluechromedesign.com 312.593.4260 :office 877.433.8427 :pager 312.873.4033 :fax ~| 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: Form.Fieldnames and MX
I wasn't aware of this one. I attempted something along the lines of: cfoutput#structkeylist(form)#/cfoutput But was not given any results. Would this only give me results for fields containing a value? I'm just trying to get the names of every form field... Cutter Tim Blair wrote: Ok, what happened? I used to be able to loop through form.fieldnames Try structkeylist(form) Tim. --- OUR NEW SITE IS NOW LIVE Visit our new website at http://www.rawnet.com/ and race around the beautiful Bracknell streets at http://xmas.rawnet.com/ --- 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: Form.Fieldnames and MX
Though Form is selected for Display, nothing for Form is coming up on the action page in the debugging info. (Maybe because no data is being passed?) Cutter Andy Ousterhout wrote: Turn on Display Variables in CF Admin and see what is getting passed -Original Message- From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 8:29 AM To: CF-Talk Subject: Form.Fieldnames and MX Ok, what happened? I used to be able to loop through form.fieldnames to create a list of all of the fields and then I could write my processor script. CFMX, on the other hand, gives me the following: Element FIELDNAMES is undefined in FORM. Anybody have any ideas? Cutter ~| 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: Form.Fieldnames and MX
Yes, method=post Cutter Willy Ray wrote: You sure your method attribute is set to 'POST'? [EMAIL PROTECTED] 02/13/03 08:26AM Though Form is selected for Display, nothing for Form is coming up on the action page in the debugging info. (Maybe because no data is being passed?) Cutter Andy Ousterhout wrote: Turn on Display Variables in CF Admin and see what is getting passed -Original Message- From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 8:29 AM To: CF-Talk Subject: Form.Fieldnames and MX Ok, what happened? I used to be able to loop through form.fieldnames to create a list of all of the fields and then I could write my processor script. CFMX, on the other hand, gives me the following: Element FIELDNAMES is undefined in FORM. Anybody have any ideas? Cutter ~| 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: MX Compatible Spell Checker
Ben Forta has one in the ColdFusion | Custom Tag section of his site http://www.forta.com Cutter \Tangorre,Michael wrote: Has anyone built or found a spell checker that is compatible with CF MX? We were using Ben Forta's, but he has not released an updated one yet. Thoughts? Suggestions? Thanks, Michael T. Tangorre ~| 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: Shopping Cart
There is a javascript shopping care called nopcart at http://www.nopdesign.com. It is free, easy to modify, and I've integrated it with ColdFusion on several occasions. (It is used for course registration and publication ordering on http://www.wetland.org) Cutter Attley, Simon (CMG-SF) wrote: Howdy list members, I'm trying to build a small site for my girlfriend. She wants to sell care packages. I'm an intermediate developer but have never built a shopping cart. We do have a few dollars in the budget, but I would appreciate list input and or direction to any good books or resources on shopping carts. I could build it if I had an example to work with, but need a little direction. I have ColdFusion available and know one thing, I want to use session variables. Thank you in advance, I appreciate any input. Simon Attley ~| 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: Book recommendation
Dynamics of Sofware Development - Jim McCarthy Software Project Survival Guide - Steve McConnell Debugging The Development Process - Steve Maguire Don't let the MS Press backing fool you, these guys have been at it for years... Cutter Fregas wrote: Hello all. I'm a pretty well rounded programmer now, nearing my four year mark of using Coldfusion, SQL, VB, ASP and getting into this .NET stuff. I'd like to know if anyone had a good book recommendation for writing reliable software, thinking more logically, reducing errors, etc? I'm looking for something that is not language specific--more of a general good practices philosophy/methodology book. One of my complaints with college is they are tending to teach less of the general principles that are important in all languages and instead focus on a specific vendor. Does anyone know of such a book? Maybe something written by some of the the programming Gurus in the 70's to 80's that is still relevant today? Thanks, Fregas ~| 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: Nested Record Sets and Menus
This is for a school district's adult ed site. They want the HeirMenu for the primary menu, plus a side nav for their section 508 compliance. They want the ability to edit the menu and it's options at will, since they will have an editor for adding additional pages to the site. I need to create the HM_Array.js on the fly (through script language=Javascript type=text/javascript src=HM_Array.cfm/script) from the db, as well as the side nav with the same options (depending on what section a user is in). I am using CFMX along with the design pattern layed out at http://www.benorama.com. The beginning basic layout (without the working menus) can be seen at http://polytech2.dmvwebhosting.com. Cutter Matthew Walker wrote: Implementing the nested set model is a big task. If you're running out of time, I would recommend giving up. Due to its complexity, this is something that should be addressed at the very earliest stages of development IMO. What do you actually need to do? Create a tree and move nodes around it? Then generate menus based on that? Is the ability to edit the tree once made important? Could you set the system up now and add editing later? What's the situation? - Original Message - From: Cutter (CF_Talk) [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 6:27 PM Subject: Re: Nested Record Sets and Menus Unfortunately this is not an option. I have little to no control over the SQL 7 server, and our sysad will not load any type of XML plugin. Any other options? Anyone? The time crunch is breakin' my back here... Cutter John Quarto-vonTivadar wrote: the best way to think about Nested Record Sets (a la Celko) is to just think of them as XML. If you can understand it that way, then you the human are all set (pardon the pun). The various code snippets and stored procs that you see floating around are just ways of translating that to/from a relational database. In fact, with CFMX's decent XML handling, it might be easier for you just to work in terms of XML and let the RDBMS' native code for translating XML into records do the nasty work for you (I think SQL Server either has XML capability built in or available as a plug-in or something) - Original Message - From: Cutter (CF_Talk) [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 03, 2003 10:08 AM Subject: Nested Record Sets and Menus Could somebody please help me... SecretAgents.com used to have paid tutorials to show you how to do things. They had a set of tutorials on how to setup/access/update/use nested record sets on MSSQL to create heirmenus. So, after reading the first three, I put in the PO request to my company to get access to the final tutorials (the ones with the real juice). While my finance folks took there time in processing the request (about a week) all tutorials dissappeared from the site. The site manager told me that they would be back, but they have not yet (this has been 3 weeks and my finance people have file thirteened my request now for lack of access). Some folks on this list have given me links to some extensive, exhaustive and complicated articles that I am still trying to decipher. Has anyone here done this already? Can someone help me figure this out? Or provide some sample info? I've got a client who's getting way restless now, and this is the last piece of info I need to get them straight. Any help would be greatly appreciated. Cutter ~| 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
Nested Record Sets and Menus
Could somebody please help me... SecretAgents.com used to have paid tutorials to show you how to do things. They had a set of tutorials on how to setup/access/update/use nested record sets on MSSQL to create heirmenus. So, after reading the first three, I put in the PO request to my company to get access to the final tutorials (the ones with the real juice). While my finance folks took there time in processing the request (about a week) all tutorials dissappeared from the site. The site manager told me that they would be back, but they have not yet (this has been 3 weeks and my finance people have file thirteened my request now for lack of access). Some folks on this list have given me links to some extensive, exhaustive and complicated articles that I am still trying to decipher. Has anyone here done this already? Can someone help me figure this out? Or provide some sample info? I've got a client who's getting way restless now, and this is the last piece of info I need to get them straight. Any help would be greatly appreciated. Cutter ~| 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: Nested Record Sets and Menus
Unfortunately this is not an option. I have little to no control over the SQL 7 server, and our sysad will not load any type of XML plugin. Any other options? Anyone? The time crunch is breakin' my back here... Cutter John Quarto-vonTivadar wrote: the best way to think about Nested Record Sets (a la Celko) is to just think of them as XML. If you can understand it that way, then you the human are all set (pardon the pun). The various code snippets and stored procs that you see floating around are just ways of translating that to/from a relational database. In fact, with CFMX's decent XML handling, it might be easier for you just to work in terms of XML and let the RDBMS' native code for translating XML into records do the nasty work for you (I think SQL Server either has XML capability built in or available as a plug-in or something) - Original Message - From: Cutter (CF_Talk) [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 03, 2003 10:08 AM Subject: Nested Record Sets and Menus Could somebody please help me... SecretAgents.com used to have paid tutorials to show you how to do things. They had a set of tutorials on how to setup/access/update/use nested record sets on MSSQL to create heirmenus. So, after reading the first three, I put in the PO request to my company to get access to the final tutorials (the ones with the real juice). While my finance folks took there time in processing the request (about a week) all tutorials dissappeared from the site. The site manager told me that they would be back, but they have not yet (this has been 3 weeks and my finance people have file thirteened my request now for lack of access). Some folks on this list have given me links to some extensive, exhaustive and complicated articles that I am still trying to decipher. Has anyone here done this already? Can someone help me figure this out? Or provide some sample info? I've got a client who's getting way restless now, and this is the last piece of info I need to get them straight. Any help would be greatly appreciated. Cutter ~| 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: JS form validation script
Anybody up to attempting to help me debug a JS form validation script I'm working on? Cutter ~| 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: JS form validation script
The script is to loop through the fieldnames array to validate each field specified. Each Item of the fieldnames array is an array: Fieldname, FieldType, ErrorMessage, ValidateForBadCharacters, ValidateAnEmailAddress I started by just checking for isEmpty, which is working fine. Then I began testing for bad characters (checkChar). This took a little tweeking, but now it's working fine. Then I began to test the email. Ouch! Process stops here: check if isEmpty, then check if it needs a character check (blValChar) and if it does then do it (checkChar). Then check if the field needs an address validation (blValMail)... This is where it stops. It gets to phone, sees that it is not empty, then does the first boolean (blValChar) and since it does it performs the character check (checkChar). Then it goes to check if it requires address validation (blValMail)...and it breaks. The blValMail function (for the first time) throws an error stating that 'Item.4' is null or not an object. I can't figure it out, it's been driving me nuts for hours now. Any help is greatly appreciated...(Here's the basic form) form action=process2.cfm method=post onsubmit=return valForm(this) name=Form1 input type=hidden name=subject value=Literature Request input type=hidden name=poster value=1 div style=text-align:center; table border=0 width=450 cellpadding=2 border=#C0C0C0 cellspacing=0 tr td class=clsFieldName align=right width=25% Name:nbsp; /td td width=75% input type=Text name=name size=47 class=clsBoxes / /td /tr tr td class=clsFieldName align=right Title:nbsp; /td td input type=Text name=title size=47 class=clsBoxes / /td /tr tr td class=clsFieldName align=right Company:nbsp; /td td input type=Text name=company size=47 class=clsBoxes / /td /tr tr td class=clsFieldName align=right Address:nbsp; /td td input type=Text name=address size=47 maxlength=110 class=clsBoxes /br / input type=Text name=address2 size=47 maxlength=110 class=clsBoxes / /td /tr tr td class=clsFieldName align=right City/State/Zip:nbsp; /td td input type=Text name=city size=22 maxlength=75 class=clsBoxes /,nbsp; select name=state_province class=clsBoxes option value= option value=/option option value=AEAE/option option value=AKAK/option option value=ALAL/option option value=APAP/option option value=ARAR/option option value=AZAZ/option option value=CACA/option option value=COCO/option option value=CTCT/option option value=DCDC/option option value=DEDE/option option value=FLFL/option option value=GAGA/option option value=HIHI/option option value=IAIA/option option value=IDID/option option value=ILIL/option option value=ININ/option option value=KSKS/option option value=KYKY/option option value=LALA/option option value=MAMA/option option value=MDMD/option option value=MEME/option option value=MIMI/option option value=MNMN/option option value=MOMO/option option value=MSMS/option option value=MTMT/option option value=NCNC/option option value=NDND/option option value=NENE/option option value=NHNH/option option value=NJNJ/option option value=NMNM/option option value=NVNV/option option value=NYNY/option option value=OHOH/option option value=OKOK/option option value=OROR/option option value=PAPA/option option value=RIRI/option
[Resolved] JS form validation script
I figured it out. Since I used 'i' for my index of my ValForm() function I could not also use it in the character loop of the charCheck() function. i would increment far past the number of items in my fieldnames array, which is why I got null errors when attempting to access a value. I changed the index in charCheck() to j and it works (well, it required a bit more tweaking, but it came out for the most part. Cutter Joshua Miller wrote: A couple things: 1. Is there someplace I can see this online to check it out? 2. Have you tried just popping up the value of Item[4] when you run through the validator? A lot of times that will give you a good idea what's going on. Just stick an alert(Item[4]); in the function that's breaking. Then try an alert with that value - ie: if it's showing the value of Item[4] is Item.4 then try to alert(Item.4); and see if it's an object or a null value or what. Something like: function blValMail(field) { Item = field; // Debug alert(Item); return Item[4]; // Debug alert(Item[4]); // USING THE VALUE OF THE ITEM ABOVE alert(Item.4); //or whatever the value from the alert above is. It will say [object] or [NaN] or undefined or something. } 3. It looks at first glance like the value of Item will be a fieldname (I may be way off) but how could there be an array of the fieldname? For example if I have a field named email using your code I'd be looing for email[4]. What would the value of email[4] be? 4. It seems like it would be MUCH simpler to include your messages and return codes in the individual validation functions instead of inside an array inside another array. You'll never need the message for invalid email inside another validator - save yourself the headache and section the messages and status codes into the individual functions, then just pass the fieldname to the validator. 5. Here's what I've got: http://66.241.216.34/atomm/test_validation.cfm If you're interested I can send you the corresponding CF_RealFormNames tag that goes with this. You're more than welcome to take it, tweak it and make it do whatever you want. It would help if I could see this online to see how it's laid out - if possible. If you want to see my validator let me know and I'll send it to you. Thanks, 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] * ~| 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: MM Suprises Wall Street - Can more be done?
It's a matter of balance. A complete knowledge of most languages is not absolutely necessary. Many developers can easily compete if they have: 1) a no nonsense work ethic, 2) a solid understanding of a languages syntax, 3) a good understanding of a languages abilities/limitations, 4) a strong foundation in programming and design concepts, 5) a fair listing of community resources (like user groups, sample code sites and lists such as this one) 6) and detailed language references. Mastery of a single language is great, but can be limiting. A broadening of one's understanding and abilities is not only liberating but can improve your overall growth as a developer just through exposure alone. Cutter Jeffry Houser wrote: At 11:23 AM 1/24/2003 -0500, you wrote: I would be cautious with the advice for developers to become multi-skilled. In a perfect world, I would be able to do a task in PHP, Perl, CF, ASP or Java, but in the real world my head would explode knowing everything there is to know about that. Plus you stretch yourself too thin if you try to be everything to everyone. I would be cautious advising developers to become single skilled. Because then if one technology fails, you are screwed. -- Jeffry Houser | mailto:[EMAIL PROTECTED] DotComIt, Putting you on the web AIM: Reboog711 | Phone: 1-203-379-0773 -- My CFMX Book: http://www.amazon.com/exec/obidos/ASIN/0072225564/instantcoldfu-20 My Books: http://www.instantcoldfusion.com -- Ask me how to get a free recording of your band -- Original Energetic Acoustic Rock: http://www.farcryfly.com 80's, 90's, and Now: http://www.mtmexperience.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
Verity - why won't it work?
I have a site for a local school board set up on a Linux server running CFMX. I have set up two separate Verity collections, one to index the entire site and one to only index a documents directory. Having never done this before (and our lead developer not having any idea why it wasn't working) I killed the two prior, unworking, collections and recreated them from scratch. I just followed the ambiguous directions included in the Help of the CFIDE administrator. Although I have these two collections setup, and supposedly correctly, I am still unable to get any results. The CFSEARCH worked fine when this was all set up on a CF 4.5.2 machine, but we migrated the site when they asked for a redesign. Are there changes to CFSEARCH that I am unaware of? Any suggestions? Below is some of the code... cfsearch collection=[collectionname] criteria=#form.terms# name=qryData type=SIMPLE cfoutput strong#qryData.recordcount#/strong records found matching strong#form.terms#/strong out of strong#qryData.recordsSearched#/strong. cfif qryData.recordcount gt 0 . /cfif And the output of any query is... 0 records found matching [term] out of . ~| 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: Verity - why won't it work?
Different search pages are used to access each collection. It is a shared environment, though currently these are the only two collections on this server. Approximately 100 pages and 30+ documents (word and .pdf). Both collections worked fine when the site was on the 4.5.2 server (but we can't go back). Cutter Mark Leder wrote: If you have multiple collections, separate these in the COLLECTION value with commas. Also, are you running CF in a dedicated or shared environment? Also, how many pages would you guess are being indexed? Did the two prior unworking collections work at any time in the past? Thanks, Mark -Original Message- From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 10:26 AM To: CF-Talk Subject: Verity - why won't it work? I have a site for a local school board set up on a Linux server running CFMX. I have set up two separate Verity collections, one to index the entire site and one to only index a documents directory. Having never done this before (and our lead developer not having any idea why it wasn't working) I killed the two prior, unworking, collections and recreated them from scratch. I just followed the ambiguous directions included in the Help of the CFIDE administrator. Although I have these two collections setup, and supposedly correctly, I am still unable to get any results. The CFSEARCH worked fine when this was all set up on a CF 4.5.2 machine, but we migrated the site when they asked for a redesign. Are there changes to CFSEARCH that I am unaware of? Any suggestions? Below is some of the code... cfsearch collection=[collectionname] criteria=#form.terms# name=qryData type=SIMPLE cfoutput strong#qryData.recordcount#/strong records found matching strong#form.terms#/strong out of strong#qryData.recordsSearched#/strong. cfif qryData.recordcount gt 0 . /cfif And the output of any query is... 0 records found matching [term] out of . ~| 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: Back/Next Forms
I believe if you use history.replace('mypage.cfm'); to navigate back it will keep the form values (I think...) Cutter Thane Sherrington wrote: I'm building a multipaged form with back and next buttons. All the form fields are checkboxes. I want the boxes to remember what is checked when I go back and forth between pages. Do I create a list of hidden form fields carrying the values already submitted, or do I use session variables, or is there a better way that I'm not seeing? T ~| 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: Verity - why won't it work?
I think I have, but this is my first experience with Verity so I don't know for sure. All I did was follow what little instructions were available in the CFIDE Help. Cutter Ben Doom wrote: Here's a silly question (but one that got me after a long day): did you index the collection after you created it? I was re-indexing an empty index and it wasn't working until I went into the admin and indexed it. Then it worked properly. I figure you already thought of this, but I always like to start with the obvious and work my way to the esoteric. :-) -- Ben Doom Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] : Sent: Thursday, January 23, 2003 1:17 PM : To: CF-Talk : Subject: Re: Verity - why won't it work? : : : Different search pages are used to access each collection. It is a : shared environment, though currently these are the only two collections : on this server. Approximately 100 pages and 30+ documents (word and : .pdf). Both collections worked fine when the site was on the 4.5.2 : server (but we can't go back). : : Cutter : : Mark Leder wrote: : : If you have multiple collections, separate these in the COLLECTION value : with commas. : Also, are you running CF in a dedicated or shared environment? Also, how : many pages would you guess are being indexed? Did the two prior : unworking : collections work at any time in the past? : : Thanks, Mark : : -Original Message- : From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] : Sent: Thursday, January 23, 2003 10:26 AM : To: CF-Talk : Subject: Verity - why won't it work? : : : I have a site for a local school board set up on a Linux server running : CFMX. I have set up two separate Verity collections, one to index the : entire site and one to only index a documents directory. Having never : done this before (and our lead developer not having any idea why it : wasn't working) I killed the two prior, unworking, collections and : recreated them from scratch. I just followed the ambiguous directions : included in the Help of the CFIDE administrator. Although I have these : two collections setup, and supposedly correctly, I am still unable to : get any results. The CFSEARCH worked fine when this was all set up on : a CF 4.5.2 machine, but we migrated the site when they asked for a : redesign. Are there changes to CFSEARCH that I am unaware of? Any : suggestions? Below is some of the code... : : cfsearch collection=[collectionname] : criteria=#form.terms# : name=qryData : type=SIMPLE : : cfoutput : : strong#qryData.recordcount#/strong records found : matching strong#form.terms#/strong out of : strong#qryData.recordsSearched#/strong. : : cfif qryData.recordcount gt 0 : . : /cfif : : And the output of any query is... : : 0 records found matching [term] out of . : : : : ~| 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: Image toolbar
Ray, You may want to check out the JScript info on the MSDN site. JScript (MS's extended take on javascript) gives you access to many of the internal workings of IE. Cutter Ray Bujarski wrote: I have images that I want to protect, IE put in this new browser feature in that when you hover your mouse over the image it pops up a toolbar that allows the user to print, save, email, etc the picture they are hovering thier mouse over. I found in the browser settings where you can turn this off at, but is there an attribute I can add to my image tags or a js function similar to turning off the right mouse button I can use to turn this off? Thanks, Ray ~| 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
CF Hosting Suggestions
Anyone know who is the low cost CFMX host with MSSQL or mySQL support? (and mail) ~| 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: CFC's and people management
I'm working on a site for a school district's adult ed program. They are requiring no less than 4 different access areas with multiple levels of control. After a little research I'm expanding upon a roles based security model that I originally read about on the MM site (CFC best practices: Component functions and function invocation by Anthony McClure, http://www.macromedia.com/desdev/mx/coldfusion/articles/cfc_practices.html). A very basic outline is given, and the sample includes (ohboy) an Access db, but with fairly minor modification it can be put together into a viable roles based security model. Cutter Gyrus wrote: Hi all, I'm planning an MX revamp to our bespoke CMS, and I'm wondering about restructuring the way people are handled, using CFC's. In my current system there are users who can login to the admin functions. This works fine, most of the time. Only, when you get clients who have login accounts to access a client-only area, I've often found myself having to create client accounts for users, so they can login to the client-only area as well to see the content they're managing. (BTW, this is all based on having a frontend and a backend, two separate CF applications. Obviously this issue would be ironed out if there's one site that can be administered from within - something I'm planning on trying.) It gets more complex when it comes to having company contacts - some of whom will be users - and maybe a more general category of people (one site I've built associated content items with one or more people, if there's an article about a specific person, or if the item is a review of an album, it links to the people table to specify the artists). I'm wondering whether I should just have one top-level people table / person.cfc that models and manages absolutely any types of people in the site. Then you'd maybe have subset tables / subtype CFC's like administrators, users, contacts, etc. In some cases there might be another level, e.g. person administrator developer, depending on whether developers would need much extra information about them storing. I'm only starting out with CFC's, so I'm just wondering whether this is a valid, effective way to start thinking about remodelling my CMS. Would I just end up with too many table joins accessing all those subset tables? Or would the fact that this will be done in CFC's reduce this problem by only having any less-than-easy SQL joins in one central place? Any comments/thoughts welcome, Gyrus [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://norlonto.net PGP key available ~| 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: Integrating C#
Have the C# program return the variables as XML to be used by your CF app (C# has a lot of built in XML support) Cutter Brad Roberts wrote: I've got an application written in C# that I need to integrate into our CF app. The C# app makes a HTTP request, grabs a WDDX packet (a query with about 15,000 records), does some intense calculations, and returns just a few variables. Unfortunately, I know nothing about C#, and the programmer who does, knows nothing about CF. Any suggestions? -Brad ~| 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: Application.cfm
If an Application.cfm file exists it will automatically be loaded prior to loading the called .cfm page, even if the file called is within a subdirectory (unless the subdirectory has it's own Application.cfm) Cutter Scott Wilhelm wrote: Do I have to include application.cfm in all my cfm pages, or is that automatically done for you? Scott ~| 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: submiting forms created server side
We do this quite often. After building your form try... script form.submit(); /script Cutter Jay Kufner wrote: Hello everybody- I'm sure this is one of those I've been working for to long and I've overlooked the answer 100 times sort of questions. I've built a shopping cart and I'm trouble shooting the form submission. The Payment gateway is Authorize net. The problem comes when submitting the customers' order and credit card information: In addition to the customers Information, Authorize net requires you to submit specific form fields, some of which are sensitive passwords, and access codes. Obviously I can't hard code the information as hidden fields in the html form, anybody who viewed the source code would see the sensitive material. I want to take the form the user filled out, submit it to a CF template, add the sensitive data, then submit the augmented form to the Authorize net gateway (which requires a FORM submitted via Post to https://secure.authorize.net/gateway/transact.dll), AND that brings me to my question: How do I post a form to this address with out having a user hit the submit button. How do I post a form from the coldfusion server to that address? As always, thanks in advanced for your help! Jason ~| 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
SecretAgents.com Tutorials
So, I started these tutorials to teach me how to do a hierarchy menu using nested data sets. I really wanted to learn this so that I could begin creating my HM_Array.js files dynamically. The first 3 tutorials were free, the last 3 (which give you the important details) required a subscription. So I go to my company to get a subscription. They finally approve it and it is sitting on the CFO's desk waiting to be processed. So I go to the site to review the 1st 3 tutorials... But now the site is not the same site. Oh, it has the same logo, the same URL, but now it's a site to submit jobs to be done, or for a developer to take a fuse. Anybody know how I can get what I need? Cutter ~| 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: Visual Fusion - Thoughts?
More like $35 - $50, but I live in a low rent district... Cutter Adrocknaphobia Jones wrote: Just so I don't float off into some self conceived alternate reality where I realistically charge for my services... is everyone else charging 75 an hour? Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -Original Message- From: Rafael Alan Bleiweiss [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 7:10 PM To: CF-Talk Subject: Re: Visual Fusion - Thoughts? Adrocknaphobia Jones wrote: If a client won't pay a few grand for a server, then usually the job is not worth my time. Additionally, these are the clients who will ask for Oh my God... yeah? Send those clients to me - I'd be happy to get the $75 an hour for my time that I charge regardless of whether they want their own server or not! ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Visual Fusion - Thoughts?
As you are under 25 I'll only say that passing up work opportunities because a client won't drop a few grand on a server could land you on the unemployment line in today's climate. Trust me, I know. Cutter Adrocknaphobia Jones wrote: Well to counter the argument about clients not wanting to pay for the server for intranet applications: If a client won't pay a few grand for a server, then usually the job is not worth my time. Additionally, these are the clients who will ask for the moon, then come back and say oh, I have to pay for this? Basically these are the clients I steer clear of in the interest of preventing a stroke by 25. Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -Original Message- From: Pablo Varando [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 6:02 PM To: CF-Talk Subject: Re: Visual Fusion - Thoughts? Yes, I want to better the ColdFusion community, the only problem I've always ran into is that customers in some cases don't want to spend money on a license for the server because all they want is an intranet application to keep track of employee records. So this would be the perfect solution as you could create the program, make it run stand-alone. The entire point of this application is to make ColdFusion bigger and stronger... that is what I always have in mind when i make my CF products/services (CFM-Resources.Com, EasyCFM.Com, Visual Fusion, etc...) Pablo - Original Message - From: Matt Robertson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 4:50 PM Subject: Re: Visual Fusion - Thoughts? Dave wrote: Out of curiosity, what are the legal ramification of this? If all he uses is the cfml language powered by a different back end he should be safe, unless MM has copyrighted cfml. Since BlueDragon doesn't suffer from that problem I suspect they did not, which is a good thing for the growth and future of CF in general. I like how Pablo's idea doesn't take a piece out of the pie. It makes the pie bigger. --- 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 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: Mail Servers and Webmail
Does anyone know of a low learning curve, out of the box Linux Mail server (POP and IMAP capable) with an add-on webmail utility, preferrably customizable? Cutter ~| 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: Visual Fusion - Thoughts?
This sounds great. Would be even better if you invent the CFIMAP tag... Cutter Pablo Varando wrote: Not sure what you mean by CD Demos... this is to actually create a program. Say you want to create a mail system solution for your users to check their emails, etc.. You could write a full system (i.e. CFPOP, CFMAIL) and create a program. Now your clients/staff could use this program instead of outlook. But the actual program is written in CFML, and not Visual Basic, C++, etc. Pablo - Original Message - From: Mike Townend [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 4:52 PM Subject: RE: Visual Fusion - Thoughts? So its really for demos to clients / cd distribution rather than upload to a shared server/selling as a full app (like a forum) ? -Original Message- From: Pablo Varando [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 22:12 To: CF-Talk Subject: Re: Visual Fusion - Thoughts? No, they are stand-alone just as Visual Basic Applications run as stand-alone. At least that is the idea :) hehe :) Pablo - Original Message - From: John Wilker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 4:05 PM Subject: RE: Visual Fusion - Thoughts? Sure sounds interesting to me. How cool would that be? Would the apps run in a browser still? I would assume not. J. John Wilker Web Applications Consultant, Writer Macromedia Certified ColdFusion Developer Founder/President IE CFUG www.red-omega.com Whatever is wrong it is better than a poke in the eye with a sharp stick. Unless of course you just got poked in the eye with a sharp stick. -Original Message- From: Pablo Varando [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 1:59 PM To: CF-Talk Subject: Visual Fusion - Thoughts? Hello CF-Talk community: For the last year or so I've been working on an application called Visual FusionC (Patent pending). The application is basically a program that takes ColdFusion coding to the next level and allows you to create stand-alone applications written in ColdFusion (CFML) code. The application works exactly like Visual Basic, but powered by CFML. The idea is to allow ColdFusion developers the ability to distribute their existing ColdFusion projects without the need of a web server / ColdFusion server. After the application is created, you compile it and create an .EXE for it (with the ability to create a setup, etc..). Therefore allowing us ColdFusion developers to sell our applications to clients that cannot afford or don't want to buy servers (ColdFusion server / Web Server) and to distribute our applications much more securely without the chance of decrypting and loss of our techniques. The other thing about this application is that it will also be an alternative to application development as an alternative to Visual Basic. I wanted to see the reaction for such an application and to see what everyone's thoughts and comments were on such an application. Also, I while back I messaged asking people that know Java Programming who would like to help build this application to speed up the development. If anyone out there would like to help build this product and take part of profits as payment, let me know. I sure can use the help! :) I welcome all suggestions and comments... Thanks, Pablo Varando http://www.easycfm.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: Visual Fusion - Thoughts?
You could write an app that runs within a Gecko browser component. Cutter Joshua Miller wrote: So basically you're using CFML syntax to write Java applications, cool. What about UI components - forms, controls, windows, etc. CFML doesn't contain features for dealing with these types of things ... Would you still use HTML to render pages or how exactly would you handle the UI ? Curious, if you're proposing desktop applications written in CF/HTML I'll be standing in line for the release!!! 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: Pablo Varando [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 5:48 PM To: CF-Talk Subject: Re: Visual Fusion - Thoughts? The application creates (at first) stand-alone applications that run in single-session mode (as would users to a website - the current computer = a single session). Then all the users can run the applications as you created the original and can install the applications separaetly on all machines. So you would install it and it would run exactly the same under all, but with their credentials (being checked off of say a SQL server) they login.(Similar to a user authentication area on a website). The idea behind this is to bypass the web server, without losing all the functionality that ColdFusion provides. Pablo - Original Message - From: Matt Robertson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 4:40 PM Subject: Re: Visual Fusion - Thoughts? Very cool idea and a very good thing for cfml, if it works right. When you say 'standalone' is it still multiuser-capable in a single office? how about multiple offices connected via the internet? Sounds like no to the latter from your previous comments. Connects to odbc back ends? Can connect directly to net resources like printers? Shell out to DOS/command window? If it can do that I'm probably going to be a customer. --- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- Original Message -- From: Pablo Varando [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] date: Tue, 14 Jan 2003 16:11:39 -0600 No, they are stand-alone just as Visual Basic Applications run as stand-alone. At least that is the idea :) hehe :) Pablo - Original Message - From: John Wilker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 4:05 PM Subject: RE: Visual Fusion - Thoughts? Sure sounds interesting to me. How cool would that be? Would the apps run in a browser still? I would assume not. J. John Wilker Web Applications Consultant, Writer Macromedia Certified ColdFusion Developer Founder/President IE CFUG www.red-omega.com Whatever is wrong it is better than a poke in the eye with a sharp stick. Unless of course you just got poked in the eye with a sharp stick. -Original Message- From: Pablo Varando [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 1:59 PM To: CF-Talk Subject: Visual Fusion - Thoughts? Hello CF-Talk community: For the last year or so I've been working on an application called Visual FusionC (Patent pending). The application is basically a program that takes ColdFusion coding to the next level and allows you to create stand-alone applications written in ColdFusion (CFML) code. The application works exactly like Visual Basic, but powered by CFML. The idea is to allow ColdFusion developers the ability to distribute their existing ColdFusion projects without the need of a web server / ColdFusion server. After the application is created, you compile it and create an .EXE for it (with the ability to create a setup, etc..). Therefore allowing us ColdFusion developers to sell our applications to clients that cannot afford or don't want to buy servers (ColdFusion server / Web Server) and to distribute our applications much more securely without the chance of decrypting and loss of our techniques. The other thing
Re: How can I redirect a user?
Scott, Some folks use the CFLOCATION tag for this redirect. I found a conflict with using this in the same page with an input of type=file. I prefer to use a little js on this script location.href('mypage.cfm'); /script Cutter Scott Wilhelm wrote: I'm setting up authentication against a database, and I have the form data going to a seperate page that I want users not to see (just a preference of mine)...Once the page is done processing, I want to push the users off to a different page...How do I do that? Are there any CF tags for it? Thank you, Scott PS. I'm very wet behind my ears, so if there's some tricks for authenticating against a db, please feel free to tell me. ~| 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: cfoutput formatting
cfif [queryname].currentrow mod 4 is 0 /tr tr /cfif Cutter Ryan Mitchell wrote: Set a number (cfset count = 1) and increment it every time the query runs. Every time the number is equal to 4, set it back to 1 and output a /trtr Hope that makes sense, too lazy to write code! Ryan On 13/1/03 17:00, Jeremy Bunton [EMAIL PROTECTED] wrote: I have an output block that looks like so, tr tdimg src=images/spacer.gif width=71 height=1 alt= border=0/td cfoutput query=getclients td valign=top width=26 class=copyinput class=copy name=theid type=checkbox value=#id#/td td valign=top width=200 class=copy#UCase(cusername)#br(#cpassword#)/td /cfoutput tdimg src=images/spacer.gif width=85 height=1 alt= border=0/td /tr After the cfoutput kicks out 4 records I need a new tr/tr to be created and then show the next 4 records in 4 more td's and so forth instead of getting one row with 120 cells in it. Maybe something with the cfoutputs on the out side of the tr and a loop inside or something. JLB ~| 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: Query help!
Instead of dateformat try createodbcdate(now()) Cutter Scott Wilhelm wrote: Can someone tell me what's wrong with this line: CFQUERY name=PreviousDates datasource=calendar SELECT * FROM Events WHERE eDate CFQUERYPARAM value=#formatdate(now(),mm-dd-yy)# /CFQUERY I can't figure out how to get a date query to work right... Thanks, Scott -Original Message- From: Costas Piliotis Sent: Mon 01/13/2003 01:01 PM To: CF-Talk Cc: Subject: RE: ASP to ColdFusion Woo hoo... Another convert :-) A quick search on google gets some good introductury tutorials... http://hotwired.lycos.com/webmonkey/programming/coldfusion/tutorials/tut oria l2.html http://www.macromedia.com/support/coldfusion/tutorial_index.html http://kongtechnology.com/index.asp?im=cf1 -Original Message- From: Scott Wilhelm [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 9:53 AM To: CF-Talk Subject: ASP to ColdFusion I'm originally an ASP developer now working with ColdFusion...Does anyone know of any resources that would help in the conversion? (ASP-CF translations, tutorials, etc.) Thanks, Scott ~| 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: WOT: MySQL in the Enterprise
Huge article in this weeks E-Week regarding the use of mySQL for all of Rhode Island's inter/intranet sites Cutter Paris Lundis wrote: Well I can't say I am enterprise.. even if I have a few tables with a couple of million rows of data... Checkout the MySQL site and see their consulting arm... I remember when I first started considering MySQL, their then cleint list and datawarehouse size was quite large.. fairly impressive amount of data... A lot of people are bound to bring up the SQL compliance issue and lack of robust SQL fancy database query stuff... The eWeek article was right on I think about performance... having used both Your mileage will vary based on the nature of what you are doing of course... Funny how the most expensive solution (Oracle) and the least expensive (MySQL) performed so closely :) Paris Lundis Founder Areaindex, L.L.C. http://www.areaindex.com http://www.pubcrawler.com 412-292-3135 [finding the future in the past, passing the future in the present] [connecting people, places and things] -Original Message- From: Scott Mulholland [EMAIL PROTECTED] Date: Mon, 13 Jan 2003 17:53:26 -0500 Subject: WOT: MySQL in the Enterprise I am researching the use of MySQL in use with enterprise level applications, looking for feedback both good and bad. I have read all the articles on the mySQL site, as well as the manual and the eWeek article comparing it with Oracle. Anyone on this list using it currently and have any success/horror stories or stats? TIA, Scott ~| 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
Design Pattern Question
Has anyone here taken a detailed look at the CFMX (semi) OOP design pattern put forth at http://www.benorama.com? Is anyone here using it? Formed some opinions? Have anything to add (or subtract)? Know who put this together in the first place? As one of my former commanders used to ask Questions? Comments? War Stories? Cutter ~| 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
Multiple Sites
Ok, I know I asked this once (and fixed it once on one server) but now I can't find it in the archives. What's the link to the MM KB about configuring MX for multiple site hosting? Have one Linux box (it was MS last time) that everytime we refresh the page it shows a file of the same name from one of the other sites hosted on the machine... Cutter ~| 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: ORDER BY Clause and parsing
Something like this would be great for sorting book lists, song titles, DVD and video libraries... Cutter Candace Cottrell wrote: Thanks to everyone who responded. I guess this is going to take a few minutes to do... Maybe I should write a cfc that does this??? For future posterity?? Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] [EMAIL PROTECTED] 1/8/2003 11:47:33 PM In a perfect world, you use regular expressions, but you can probably get most of the work done using the replace() function in your dialect of SQL, or failing that, using the ColdFusion function. It's pretty ugly -- in MSSQL you could use a User-defined function or a view to make a table that doesn't look so nasty SELECT blahblah Replace(LEFT(title,3),the,) as cleanTitle -snip- ORDER BY cleanTitle handles the you could nest them to do something like c or if you can support something like the T-SQL CASE (using sybase or mssql) you could use CASE and the LEFT or PATINDEX index function to chop things up -- something like (off the top of my head) SELECT cleantitle= CASE title WHEN LEFT(title,3) ='the' THEN SUBSTRING(title,4,len(title)) ELSE title END or something along those lines. A UDF would be great way to implement because then you can change the underlying mechanics (say from replace to CASE to regex) without recoding SELECT cleantitle(title) as cleanedTitle ORDER BY cleanedTitle Regards, John Paul Ashenfelter CTO/Transitionpoint [EMAIL PROTECTED] - Original Message - From: Candace Cottrell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 6:48 PM Subject: ORDER BY Clause and parsing Good evening... I am trying to order a list of books by their Title. However, many of the books begin witht the word The or A or An. Is there an easy way to go through and say... cfset actualTitle = query.Title minus A,An, or The then the SQL... Select Title From Books Order By #ActualTitle# Would I need to go through and do a left of the string Title cfset leftVal = Left(query.Title, 3) cfif leftVal IS the cfset actualTitle = query.title - LeftVal Does this make sense??? I just dont think I'm getting it. TIA :) Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: page load times (not just on the server)...
Wouldn't that completely depend upon the speed of the client's connection? (Dial-Up, Lan, DSL, Cable, etc.)... Cutter cftalk wrote: I am needing to find the page load times from the CLIENT side. Does anyone have a tool or know a way to do this? Brian Yager President - North Alabama Cold Fusion Users Group http://www.nacfug.com Ground-Based Midcourse Defense JPO Contractor CSC (256)313-9397 [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
increment a count in a db
It was probably a month or so ago someone showed how to increment a count in a database with a single query, but I can't find it in the archive. Can someone show me the way here please? Table:tblSubscribe int:intChoiceID str:strChoice int:intCount Update intCount for selected strChoice as intCount + 1 ??? Cutter ~| 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
[Resolved]: increment a count in a db
Many thanks to those who responded, this was exactly what (and when) I needed. Cutter [EMAIL PROTECTED] wrote: Quoting Cutter (CF_Talk) [EMAIL PROTECTED]: Table:tblSubscribe int:intChoiceID str:strChoice int:intCount Update intCount for selected strChoice as intCount + 1 UPDATE tblSubscribe SETintCount = intCount + 1 WHERE strChoice = cfqueryparam cfsqltype=cf_sql_varchar value=#value# 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
OT: Netscape 4.x and Styles
I am beginning to create a small custom tag for a site to replace their existing graphic buttons with something that looks similar but uses a small table to build their button using a small graphic for the nose and butt of the button, with a small table between them containing the text (don't ask why, it's just important). The issue is with the text table. In IE, Mozilla, and (presumably) NN 6+ I can apply a border-top and border-bottom attribute. Supposedly I should be able to do something similar with NN 4.x but I can't find the necessary work around. Anyone have any ideas? Testing code is implemented at http://polytech2.dmvwebhosting.com/test.cfm Cutter ~| 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: CFGRID (from CF 4.5) with Latest Java Plug In?
We ran into the same problem with the CFTREE component. It only appears to affect systems utilizing the latest Java Plug-in. All works fine with the MS VM. Cutter Jim Davis wrote: As I'm sure some of you know the Grid applet used in CF 4.5 doesn't work with the latest Java Plug-in. I've been unable to find a MM patch for the problem. I'd be interested in ideas for addressing the problem. I've found what looks like a servicable replacement, but runs $400. This isn't that bad, but is still going to be seen as ColdFusion incurred expense - It'd be nice to be able to top-spin this into a CF upgrade, but no money, no way, no how. Any other grid controls? Anybody find a MM solution? Any ideas? 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 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
Query Output
I have a function within a CFC that reads like this: cffunction name=getCalendar access=remote output=false returntype=query cfargument name=calendar required=No type=string default=Full Year cfquery name=qYear datasource=#application.stconfig.DSN# Selecti.dtStartDate, i.dtEndDate, i.strEvent, i.txtDescription FromtblCalendarItems i, tblCalendar c Wherec.strCalendarName = cfqueryparam value=#arguments.calendar# cfsqltype=CF_SQL_VARCHAR and i.intCalID = c.intCalendar Order byi.dtStartDate, i.strEvent /cfquery cfreturn qYear /cffunction A cfdump tells me that the query is returning the correct results. My question is this, how do I get my output to display like this: February hr dd Event Name dd Another Event Name March hr dd And the Next Event dd And Another April hr dd And Even Another If more clarification is needed let me know. Cutter ~| 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: Some idea about the Efficiency of UDFs
You might want to look at a suggested CFMX OOP design pattern posted under the ColdFusion topic on http://www.benorama.com. I've been experimenting with this recently and find it to be very clean and effective. Cutter Li Chunshen (Don) wrote: According to Macromedia's CFMX References on Using UDFs effectively: Consider the following techniques for making your functions available to your ColdFusion pages: If you consistently call a small number of UDFs, consider putting their definitions on the Application.cfm page. If you call UDFs in only a few of your application pages, do not include their definitions in Application.cfm. If you use many UDFs, put their definitions on one or more ColdFusion pages that contain only UDFs. You can include the UDF definition page in any page that calls the UDFs. I agree with everything it states, and I think it might help more if CFMX predefines a UDF library path such as UDFlib under CFMX installation instead of an arbitrary directory, I can see several benefits of this approach: consistency -- especially helpful for large development environment; easier for reuse -- across applications/projects (this one is similar to CFMODULE's dot notation method, I love it) And I don't see any downside of it. Thanks. DL --- Matthew Walker [EMAIL PROTECTED] wrote: These two cfmx UDFs from cflib.org may help: cfscript function DSNExists(DSN) { var factory = createObject(java,coldfusion.server.ServiceFactory); var DSNs = factory.getDataSourceService().getNames(); return yesNoFormat(listFindNoCase(arrayToList(DSNs), DSN)); } /cfscript !--- Verifies a DSN is working. @param dsnName of a DSN you want to verify. (Required) @return Returns a Boolean. @author Ben Forta ([EMAIL PROTECTED]) @version 1, October 15, 2002 --- CFFUNCTION NAME=VerifyDSN RETURNTYPE=boolean CFARGUMENT NAME=dsn TYPE=string REQUIRED=yes !--- initialize variables --- CFSET var dsService= !--- Try/catch block, throws errors if bad DSN --- CFSET var result=true CFTRY !--- Get factory --- CFOBJECT ACTION=CREATE TYPE=JAVA CLASS=coldfusion.server.ServiceFactory NAME=factory !--- Get datasource service --- CFSET dsService=factory.getDataSourceService() !--- Validate DSN --- CFSET result=dsService.verifyDatasource(dsn) !--- If any error, return FALSE --- CFCATCH TYPE=any CFSET result=false /CFCATCH /CFTRY CFRETURN result /CFFUNCTION -Original Message- From: Li Chunshen (Don) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 1 January 2003 11:37 a.m. To: CF-Talk Subject: Request Time specs: CFMX on WinXP Pro; remote datasources on Win2k Pro. Requestimeout set to 40 seconds via CF admin (server has been rebooted, my friend). Expect cf server to throw requestimeout msg, better, gracefully, regardless of the types of request. Problem, when trying to connect to an unavailable remote datasource (who can garanttee it's always available?), instead of 40 seconds timeout, CFMX keeps on trying and trying though asked otherwise, what's going on? With CF5, an undocumented tag of Is_CFdatasource takes care of the problem very well. Thanks. DL __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: APR Calculation Formula??
Les, Check out the Mortgage Payment Calculator in the Calulator section of http://www.firstshorefederal.com. If this looks like what you're looking for just email me off list and I'll forward the code. This is straight CF, with special attention paid to how and when the numbers are rounded. There is also a custom tag that is has a js based calc listed in the tag section of benforta.com. Cutter Les Mizzell wrote: Does anybody have a formula to calculate Mortgage APR written in Cold Fusion that I could have a look at? All I've been able to find so far is the below, which doesn't exactly give me a complete formula like I need: APR - Annual Percentage Rate The formula used to calculate the APR uses the same principles as the IRR although the assumptions about the term are forced by the legislation, as is the resulting 1 decimal place rounding and 0.1% variation. The Consumer Credit Act lays down the fundamental formula for calculating APR, slightly simplified as follows:- Loan = Initial Fees + P1 / (1 + i) a + P2 / (1 + i) b + P3 / (1 + i) c + ... Where P1, P2 etc are the periodic payments and a, b etc are the periods, usually 1,2 etc up to say 36 for a three year loan. The payments include fees and costs where relevant, as prescribed by the Act. The trick is to find i, which is the APR per period, and an iterative solution is essential. If you assume the periods are months, i will give you the monthly APR, which is then easily changed to the annual APR with formula (1 + i) 12 - 1 where i is the monthly rate. The iterative procedures used to calculate IRR rely on a formula similar to this same, fundamental formula. The results for the IRR and the APR are identical, given the same assumptions and accuracy restrictions. I would not recommend you use this 'official' formula to calculate the APR in practise, because the simpler, automatic spreadsheet functions come up with the same result. ~| 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
Tutorials
I've got a couple of high school kids who dropped by the office the other day. They are taking a class on web development. After speaking with them for a couple of hours they are really jazzed about getting into CF, but all of the tutorials that they have seen up til now are of a more advanced nature. Does anyone know a good ground-up tutorial site they could tap into? Cutter ~| 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
Re: Looking for a great CFMX book to buy!
Ben Forta has a slew of new books coming out on MX dev. Check out his site benforta.com Cutter Che Vilnonis wrote: I really enjoyed the Professional CF 5.0 by WROX Press. Now I'm gonna dive into MX. Can anyone recommend a GREAT book for CFMX? Thanks. Ché Vilnonis Application Developer Advertising Systems Incorporated 8470C Remington Avenue Pennsauken, NJ 08110 p: 856.488.2211 f: 856.488.1990 www.asitv.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.
CFC Question
I know that this has been asked, but I can't find it in the archives I have created a CFC with a function getTitle. The function has a return type of struct. After calling the function through CFInvoke, how do I loop through the struct to display my data? There doesn't appear to be a lot of information on this at MM... Cutter ~| 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
Re: Happy New Year
Looks beautiful Jim. I had to review this site last semester in my Web Design and Methodology class through umuc.edu. Cutter Jim Davis wrote: -Original Message- From: Jay jennings [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 2002 12:25 PM To: CF-Talk Subject: RE: Happy New Year Happy New Year, everyone! Not to be a Grinch/Scrooge, but maybe everybody could say HNY all within the next 30 minutes or so and get it over with? January 1st is just another freaking day except my deadline is one day closer and I don't even get a visit from the mailman. Well for me it is a major deadline... But the site is humming along: www.firstnight.org ;^) Tomorrow I rest. 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
Re: CFC Question
This may be a part of my issue. The struct being returned is basically like this: objTitles intDocID strName strFileName dtDateAdded I tried changing the CFC function return type to a query and accessing the data as you usually would access query data, but when I refreshed the page it said no query existed. Would I need my sysad team to reboot the server for it to recompile the CFC? Cutter Chris Alvarado wrote: If it is just a structure with 1 'iteration' You can treat the keys like a list. cfloop list=#structKeyList(structure)# index=x #x# (would be the keyName) #evaluate(x)# would be the value of the key /cfloop -chris.alvarado [ application developer ] 4 Guys Interactive, Inc. http://www.4guys.com We create websites that make you a hero. -Original Message- From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 2002 2:42 PM To: CF-Talk Subject: CFC Question I know that this has been asked, but I can't find it in the archives I have created a CFC with a function getTitle. The function has a return type of struct. After calling the function through CFInvoke, how do I loop through the struct to display my data? There doesn't appear to be a lot of information on this at MM... Cutter ~| 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
[RESOLVED]: CFC Question
Sorry folks. Sometimes the answer is a little overly obvious. Change cfreturn this to cfreturn [queryname] Cutter Cutter (CF_Talk) wrote: This may be a part of my issue. The struct being returned is basically like this: objTitles intDocID strName strFileName dtDateAdded I tried changing the CFC function return type to a query and accessing the data as you usually would access query data, but when I refreshed the page it said no query existed. Would I need my sysad team to reboot the server for it to recompile the CFC? Cutter Chris Alvarado wrote: If it is just a structure with 1 'iteration' You can treat the keys like a list. cfloop list=#structKeyList(structure)# index=x #x# (would be the keyName) #evaluate(x)# would be the value of the key /cfloop -chris.alvarado [ application developer ] 4 Guys Interactive, Inc. http://www.4guys.com We create websites that make you a hero. -Original Message- From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 2002 2:42 PM To: CF-Talk Subject: CFC Question I know that this has been asked, but I can't find it in the archives I have created a CFC with a function getTitle. The function has a return type of struct. After calling the function through CFInvoke, how do I loop through the struct to display my data? There doesn't appear to be a lot of information on this at MM... Cutter ~| 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
Re: Cold Fusion forum (OPEN SOURCE?)
I can think of one good reason...Some hosts do not support PHP. Cutter jon roig wrote: I hear you, Adrocknaphobia... there really isn't a perfect forum system out there. (I've been running online forums for several years, most recently for a large non-profit website...) That said, PhpBB comes pretty darn close... and it's because of the reasons you describe. A large developer community contributing code, mods, new themes, and doing code peer review, etc... has created some excellent results. The result is a top-knotch OpenSource project with the extended feature set one might demand from such a project. So... here's my question... Why bother to compete? If all you're looking for is a top knotch opensource forum, why not dive in and contribute to PhpBB? It's a pretty remarkable little project, and certainly worth checking out. Don't get me wrong -- I think CF could really use a high quality OS forum system. I know we'd use it if we could migrate from Fusetalk. I mean, fusetalk is cool and all, but I had to hack the heck out of it to get it to do what we wanted and now any kind of upgrade path is somewhat dubious to say the least, given all the little changes we made. I'd contribute code the code that I changed to fusetalk, I guess, but the motivation to improve somebody else's commercial products in a way that doesn't benefit me (or the community as a whole) at all isn't all that strong. Obviously, with CF, it's not that hard to build a mediocre forum system. But building a great one... well, that's another story altogether. If someone does dive into this, let us know -- I might be interested in helping out a bit as well if it's the right project. -- jon -Original Message- From: Adrocknaphobia Jones [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:10 PM To: CF-Talk Subject: RE: Cold Fusion forum (OPEN SOURCE?) Yeah, I think we have two different philosophies on open-source. I'd write open-source for the need of building the perfect application utilizing multiple developer perspectives. (To save from the headaches of rewriting everyone else's) Quite frankly, the 'perfect BBS app' has yet to be written. And I'm surprised. Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -Original Message- From: jon roig [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 10:35 AM To: CF-Talk Subject: RE: Cold Fusion forum (OPEN SOURCE?) I've open sourced small things in CF, but as for Open Sourcing a big project... why on earth would I want to do that on a platform that is inherently not free? As much as I like CF and working in it -- I do make a living from it -- I'd much rather do my open source programming in a language that presents no $$$ barrier to adoption, a platform that anyone on earth can use, regardless of financial backing. (I created OpenRealty -- http://jonroig.com/freecode/openrealty in PHP, for instance, and it's being used by hundreds of sites...) I'm not one of those little Stallman groupies either... and that's also not to say there aren't little pockets of OS CF stuff developing. I mean, look at CFLIB.org and how helpful that has been to the community. -- jon - jon roig senior manager, online production epilepsy foundation phone: 215.850.0710 site: http://www.epilepsyfoundation.org email: [EMAIL PROTECTED] -Original Message- From: Adrocknaphobia Jones [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 24, 2002 11:47 AM To: CF-Talk Subject: RE: Cold Fusion forum (OPEN SOURCE?) Chris, I've dealt with UBB, fuseTalk, ezBoard, and the old Allaire Forums. If I can say anything on the subject, it's that NO ONE has gotten it right (especially on the database end). Mike D said a year ago he was going to re-write the old Allaire Forums and eventually open source it. Which, stop me if I'm wrong, is what is being used on houseoffusion.com? But I think I missed the part where he open sourced it. Last I checked in June at cfFun, he said he was still working on it. I for one would really like to work an open-source bbs project. I think there is a pretty high demand for a sturdy open source board, which can be customized at the will of the programmer. I've thrown around the open-source idea with a bunch of people but found our selves intimidated by the legal requirements. You know we have a really great community here, but I can't tell you of ANY cold fusion open-source projects. Is open source cold fusion a pipe dream? Would anyone else be interested in contributing? Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -Original Message- From: Chris Montgomery [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 10:58 PM To: CF-Talk Subject: Re: Cold Fusion forum Howdy Michael, Thursday, December 19, 2002, 7:54:13 PM, Michael T. Tangorre wrote: I am attempting to
Accessing Logs
I used to be able to access log files on CF5 within the CFIDE/administrator. I no longer see this option from my MX administrator. Have I missed something? Cutter ~| 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.
Re: Linking CF and Flash
Jochem and group, I completely agree. CFForm's implementation can be cumbersome, unintuitive, and sometimes downright buggy. I find it much easier, and more functional, to write my own form validation scripts. The little buzz I've heard about XForms sounds very promising, and I also think that would be a good direction for MM to concentrate. Cutter Jochem van Dieten wrote: Christian Cantrell wrote: I like the idea, too. Anyone want to add anything? How many people use the cfform tag now, and how many more people would use it if it worked in the manner described below? And how else would you want it to behave? I never use cfform, and I doubt I would use a cfflashform if it worked in the described way. It doesn't sound like it will be easy to integrate in the look and feel of a site. Just like I find cfform overly comlicated yet unable to do simple things like show all validation errors in one popup, which means I have to write custom validation anyway. I would prefer it if MM took a good look at the way XForms is shaping up in conjunction with XHTML 2 and put together some good support for that in Dreamweaver. Would people be more interested in using the cftree tag if it generated Flash rather than Java? On the scale of evilness as a browser plugin Java ranks higher as Flash. 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
Re: MS CF?
I hate to put my .02 in on OT, but... MS didn't abondon VB or C++ programmers with .NET. Yes, they changed VB to more closely resemble an OOP language (still needs work). C++ didn't change, Visual C++ changed. There is a strong difference. Language syntax and rules and what-have-you are still the same, it's the interaction with MS apps that are different. .NET is an expansion (and actually a damn fine one) of the existing supported technologies. C# is a new language all together. Change is inevetible and necessary for the growth and innovation of our industry. Quitcherbitchin'... Cutter Matt Liotta wrote: MSFT offers developers security? You mean like the VB developers they abandoned to launch VB.NET. Or the C++ developers they abandoned for C#. Then of course there is the various technologies they have abandoned in favor of something newer that does the same thing only differently and incompatible with the last like DAO, RDO, and COM. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 -Original Message- From: Adrocknaphobia Jones [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 1:44 PM To: CF-Talk Subject: RE: MS CF? You can sit here and complain that MS is the bad guy, but they are not the company you have put your faith in. I know I have the unpopular view on this list as anti-MM, but I can tell you that if MS owned Flash, you wouldn't have to worry about it being sold again. Same goes for Cold Fusion. You could rest assured that the technology and education you put into MS will still be viable in 20 years. Which is something only a fool would say about Cold Fusion or Flash which are both still in their relative adolescence. Quite frankly, MS offers developers security. Something that MM and Allaire have failed quite miserably at (IMO). Rest assured though, we will probably not fall to the evil empire. If acquiring MM is a bid to diminish J2EE, I would expect IBM or Sun to offer a merger to counter an MS acquisition. After all, they both seemed to have invested a great deal in Cold Fusion and its J2ee developers. Although I still tell every CF developer I meet to learn a new language. Bottom line is that a broader skill set is never a detriment. Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -Original Message- From: Cantrell, Adam [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 1:22 PM To: CF-Talk Subject: RE: MS CF? nah - no pitying required :) So how would selling your MS shares after MM was acquired not be reinforcing your opinion below? You would both be voicing your disapproval to MS and be profiting from it. Seems silly as an investor to voice your opinion before hand based on internet speculation from the Register. Adam. -Original Message- From: Rob Rohan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:58 AM To: CF-Talk Subject: RE: MS CF? Well, welcome to America where you vote means nothing unless there is an amount of money tied to it. I buy stocks in companies where I like their business practices, think they have good products, and approve of how they treat their staff. Sometimes I loose money, often I make money. Because in the end how you run your business is how you wind up being treated - in this world or the next. I disapprove of a lot of Microsoft's business practices, and I think they are an ethically bad company. They make money - yes - but that is all they do. Plus I sleep *really* well. ALL IMHO as it is my funny green pieces of paper that we have put value on. (If you think it's all about the money - I pity you) Rob -Original Message- From: Cantrell, Adam [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 9:39 AM To: CF-Talk Subject: RE: MS CF? Why would you sell it? I'm no Wall St. slickster, but wouldn't you make out well if you were suddenly in possession of $54 MS stock in exchange for your $11 MM shares? -Original Message- From: Rob Rohan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:32 AM To: CF-Talk Subject: RE: MS CF? Ha, from the Robertson-Ravo news source :) Guess now I *don't* have to sell my Macromedia stock, whew! Rob -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 9:04 AM To: CF-Talk Subject: RE: MS CF? its not -Original Message- From: Rob Rohan [mailto:[EMAIL PROTECTED]] Sent: 23 December 2002 17:07 To: CF-Talk Subject: RE: MS CF? Please tell me this isn't true. Rob http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia -Original Message- From: Len Conrad [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 2:07 AM To: CF-Talk Subject: MS CF? http://theregister.co.uk/content/4/28667.html
Re: MS CF?
That which is least secure is that which is a target... Cutter Dave Lyons wrote: Developer security You mean like they did with ASP? Oh, wait, they stopped development of that... And how long before asp.net gets scrapped for something new And I doubt 20 years from now you can still use ASP I can see it now DreamPage or FrontWeaver can u imagine what would happen to DWMX if it fell into MS hands??? Talk about security break down And all this so MS can get more windows servers out there, they have a lot to prove first. Remember the saying: Money can buy a lot of things in this world, just not a secure windows server Dave -Original Message- From: Adrocknaphobia Jones [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 1:44 PM To: CF-Talk Subject: RE: MS CF? You can sit here and complain that MS is the bad guy, but they are not the company you have put your faith in. I know I have the unpopular view on this list as anti-MM, but I can tell you that if MS owned Flash, you wouldn't have to worry about it being sold again. Same goes for Cold Fusion. You could rest assured that the technology and education you put into MS will still be viable in 20 years. Which is something only a fool would say about Cold Fusion or Flash which are both still in their relative adolescence. Quite frankly, MS offers developers security. Something that MM and Allaire have failed quite miserably at (IMO). Rest assured though, we will probably not fall to the evil empire. If acquiring MM is a bid to diminish J2EE, I would expect IBM or Sun to offer a merger to counter an MS acquisition. After all, they both seemed to have invested a great deal in Cold Fusion and its J2ee developers. Although I still tell every CF developer I meet to learn a new language. Bottom line is that a broader skill set is never a detriment. Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -Original Message- From: Cantrell, Adam [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 1:22 PM To: CF-Talk Subject: RE: MS CF? nah - no pitying required :) So how would selling your MS shares after MM was acquired not be reinforcing your opinion below? You would both be voicing your disapproval to MS and be profiting from it. Seems silly as an investor to voice your opinion before hand based on internet speculation from the Register. Adam. -Original Message- From: Rob Rohan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:58 AM To: CF-Talk Subject: RE: MS CF? Well, welcome to America where you vote means nothing unless there is an amount of money tied to it. I buy stocks in companies where I like their business practices, think they have good products, and approve of how they treat their staff. Sometimes I loose money, often I make money. Because in the end how you run your business is how you wind up being treated - in this world or the next. I disapprove of a lot of Microsoft's business practices, and I think they are an ethically bad company. They make money - yes - but that is all they do. Plus I sleep *really* well. ALL IMHO as it is my funny green pieces of paper that we have put value on. (If you think it's all about the money - I pity you) Rob -Original Message- From: Cantrell, Adam [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 9:39 AM To: CF-Talk Subject: RE: MS CF? Why would you sell it? I'm no Wall St. slickster, but wouldn't you make out well if you were suddenly in possession of $54 MS stock in exchange for your $11 MM shares? -Original Message- From: Rob Rohan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:32 AM To: CF-Talk Subject: RE: MS CF? Ha, from the Robertson-Ravo news source :) Guess now I *don't* have to sell my Macromedia stock, whew! Rob -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 9:04 AM To: CF-Talk Subject: RE: MS CF? its not -Original Message- From: Rob Rohan [mailto:[EMAIL PROTECTED]] Sent: 23 December 2002 17:07 To: CF-Talk Subject: RE: MS CF? Please tell me this isn't true. Rob http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia -Original Message- From: Len Conrad [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 2:07 AM To: CF-Talk Subject: MS CF? http://theregister.co.uk/content/4/28667.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
Re: Usage of Variables Scope
Proper variable scoping helps to A) decrease server overhead as the server will always know what scope a variable is in when requested, as opposed to searching each scope every time. B) makes your code much easier to debug in the event of an error and maintain in the event of changes, expecially when dealing with larger applications. C) is just good common programming practice, and will assist you greatly as you dive deaper into CFMX programming, as well as migrating to OOP web development. Cutter Bosky, Dave wrote: Is there any benefit or performance difference when scoping local variables or is it mainly used for readability? cfoutput#Variables.myLocalVariable#/cfoutput cfoutput#myLocalVariable#/cfoutput ~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
Re: Setting the focus to form select box item.
The options[] element of the select is an array. Arrays in javascript begin with 0. Cutter Bosky, Dave wrote: I'm using the onsubmit function to check the length of a form textfield to verify it contains at least one character. If the value is less than one character I want to return false and set the focus to the first item in a select box. What am I leaving out? - function validateForm(form) { if (form.myText.value.length 1 ){ alert ('You must select at least one question to continue. n\nClick OK!); form.mySelect.options[1].focus(); return false; } return true; } - FORM action=update.cfm method=post onSubmit=return validateForm(this); INPUT TYPE=TEXT NAME=myText VALUE= SELECT NAME='mySelect SIZE=20 MULTIPLE OPTION VALUE=11/OPTION OPTION VALUE=22/OPTION OPTION VALUE=33/OPTION /SELECT INPUT TYPE=SUBMIT VALUE=GO /FORM - thx 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
Re: Setting the focus to form select box item.
SelectedIndex is a read-only property in all browsers except Navigator 3 (O'Reilly's JavaScript: The Definitive Guide). Cutter Scott Brady wrote: function validateForm(form) { if (form.myText.value.length 1 ){ alert ('You must select at least one question to continue. n\nClick OK!); form.mySelect.options[1].focus(); return false; } return true; } Try this: function validateForm(form) { if (form.myText.value.length 1 ){ alert ('You must select at least one question to continue. n\nClick OK!); form.mySelect.selectedIndex = 0; // The first index form.mySelect.focus(); return false; } return true; } 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.
Re: CFHTTP on MX
Thanks Dave, that answer was right on the money. Cutter Dave Watts wrote: Your problem isn't with CF, really. You're attempting to use Google, and it's rejecting your attempt. When I tried your code out, I got this in my handy packet-sniffer: Forbidden Your client does not have permission to get URL /translate_c?hl=enie=UTF-8oe=UTF-8langpair=en%7Cesu=http://atlantis.dmvw ebhosting.com/homes.cfmprev=/language_tools from this server. So, try this instead: cfhttp ... useragent=Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Or, use any other valid browser's user agent string. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
CFMX server Education license
A local Board of Ed wants to run it's own server in-house for it's website. Does anyone know the the Educational License of CFMX will allow this? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Mildly OT: JS, Form, Passing Vars
This business would be so much easier if we didn't have to create sites/applications to the specifications of clients. Part of our job is to try to steer clients in the right direction, and make them feel like the decision they made was their idea in the first place, but sometimes it just isn't possible. Frustrating isn't it? Cutter Russ wrote: Why is central. If it's down to the idiosyncratic preferences of a client you can't argue with, or the results of extensive user testing that you likewise can't really argue with - well, there's no argument! There's a reason that I posted my question the way that it was posted. There aren't other options and the client wants to use it this way. I try to be fairly specific so that I don't spend time going round and round as to why something is being done a certain way and so, instead, I can provide the information needed to help me find a solution. Using a second screen for a preview with a Go back to edit option is used by Yahoo! and Amazon, who I always assume pour a lot of funds into user testing. If you've got a client or niche audience with their own set-in-stone ideas, though, on with the JS... As does my client; they're not Yahoo! nor Amazon. Bear in mind that in HTML 4, the FORM tag has a TARGET attribute, just the same as A (_blank, _top, etc.), so you could just use this to fire the form into a new window, although you'd not be able to control the size, etc. of the _blank window. You could set the FORM TARGET to confirmWin, though, and onsubmit create this window with JS for the form to be submitted into. Sure, and then it would negate the existing form action that tells the submit to go to a results page, hence, again, the popup solution. The client wants the user to view what they're sending, as the recipient would see it prior to submitting, and they don't want any risks associated with leaving the initial form page--as to the results of their own user testing and experience with other applications. This is how they want it and for their own specific reasons. ~| 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
Re: Mildly OT: JS, Form, Passing Vars
For creating the pop-up, instead of a form submit I would just use a link calling a js function to create the pop-up, passing your vars in the url. In the window.open statement only specify the width and height attributes (your called page can be CF). Cutter Russ wrote: I am attempting to take values from a form that I have (it's a form that chooses recipient, sender, letter to be sent, custom header, custom footer and whether or not a password is sent to the user, for what it's worth) and then pass them to a pop-up window for display/preview prior to submitting and having all values combined into the email and sent, and then added to the database. I've found a couple of Javascript methods for handling this, but I'd prefer to keep the pop-up page reading the CF values--which it's not; it's saying that my FORM.values are undefined. Ideally, I'd simply like to pass all my values to the popup, display them, have a window.close and then allow the user to submit the letter, if they so choose, but right now, I'm not correctly passing anything. Here's what I'm working with (and it's probably butchered after a few tries here, so please bear with me): (button): input name=Submit2 type=Button class=ButtonInv onClick=newWin() value=Preview Letter SCRIPT language=javascript type=text/javascript !-- !--- Form name = Letter; trying to see if I can manipulate the code below to work for me; failing horribly --- !--- document.Letter.action=letterPreview; --- !--- document.Letter.submit() --- function newWin(){ var confirmWin = window.open('letterPreview.cfm','','width=800,height=600,scrollbars=yes, left=380,top=0') if(confirmWin.opener==null){ confirmWin.opener = self; } } //-- /SCRIPT And now, my head's starting to spin and I'm getting a little lost. Any assistance? Thanks very much! Russ ~| 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
CFHTTP on MX
I've tried to look through the archive on this but I'm not really finding my answers... Has anyone had issues with CFHTTP and MX? I'm tryin to make a call like so: cfif len(url.page) cfset varURL = http://216.239.35.120/translate_c?hl=enie=UTF-8oe=UTF-8langpair=en%7Cesu=http://atlantis.dmvwebhosting.com/#trim(url.page)#prev=/language_tools cfhttp method=GET url=#varURL# port=8080/cfhttp cfoutput#cfhttp.filecontent#/cfoutput /cfif I keep getting a Connection Failure message. The exact same code works fine on another (4.5) server, but I can't move this site. When I set the redirect=No throwonerror=yes, but don't wrap the tag in a cftry/cfcatch I get a 403 Forbidden error. But, if I cut and paste the variable being passed (the true varURL) into a browser window I get the page. When I do the same from a browser on the site's server I also get the page. Only when calling it from within the CFHTTP does it fail. Several posts within MM's forums suggested changing the port attribute. I have tried this without the port attribute, and with it set to 80 and also 8080 to no avail. MX running on a Win2K IIS5.0 config. Any suggestions? Cutter ~| 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
Re: CFHTTP on MX
Tony, I read in a lot of the forum posts about the SSL issues, but since this is running in plain site and the URL being drawn is the sameI still have an issue. Cutter Tony Weeg wrote: I had problems with cfhttp and mx, however it was an ssl issue...when posting to an https url, I would get the same errors you are...i wonder if there is any correlation? ..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: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 3:46 PM To: CF-Talk Subject: CFHTTP on MX I've tried to look through the archive on this but I'm not really finding my answers... Has anyone had issues with CFHTTP and MX? I'm tryin to make a call like so: cfif len(url.page) cfset varURL = http://216.239.35.120/translate_c?hl=enie=UTF-8oe=UTF-8langpair=en%7 Cesu=http://atlantis.dmvwebhosting.com/#trim(url.page)#prev=/language_ tools cfhttp method=GET url=#varURL# port=8080/cfhttp cfoutput#cfhttp.filecontent#/cfoutput /cfif I keep getting a Connection Failure message. The exact same code works fine on another (4.5) server, but I can't move this site. When I set the redirect=No throwonerror=yes, but don't wrap the tag in a cftry/cfcatch I get a 403 Forbidden error. But, if I cut and paste the variable being passed (the true varURL) into a browser window I get the page. When I do the same from a browser on the site's server I also get the page. Only when calling it from within the CFHTTP does it fail. Several posts within MM's forums suggested changing the port attribute. I have tried this without the port attribute, and with it set to 80 and also 8080 to no avail. MX running on a Win2K IIS5.0 config. Any suggestions? Cutter ~| 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
Re: OT: Website testing application
Yes, check out http://netmechanic.com/ Cutter Carlisle, Eric wrote: I've been tasked with finding an application that will automatically test a website with multiple browsers. Does such a monster exist? Thanks :-) Eric ~| 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
CFC output
Does anyone have an example of a CFComponent with a function that returns HTML formatted output. Trying to write a function that performs a query based on specific arguments then outputs a select box based upon the query results as well as some of the other arguments. I'd like to make it a web service but not sure if possible. (Documentation for this stuff seems kinda limited on MM, though I might just be looking in the wrong places.) Cutter ~| 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.
Re: MX Hosting
http://www.dmv.com (Delmarva Online) currently has 2 CFMX Servers (Linux) with either SQL or mySQL support. Cutter Robert Bailey wrote: This is a multi-part message in MIME format. --=_NextPart_000_0065_01C29BAD.12311810 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I need to move a client over to MX and wondering if anyone knows of any good companies that offer MX hosting that they have had good experiences with. Rob --=_NextPart_000_0065_01C29BAD.12311810 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable html xmlns:o=3Durn:schemas-microsoft-com:office:office = xmlns:w=3Durn:schemas-microsoft-com:office:word = xmlns=3Dhttp://www.w3.org/TR/REC-html40; head META HTTP-EQUIV=3DContent-Type CONTENT=3Dtext/html; = charset=3Dus-ascii meta name=3DProgId content=3DWord.Document meta name=3DGenerator content=3DMicrosoft Word 10 meta name=3DOriginator content=3DMicrosoft Word 10 link rel=3DFile-List href=3Dcid:[EMAIL PROTECTED]; !--[if gte mso 9]xml o:OfficeDocumentSettings o:DoNotRelyOnCSS/ /o:OfficeDocumentSettings /xml![endif]--!--[if gte mso 9]xml w:WordDocument w:SpellingStateClean/w:SpellingState w:GrammarStateClean/w:GrammarState w:DocumentKindDocumentEmail/w:DocumentKind w:EnvelopeVis/ w:Compatibility w:BreakWrappedTables/ w:SnapToGridInCell/ w:WrapTextWithPunct/ w:UseAsianBreakRules/ /w:Compatibility w:BrowserLevelMicrosoftInternetExplorer4/w:BrowserLevel /w:WordDocument /xml![endif]-- style !-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Times New Roman; mso-fareast-font-family:Times New Roman;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} span.EmailStyle17 {mso-style-type:personal-compose; mso-style-noshow:yes; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -- /style !--[if gte mso 10] style /* Style Definitions */=20 table.MsoNormalTable {mso-style-name:Table Normal; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:Times New Roman;} /style ![endif]-- /head body lang=3DEN-US link=3Dblue vlink=3Dpurple = style=3D'tab-interval:.5in' div class=3DSection1 p class=3DMsoNormalfont size=3D2 face=3DArialspan = style=3D'font-size:10.0pt; font-family:Arial'I need to move a client over to MX and wondering if = anyone knows of any good companies that offer MX hosting that they have had = good experiences with. o:p/o:p/span/font/p p class=3DMsoNormalfont size=3D2 face=3DArialspan = style=3D'font-size:10.0pt; font-family:Arial'o:pnbsp;/o:p/span/font/p p class=3DMsoNormalfont size=3D2 face=3DArialspan = style=3D'font-size:10.0pt; font-family:Arial'Robo:p/o:p/span/font/p /div /body /html --=_NextPart_000_0065_01C29BAD.12311810-- ~| 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.
Re: MX Hosting
That's all they have, for CFMX. DMV also runs quite a few other CF servers from 4.0 +. Not sure about the cfobject though, you'd have to call a business support tech (sales staff not in the loop on that kind of thing). Cutter John McKown wrote: Is that all that DMV has?Wow, that is surprising. They are a bigger company than us and we have more servers than that. Delaware.net can give you your own CFMX server for what some companies charge for shared hosting. E-mail me off-list for info. Funny how all three references are in the Delaware area. :) Cutter (CF_Talk) wrote: http://www.dmv.com (Delmarva Online) currently has 2 CFMX Servers (Linux) with either SQL or mySQL support. Cutter Robert Bailey wrote: ~| 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.
Nested Tree sets
I am attempting to understand some articles relating to creating Nested Tree Menus using the a Nested Set Model SQL db structure. The articles are on secretagent.com and don't really make a lick of sense to me. Has anyone else implented something like this who might have some sample code. Especially db structure and query statements (get, put, remove, etc.). Cutter ~| 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
Re: Nested Tree sets
I'm writing CFMX using either a MSSQL or mySQL db (probably MS SQL). I've been poring over the Celko articles, but the concepts were going way over my head. Trying to develop a way to dynamically creat my array file used by the heirmenu script without using an Adjacent List Model (I'm reading that process time is much faster using the Nested Set Model). Cutter Jochem van Dieten wrote: Cutter (CF_Talk) wrote: I am attempting to understand some articles relating to creating Nested Tree Menus using the a Nested Set Model SQL db structure. The articles are on secretagent.com and don't really make a lick of sense to me. Has anyone else implented something like this who might have some sample code. Especially db structure and query statements (get, put, remove, etc.). DB structure application and database dependent (most of all on the SELECT/INSERT/UPDATE ratio) GET http://www.intelligententerprise.com/001020/celko1_1.shtml PUT/REMOVE usually done through procedures, hence database dependent. I have some PL/pgSQL stuff for you if you want. 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: shooting my server soon....
Another way around the reserved word issue is to apply a naming convention to you SQL tables: Update tblReports Set strPassword = 'myPw' Where intLoginID = 1 Cutter Tony Weeg wrote: posimitively positive ;) but good lookin out!! tony -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 11:26 PM To: CF-Talk Subject: RE: shooting my server soon As lng as you are sure G. -mk -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 02, 2001 10:18 PM To: CF-Talk Subject: RE: shooting my server soon cf code u/p that is on a secondary page/step that if you dont know the correct u/p will just redirect you to the main page. im the only one with access...and really, is just for testing...but im the only one with access. trust me i get sick of explaining pebkac to clients and give them only sooo much access. tony -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 11:15 PM To: CF-Talk Subject: RE: shooting my server soon Are you speaking of an SQL server uname and pw? Or some form of login that you implement in your CF code? If it's SQL, then you can set up DB permissions in a very granular way and your risk is less (though not completely gone - if you are allowing update, insert or delete). If not, then you have the issue of raw SQL being passed to the SQL server. Either way, Unless you can be possitive that all the folks who are accessing the script are competent SQL writers - this is a great risk. What happens (for example) when someone puts in update userTable SET fname = 'Bill' , but they forget the where clause. Suddenly, all your users or named Bill ha. Sounds crazy - but do you remember the mistakes you use to make when you first started writing SQL? Or what if they experiment with the truncate key word - or Drop or create. The possiblities are endless - and all really scary g. -mk -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 02, 2001 10:04 PM To: CF-Talk Subject: RE: shooting my server soon even with a username/password protecting it? tony -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 11:03 PM To: CF-Talk Subject: RE: shooting my server soon bingo - if you have a string you are building that includes single quotes, you have to use the preservesinglequotes( ) function. Otherwise you would get exactly this syntax errror - the query without the function would end up being: update [reports] set password = ' '123xxx456' ' (two sets of single quotes). Tony, I wouldn't do it this way unless you are doing some kind of one-time query - or building some form of on-line query analyzer. The security risk is pretty high. I would at least restrict DML type queries using SQL permissions. -mk -Original Message- From: Samuel Neff [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 9:48 PM To: CF-Talk Subject: RE: shooting my server soon So the entire SQL is inside the form field, including the single quotes? Then you need PreserveSingleQuotes()--and think about the security issue.. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 10:44 PM To: CF-Talk Subject: RE: shooting my server soon ok great, it works when i have this in a page... cfquery name=ex datasource=cx update [reports] set password = '123xxx456' /cfquery but not when i send this string from a form field textarea called sql update [reports] set password = '123xxx456' cfquery name=ex datasource=cx #form.sql# /cfquery any idea? tony -Original Message- From: David Notik [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 10:26 PM To: CF-Talk Subject: RE: shooting my server soon Try adding a valid WHERE clause and see if the statement works. UPDATE Reports SET Password = 'XX' WHERE ID=1 That will at least get you closer to diagnosing the cause. Also, be sure your CFQUERY tags have proper and . --Dave ### David Notik Digital202, LLC Imagination gone digital. Web: www.digital202.com E-mail: [EMAIL PROTECTED] Office: (206) 575-1717 Mobile: (206) 351-3948 ### -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 7:21 PM To: CF-Talk Subject: RE: shooting my server soon ok. update [reports] set password = '' Message: Error Executing Database Query. Detail: [Macromedia][SQLServer JDBC Driver][SQLServer]Line 1: Incorrect syntax near ''. Native Error Code: 170 SQL State: HY000 same error? tony -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 10:15 PM To: CF-Talk Subject: RE: shooting my server soon Don't
Passing parameters
For rather odd reasons I am attempting to pass a parameter that looks a little like this: cfparam name=variables.hpimage default=ui:hpimage image='Dr_Andes_final.jpg' width='204' hieght='238' alt='Dr. Jon M. Andes and friends' caption='yes' and call it like: cfoutput#variables.hpimage#/cfoutput Which gives me...nothing? When I try to call it: cfoutput#evaluate(variables.hpimage)#/cfoutput I get the error: The CFML compiler was processing: marks the beginning of a ColdFusion tag.Did you mean LT or LTE? Is there a way to do this? I know it seems rather odd to pass a tag as a parameter but Cutter ~| 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.
Re: Passing parameters
It's not the browser that interprets that parameter string, but rather the CFMX server. This bit of syntax... ui:hpimage image='Dr_Andes_final.jpg' width='204' hieght='238' alt='Dr. Jon M. Andes and friends' caption='yes' ..on it's own calls a custom tag (hpimage.cfm) that writes some rather extensive code to the page. I was trying to find a way to pass it as one parameter to a page instead of as five parameters (without a db call). Cutter Mike Townend wrote: View the source of the browser window... My guess is that it is sending the data out, but the browser doesn't know how to interpret ui:hpimage tags and so hides them HTH -Original Message- From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Monday, December 2, 2002 17:23 To: CF-Talk Subject: Passing parameters For rather odd reasons I am attempting to pass a parameter that looks a little like this: cfparam name=variables.hpimage default=ui:hpimage image='Dr_Andes_final.jpg' width='204' hieght='238' alt='Dr. Jon M. Andes and friends' caption='yes' and call it like: cfoutput#variables.hpimage#/cfoutput Which gives me...nothing? When I try to call it: cfoutput#evaluate(variables.hpimage)#/cfoutput I get the error: The CFML compiler was processing: marks the beginning of a ColdFusion tag.Did you mean LT or LTE? Is there a way to do this? I know it seems rather odd to pass a tag as a parameter but Cutter ~| 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
[SOLVED] Re: Passing parameters
Dave (and all), I tried it passing through the URL, and though it wrote it to the html CFMX still did not parse the code. Instead I decided to pass it like so: cfparam name=variables.hpimage default=Dr_Andes_final.jpg,204,238,Dr. Jon M. Andes and friends,yes cfset variables.hpimagelist = ListToArray(variables.hpimage) Then in my call of the tag I used this: ui:hpimage image=#variables.hpimagelist[1]# width=#variables.hpimagelist[2]# height=#variables.hpimagelist[3]# text=#variables.hpimagelist[4]# caption=#variables.hpimagelist[5]# This worked beautifully to call the tag properly and parse it out. So, in the future if I pass the variable from another page like so: cfset variables.hpimage = myimage.jpg,150,300,My message text,yes It will dynamically recall the tag correctly. Thank you all for your assistance. Cutter * Dave Watts wrote: For rather odd reasons I am attempting to pass a parameter that looks a little like this: cfparam name=variables.hpimage default=ui:hpimage image='Dr_Andes_final.jpg' width='204' hieght='238' alt='Dr. Jon M. Andes and friends' caption='yes' and call it like: cfoutput#variables.hpimage#/cfoutput Which gives me...nothing? When I try to call it: cfoutput#evaluate(variables.hpimage)#/cfoutput I get the error: The CFML compiler was processing: marks the beginning of a ColdFusion tag.Did you mean LT or LTE? Is there a way to do this? I know it seems rather odd to pass a tag as a parameter but It's not the browser that interprets that parameter string, but rather the CFMX server. This bit of syntax... ui:hpimage image='Dr_Andes_final.jpg' width='204' hieght='238' alt='Dr. Jon M. Andes and friends' caption='yes' ..on it's own calls a custom tag (hpimage.cfm) that writes some rather extensive code to the page. I was trying to find a way to pass it as one parameter to a page instead of as five parameters (without a db call). In general, you can't use a tag as an attribute value for another tag. You could get where you're trying to go like this, I suppose: cfsavecontent variable=myimage ui:hpimage ... /cfsavecontent cfparam name=Variables.hpimage default=#Variables.myimage# Of course, this would run the custom tag ui:hpimage whether you needed to use it or not. You might want to look for an alternative approach. Is this custom tag written in CFMX, or is it a JSP custom tag? If it's written in CFMX, you might find the component model to be more suitable for what you're trying to do (or you may not, actually). 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: SOLVED: Re: CFX_IMAGE
Tell us, please... Cutter Bryan Stevenson wrote: Well...nobody responded, but I got it sorted out ;-) 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: Thursday, November 28, 2002 1:30 PM Subject: CFX_IMAGE Hey All, Does anyone have a code snippet showing how to add an image to an existing image using CFX_IMAGE? TIA 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 ~| 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
Re: Alternating Row Colours Number Listing in CFOutput
Could you please explain what the following statement does? ###iif(currentrow mod 2, DE('DFDFDF'), DE('FF'))# Cutter S. Isaac Dealey wrote: cfoutput query=latestlinks tr bgcolor=###iif(currentrow mod 2, DE('DFDFDF'), DE('FF'))# td width=2% align=center class=sideblue valign=middle img border=0 src=height.gif width=1 height=14/td td width=8% align=left class=sideblue valign=middle#currentrow#./td td width=90% valign=middle a href=#linkurl# class=xmaslinking#linktitle#/a /td /tr /cfoutput Try this -- less code. :) s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Application variables
I've been on http://www.benorama.com looking at a CF design pattern. In this tutorial it talks about using your Application.cfm to call _init.cfm, which parses through an xml file to create your application variables. I've done this (very closely following the sample app). I've created a page using cfdump to show me the application variables, but when I change my xml doc and refresh my page the application variables do not appear to update? Any ideas? Cutter ~| 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
CFLOOP issues
*** Sorry if this is repost, still having mail server/client issues *** Something new for me within CF so any help is greatly appreciated. I'm trying to loop through a number of form fields (form.strImage1, form.strImage2, form.strImage3, form.strImage4), do some checking, set some variables. But what I'm doing (and I've never done) must be off base. Here's an example: cfloop index=i from=1 to=4 cfset variables.imagefield = evaluate(form.strImage#i#New) cfif isdefined(form.strImage#i#New) cfif len(variables.imagefield) * * More processing stuff here * cfset variables.image#i# = photo cfset variables.thumb#i# = thumb cfif len(form.strImage#i#) * * Even more processing stuff * /cfif /cfif /cfif cfloop What am I doing wrong? Cutter ~| 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.
CFMX server - what's this?
Has anyone seen this before? I had a site set up on a W2K CFMX server. I set up two more sites. When attempting to access site A I would see the homepage for site B. I would eventually bring up Site C, but then going to site A would show me the home page of Site C (Site B would as well). Anybody? Cutter ~| 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
Image Resize on non MS server
I'm looking for a custom tag to handle image resizing (gif, jpg, etc) that doesn't require a MS server (and is preferably free). Any ideas? Cutter Falcon Knives ~| 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
Image Resize without MS server
I'm trying to find a custom tag that will resize images on upload that does not require an MS server. Any suggestions? Cutter Falcon-Knives.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.
Image Resize without MS server
I'm trying to find a custom tag that will resize images on upload that does not require an MS server. Any suggestions? Cutter Falcon-Knives.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
OT: Apologies
Sorry for the multiple postings, mail server issues... Cutter Falcon-Knives.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
Re: Image Resize without MS server
So, to recap, there is no way to resize images on a *nix based server, using CF MX, without installing some other piece of software (JAI, XWindows, etc.)? Cutter Falcon Knives Kevin Graeme wrote: These have come up a few times. I haven't used them yet though. JAI (Sun's Java Advanced Imaging API) http://java.sun.com/products/java-media/jai/ http://www.macromedia.com/desdev/mx/coldfusion/articles/jai_images.html ImageJ http://rsb.info.nih.gov/ij/index.html http://www.benorama.com/coldfusion/libraries/imaging.htm http://www.web-rat.com/mt2/mt-search.cgi?IncludeBlogs=2search=image+j Kevin Graeme ~| 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
Checking a float
A have a float field in a db to store the number of bathrooms for a property ( 1.5 bathrooms, 3 bathrooms). My question is, how do I check to see if there is a non zero value after the decimal? I want it to show: 1.5 bathrooms 3 bathrooms and not: 1.5 bathrooms 3.0 bathrooms Any help is greatly appreciated. Cutter Falcon Knives ~| 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