RE: OT: .Net Mailinglist
Hmmm... I don't recommend ASP friends at all. They have like 30 lists, each is specific to some aspect of .NET. Even if you join a general list (ASPNGFREEFORALL), which is what I did, your message will get bumped around and take 5 hours before it gets approved and posted on a completely different list, which then they have added your email to as well. So now, instead of one list, you are a member of five because the moderator felt your question wasn't proper for the FREEFORALL list. You are getting much more mail and no answers. Makes no sense to me, it's frustrating to wait hours for a post. Try Active Server Pages at 15seconds.com Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com -Original Message- From: Mitko Gerensky-Greene [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 9:52 AM To: CF-Talk Subject: Re: OT: .Net Mailinglist Try ASP Friends: http://www.aspfriends.com/aspfriendshome/ and http://www.gotdotnet.com/ Mitko - Original Message - From: Urs Bertschy [EMAIL PROTECTED] Date: Thursday, August 29, 2002 7:45 am Subject: OT: .Net Mailinglist Hello all I want to expand my know how to other plattforms especially .Net (ASP.Net, C#). Does anyone of you know a good and informative mailinglist like CF-Talk for .Net? Thanks Urs __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: .NET Web Forms in CF
Hi guys, I know this is kind of off topic... I'm working on a VB ASP.NET shopping cart using web forms. I wonder if anybody has any ideas on how to implement this architecture in CF. Any ideas on how whether or not it's a good idea? Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Way Off Topic - Need help sending email with ASP
So is there any hope in an Other Technologies for CFer's? list Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com -Original Message- From: Dan Haley [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 5:15 PM To: CF-Talk Subject: RE: Way Off Topic - Need help sending email with ASP How about just an Other Technologies for CFers mailing list. Maybe CF-I don't wanna, but I have ta? I use CF at the day job, but my side jobs so far have been in ASP, PHP and ActionScript. Programming skills take you 80% of the way, an ability to RTFM takes you about 15% of the way farther, but sometimes the idiosyncrasies of the language are a pain to figure out. Would be nice to ask questions of the CF group with all of its expertise, without being too far OT. Dan -Original Message- From: Robert Everland [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 1:50 PM To: CF-Talk Subject: RE: Way Off Topic - Need help sending email with ASP What about also a PHP list, I am looking to maybe get into that, unless someone can point to groups that are already out there that are better. It may be good to have these lists on this site though since just about all of us come from a CF background looking to get into another language. The people on the lists here may be more forgiving than ones that are on experienced lists. Just a thought though. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:38 PM To: CF-Talk Subject: RE: Way Off Topic - Need help sending email with ASP Sorry I can't answer your question, but I was just wishing for the same thing: a House of Fusion ASP mailing list. I've spent the entire day trying to figure out how to get a simply query to work, and I come from a Computer Science background. I understand OOP just fine, it's just that there are SO MANY CLASSES. I've joined a number of ASP-specific mailing lists, it's just that none seem to be as active or well-run as this one. Michael Dinowitz, do you think it's possible to start up an ASP-for-CFer's? I would be on it SO quick. Anybody else want to comment on this? Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com -Original Message- From: James Johnson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:23 PM To: CF-Talk Subject: Way Off Topic - Need help sending email with ASP Hi, I know this is way off topic, but really need some help quickly. I can do this easily with CF, but ASP is a way different beast. Has anyone had any experience sending email via ASP/VBScript? I can format the mail headers, to, from, subject, and, can send the mail, but can't get a variable containing a string of other info to show up in the subject. I know the CDONTS mailer is working, or else no mail would be sent or received. I can't debug this in Dreamweaver, as there's no JavaScript. I can't easily figure out how to debug HTML/ASP code in Visual Studio .NET. Here's the code: Dim MyMail Dim MsgText Set MsgText = Request.Form(FirstName) + + Request.Form(LastName) + has requested more information. Set MsgText = MsgText + Please contact them at + Request.Form(Phone) Set MsgText = MsgText + VBCrLf Set MsgText = MsgText + Request.Form(FirstName) + VBCrLf Set MsgText = MsgText + Request.Form(LastName) + VBCrLf Set MsgText = MsgText + Request.Form(Addr1) + VBCrLf Set MsgText = MsgText + Request.Form(Addr2) + VBCrLf Set MsgText = MsgText + Request.Form(City) + VBCrLf Set MsgText = MsgText + Request.Form(State) + VBCrLf Set MsgText = MsgText + Request.Form(ZIP) + VBCrLf Set MsgText = MsgText + Request.Form(Email) + VBCrLf Set MsgText = MsgText + Request.Form(Phone) + VBCrLf Set MsgText = MsgText + Request.Form(Comments) + VBCrLf Set MsgText = MsgText + Request.Form(NoMkt) + VBCrLf Set MyMail = CreateObject(CDONTS.NewMail) MyMail.From = [EMAIL PROTECTED] MyMail.To = [EMAIL PROTECTED] MyMail.Subject = Information Request MyMail.BodyFormat = 1 'plain text MyMail.MailFormat = 1 'plain text MyMail.Body = MsgText MyMail.Send Set MyMail = Nothing Again, sorry for the off topic, but if there was a House of ASP mailing list :) Thanks, *** James Johnson SMB-Studios Innovative Online Learning for Spirit, Mind and Body www.smb-studios.com [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk
RE: Copying an Access memo field from one table to another.
It's because you have four fields listed and only three insert values. That's why you can take out Text and it will work. :-) Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 11:30 AM To: CF-Talk Subject: Copying an Access memo field from one table to another. I'm using this CFQUERY: CFQUERY datasource=#Datasource# name=AddCategories INSERT INTO Categories(SurveyID, Title, Text, TriggerPoint) VALUES (#GetSurveyID.LastID#, '#Title#', #Triggerpoint#) /CFQUERY To copy data from a default table to a live table. The Text field is a memo, and CF throws an error. If I take Text out, it works fine. Is it a reserved word, or is there a trick to copying memo fields? T __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
I'm not necessarily agreeing with everything that Matt Liotta says but, gosh, is wouldn't go so far as to say that CF is the best tool for the job more often than not. It's a good tool for small-medium sized websites, and it's nice and fast dev time, but there are many instances that CF is not necessarily the best tool for the job, although it can be used. Intranets are one thing I can think of. I have an intranet here that I wrote last year using CF - because I am most experienced at CF. However, I believe that had I written it in ASP, I would have not encountered the numerous problems and trials that using COM through CF gives us. I have actually written one page in CF that calls an ASP page because ASP does the job quicker and easier. I love CF, I used to work for Allaire, but let's not kid ourselves and think that CF is the hammer that can strike all the nails. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 11:49 AM To: CF-Talk Subject: Re: CF vs. ASP Matt I think we all agree that we should use the best tool for the job. The point everyone is trying to convey to you is that CF is the best tool for the job more often than ASP (or PHP etc.). This is because it does dang near everything we want and when it doesn't more than likely someone has already written a custom tag or UDF to handle it. We're all rightlets go for a beer (Canadian beer that is) ;-) 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: Matt Liotta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 26, 2002 6:22 PM Subject: RE: CF vs. ASP Sure... but the same could be said about ANY programming language. But this isn't ANY-Talk. This is CF-Talk and we are discussing CF vs. ASP, which makes it relevant. I certainly don't believe ColdFusion is the ultimate solution for EVERY job, just like I don't use a pipe wrench when I really need a hammer. UNLESS the pipe wrench will fix my problem faster than it would take me to get up, go to the garage, and get the hammer. :-) That is a great attitude! Now if only the rest of the list would feel the same way. -Matt __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Well, just to put your comments in perspective, let me ask a question: Did you research other technologies to see if there was one better suited to the need of your intranet? Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 1:21 PM To: CF-Talk Subject: Re: CF vs. ASP On Tuesday, August 27, 2002, at 09:11 , Matthew R. Small wrote: Intranets are one thing I can think of. I have an intranet here that I wrote last year using CF - because I am most experienced at CF. However, I believe that had I written it in ASP, I would have not encountered the numerous problems and trials that using COM through CF gives us. I have actually written one page in CF that calls an ASP page because ASP does the job quicker and easier. But COM has nothing to do with Intranet. CF is a great tool for writing Intranets (we're in the process of converting our legacy ASP-based Intranet to CF). I agree that if your web application is heavily dependent on COM then you need to think carefully about CF because of issues with COM (historically and currently). If your web application doesn't need COM - and a lot do not - then CF is a very good tool that doesn't need to be restricted to small-medium sized sites. After all, we're rewriting macromedia.com using CFMX and we get about 6m age views a day. Remember: using the best tool for the tool is not about picking just one technology and using it for the whole job, it's about picking the right tool for each part of the job and integrating the whole (with the caveat that the integration effort may be sufficiently high that the second best tool for one job might mean less integration - and therefore be a better choice). CFMX is very good at integration - lots of high-level tags to access other systems as well as Java integration - so the price of using using CF is low from an integration p.o.v. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Way Off Topic - Need help sending email with ASP
Sorry I can't answer your question, but I was just wishing for the same thing: a House of Fusion ASP mailing list. I've spent the entire day trying to figure out how to get a simply query to work, and I come from a Computer Science background. I understand OOP just fine, it's just that there are SO MANY CLASSES. I've joined a number of ASP-specific mailing lists, it's just that none seem to be as active or well-run as this one. Michael Dinowitz, do you think it's possible to start up an ASP-for-CFer's? I would be on it SO quick. Anybody else want to comment on this? Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com -Original Message- From: James Johnson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:23 PM To: CF-Talk Subject: Way Off Topic - Need help sending email with ASP Hi, I know this is way off topic, but really need some help quickly. I can do this easily with CF, but ASP is a way different beast. Has anyone had any experience sending email via ASP/VBScript? I can format the mail headers, to, from, subject, and, can send the mail, but can't get a variable containing a string of other info to show up in the subject. I know the CDONTS mailer is working, or else no mail would be sent or received. I can't debug this in Dreamweaver, as there's no JavaScript. I can't easily figure out how to debug HTML/ASP code in Visual Studio .NET. Here's the code: Dim MyMail Dim MsgText Set MsgText = Request.Form(FirstName) + + Request.Form(LastName) + has requested more information. Set MsgText = MsgText + Please contact them at + Request.Form(Phone) Set MsgText = MsgText + VBCrLf Set MsgText = MsgText + Request.Form(FirstName) + VBCrLf Set MsgText = MsgText + Request.Form(LastName) + VBCrLf Set MsgText = MsgText + Request.Form(Addr1) + VBCrLf Set MsgText = MsgText + Request.Form(Addr2) + VBCrLf Set MsgText = MsgText + Request.Form(City) + VBCrLf Set MsgText = MsgText + Request.Form(State) + VBCrLf Set MsgText = MsgText + Request.Form(ZIP) + VBCrLf Set MsgText = MsgText + Request.Form(Email) + VBCrLf Set MsgText = MsgText + Request.Form(Phone) + VBCrLf Set MsgText = MsgText + Request.Form(Comments) + VBCrLf Set MsgText = MsgText + Request.Form(NoMkt) + VBCrLf Set MyMail = CreateObject(CDONTS.NewMail) MyMail.From = [EMAIL PROTECTED] MyMail.To = [EMAIL PROTECTED] MyMail.Subject = Information Request MyMail.BodyFormat = 1 'plain text MyMail.MailFormat = 1 'plain text MyMail.Body = MsgText MyMail.Send Set MyMail = Nothing Again, sorry for the off topic, but if there was a House of ASP mailing list :) Thanks, *** James Johnson SMB-Studios Innovative Online Learning for Spirit, Mind and Body www.smb-studios.com [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
MS-SQL Server 2K, TSQL and CF Admin
Hi everyone, I'm trying to setup a MS-SQL Server 2K datasource in the CF administrator, version 4.5. I have no experience doing this. I want to use the OLEDB since I've heard it's faster. But I don't know what to enter in the Provider DSN and Provider fields. Can anybody help me? On the same note, am I allowed to use T-SQL with both ODBC Datasources and OLEDB? Thank you, Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hover doesn't work with CFMX?
What does the output HTML look like? Is CFMX having problems with the pound sign in the color attribute of the hover tag? Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: James Johnson [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 11:59 AM To: CF-Talk Subject: A:Hover doesn't work with CFMX? Hi, CF MX installed on my development (localhost:8500) system. I have a simple page with some styles declared; A.TOC, A.TOC:HOVER, A.TOC:VISITED. This is a prototype page, with no CFML in it. When viewing through CFMX (localhost:8500) the HOVER style doesn't work. When viewed through CF 5, the HOVER style works. style type=text/css !-- A.TOC:HOVER { color : #CC9933; text-decoration : underline; font-family: Arial, Helvetica, sans-serif; font-size: 14px; } -- other styles here -- /style !--- Link code --- a href=# class=TOC onClick=MM_popupMsg('Link to detailed company page.')What we do/a Any ideas? Thanks, Jim *** James Johnson SMB-Studios Innovative Online Learning for Spirit, Mind and Body www.smb-studios.com [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: debugging
When you use a form, add ?mode=debug to your action url. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 11:51 AM To: CF-Talk Subject: RE: debugging We use dynamic ip's here that constantly change, so we can't list them in the CF Admin debugging. I'd like to be able to see the queries that are being run on my submit page, I've tried using mode=debug, but doesn't seem to work with the javascript form submit I'm using. Is there a way to do this with CF4.5? Are you the only person using the page you want to see the debug on? If so, use; CFSETTING SHOWDEBUGOUTPUT=Yes Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ANY Major Company using Cold Fusion
Nintendo of America and Scholastic Publishing. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: Ilyinsky, Igor [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 1:14 PM To: CF-Talk Subject: RE: ANY Major Company using Cold Fusion Uh, we use it... CSFB CSFP DLJ Pershing IGOR ILYINSKY CREDIT|FIRST SUISSE|BOSTON GLOBAL WEB SERVICES -Original Message- From: Corrine Clark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 5:16 PM To: CF-Talk Subject: ANY Major Company using Cold Fusion I need some major companies that are using cold fusion. If you know of some please let me know. Thank you, Corrine Clark __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ANY Major Company using Cold Fusion
Well, they were a couple of years ago, along with Spectra. I know, I went there with a couple of other Allaire consultants. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: JLH All Turbo [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 1:21 PM To: CF-Talk Subject: Re: ANY Major Company using Cold Fusion America looks to be using JSP - Original Message - From: Matthew R. Small [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, August 16, 2002 1:20 PM Subject: RE: ANY Major Company using Cold Fusion Nintendo of America and Scholastic Publishing. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: Ilyinsky, Igor [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 1:14 PM To: CF-Talk Subject: RE: ANY Major Company using Cold Fusion Uh, we use it... CSFB CSFP DLJ Pershing IGOR ILYINSKY CREDIT|FIRST SUISSE|BOSTON GLOBAL WEB SERVICES -Original Message- From: Corrine Clark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 5:16 PM To: CF-Talk Subject: ANY Major Company using Cold Fusion I need some major companies that are using cold fusion. If you know of some please let me know. Thank you, Corrine Clark __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Forms and that darned browser BACK button...
Here's a method I use: instead of writing to the database on every new page, just drop the entire form structure into every page as hidden fields. That way, if somebody wants to use the back button, only form fields are affected, and those can change from page to page without any effect on the db. The multipage form will then actually be a single page form by the time you get to the end of the form. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 8:40 PM To: CF-Talk Subject: Forms and that darned browser BACK button... I've got a 10 page multipart form constructed like FORM PAGE 1 submits to: Process page 1 - which writes page 1 to the database and redirects (cflocation) to: FORM PAGE 2 submits to: Process page 2 - which writes page 2 to the database and redirects (cflocation) to...blah, blah, blah The user should work through all 10 pages to the end. If they do that, no problems... The user is given a link option on every page to save at any point in the process and come back later to edit anything they've entered or left out, but there's always that one guy that's going to decide to change something right after he hits SUBMIT on page 4, and tries to back up to page 3 and enter new information, which we can't let happen because the page 3 record with his unique ID has already been written, and thusly an error is thrown. I've been looking at ways to prevent this from happening. Am studying various JavaScript history replace options and anything else I can find. How do the rest of you handle this? Is there a sorta standard solution that everybody uses? Thanks Les __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: 33 and 33d the same?
I'd be willing to bet that you are right... I think in Java, 33d means 33 in the decimal system, which is the same as 33. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 5:21 PM To: CF-Talk Subject: RE: 33 and 33d the same? MX PRO 'The Same' Umm is this a Java variable suffix thing? If memory serves you can scope a var at INT, DOUBLE, etc... I.E. 33D would be scoped as a DOUBLE. -Original Message- From: Bruce, Rodney S HQISEC/SIGNAL [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 4:14 PM To: CF-Talk Subject: RE: 33 and 33d the same? tried on CF5/win2k got 'IDs are different' On Tue, 13 Aug 2002, Brian Thornton wrote: cfset group_id = 33 cfset lot_id = 33D cfif lot_id EQ group_id The same CFELSE These ID's are different! /cfif Output is same __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: RE-REPOST: Limiting Printing
Hi Bryan, Are you wanting to print to a client machine (meaing not on the same network) or a server output or machine on the same network as the server? If you're printing from a server or from a network that your CF server is on, then you should look into COM and Word or some various printing programs out there such as stoneage software's printing module using RTF or at activPDF which has a great (as I understand it) printing and imaging interface. If you're looking at printing on the client machine, I understand that flash has a nice printing module because I've experienced it before... I don't know how it works, but I can vouch that it's cool. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 6:08 PM To: CF-Talk Subject: RE-REPOST: Limiting Printing Hey All, I'm just in the beginning phases of figuring out how I am going to make it hard (not bulletproof) for a user to print and image more than once. Now I'm open to how that image gets sent to the printer (as an image...in a Word fileother ideas...just not in a PDF). Requirements: Netscape or IE (version 4 and up) CF Server 5 Enterprise Currently using CFX_Image to add text to a blank image file (gif of jpeg...doesn't matter to me). My thoughts so far: I've looked at CF Comet and found a few methods of sending a Word file to the printer. That means I could drop the edited image into a Word doc and fire that to the printer. Now I suppose that if that method brings up the printer dialogue box then the user could simply up the number of copies (thoughts...comments). I was thinking of having the image (or thumbnail of it...with right clicking disabled) display in a pop-up window with a print link which would send the proper file to the client's printerclose the pop-upnavigate the main window to a new page and disable it's back button (not sure if I can disable it in IE and Netscape). That would take care of most average users. There may be folks that would try to work around it, but ultimately it's not too big of an issue if someone did. Thoughts? Comments? Cross browser crud? Links? Custom Tags? Thanks in advance 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 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFGrid and its display width
Yes, I've come across a problem similar to this one: I upgraded my version of IE to fix it. This happens as well in netscape? You might also try upgrading your JRE with the Sun JRE. http://java.sun.com/getjava/download.html Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 1:34 PM To: CF-Talk Subject: CFGrid and its display width I'm having a problem, and I've looked through the archives and the macromedia support forums, and I've seen mention of other people having this same problem as early as CF5, but haven't seen a resolution on any of those threads. Could be I'm missing it, but I'm not sureSo What happens, is that a random amount of the time (maybe about 15%) CFGrid loads up in a page, and the gray java box goes accross the width of screen as it should, but the grid piece only goes about half-way accross the screen. It also cuts off columns that would have been farther right than its border, and does not have a scroll bar to see them with. If I refresh, let it display, see the results, and refresh again, it happens consistantly at a random interval (IE: I can always get it to happen, but the amount of times required is not constant). 1. Has anyone else seen this? and 2. Any fix? I'll include the code, for what it's worth cfgrid height=150 query=ContactInfo name=gridContacts insert=no delete=no width=800 cfgridcolumn name=FullName width=170 header=Name href=../Contacts/contacts.cfm?Action=ViewContactID=#ContactInfo.Contac tID# cfgridcolumn name=Title header=Title width=170 Cfgridcolumn name=WorkPhone header=Phone width=150 cfgridcolumn name=Email header=Email width=200 href=mailto:#ContactInfo.Email#; /cfgrid Josh Remus Network Administrator __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ColdFusion Mail Server
Hi Chad, I've never had that problem before but it seems like you've narrowed the exact problem down. Why don't you build a list of the emails that you want in the CC field, then check the length of the string. Just keep adding an email to the list until it's longer than 1045, then remove the final email that you added. Then send the partial list an email, and start with the remaining emails. Just one way to do it. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 10:35 AM To: CF-Talk Subject: ColdFusion Mail Server I am sending an e-mail via the ColdFusion mail server with a valid To and From address and the CC field is filled in with around 68 e-mail addresses. It seems that when the CC field has more than 1045 characters it splits the list up causing the e-mail to get sent back to me because the To and From field has nothing in it. When you look at the body of the e-mail the To, From and Subject lines are empty and the CC is split into two sections. Has anyone else run into this problem before and if so what work around did you do? __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: DWMX
Hi Everybody, I have two questions about working in DWMX. 1) Whenever I try to open a page that contains frames, it wants to open the frame's pages rather than give me the source of the page. How can I open up a page containing frames? 2) Is there no way to select a block of text and do a find replace only on that selected block? Also, I just subscribed to CF-Studio but haven't received a single email from the list other than the authorization emails. Is this an active list? Thank you very much, Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Studio MX and Homesite - Where is Homesite?
Hi all, I just bought MX Studio - where is Homesite? I need to do a site-wide find and replace. Can I do it in DWMX? Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Studio MX and Homesite - Where is Homesite?
Um, duh, you're right. Thank you. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 10:54 AM To: CF-Talk Subject: Re: Studio MX and Homesite - Where is Homesite? You should be able to in DWMX, just hit cntrl-f and take a look at your options there. ~Todd On Mon, 29 Jul 2002, Matthew R. Small wrote: Hi all, I just bought MX Studio - where is Homesite? I need to do a site-wide find and replace. Can I do it in DWMX? Matthew Small IT Supervisor -- Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ | Team Macromedia Volunteer for ColdFusion | http://www.macromedia.com/support/forums/team_macromedia/ | http://www.flashCFM.com/ - webRat (Moderator)| http://www.ultrashock.com/ - webRat (Back-end Moderator) | __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Admin) Behavior
I've got an idea - I'd be happy to write a small app that would let us vote on people who flame. If a particular person gets enough votes, then Michael D. is notified that the list is tired of this person. Then he can deal with the person any way that he wants - remove him, reprimand, torture, etc. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: javascript addition
Use the function eval() with each textbox value: Eval(document.newBillingInfo.SCEPbilledAmount.value) - Matt Small -Original Message- From: Tim Do [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 12:36 PM To: CF-Talk Subject: javascript addition Hello, Can anybody show me how you would I would validate the sum of several text boxes? This is what I'm trying to use but not having luck.. thanks in advance. function validate() { if (document.newBillingInfo.SCEPbilledAmount.value + document.newBillingInfo.SCEPpenaltyAmount.value + document.newBillingInfo.SCEPdelinquentAmount.value != document.newBillingInfo.SCEPtotalAmount.value) { alert(The total Billing amount does not add up correctly, Please check the values.) document.newBillingInfo.SCEPbilledAmount.focus() return false; } return true; } __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: OT javascript addition
Wow, that's correct but it sure does have a lot of parentheses. Shouldn't the order of precedence be enough to get the addition correct? -Original Message- From: Stephen Kellogg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 3:44 PM To: CF-Talk Subject: RE: OT javascript addition sorry try this: if ((eval(document.newBillingInfo.SCEPbilledAmount.value)) + (eval(document.newBillingInfo.SCEPpenaltyAmount.value)) + (eval(document.newBillingInfo.SCEPdelinquentAmount.value))) != document.newBillingInfo.SCEPtotalAmount.value) SK -Original Message- From: Tim Do [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 2:30 PM To: CF-Talk Subject: RE: OT javascript addition Thanks Stephen.. I tried that earlier but that only concatenates it -Original Message- From: Stephen Kellogg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:08 AM To: CF-Talk Subject: RE: OT javascript addition Tim, try adding () around the addition part like so: if ((document.newBillingInfo.SCEPbilledAmount.value + document.newBillingInfo.SCEPpenaltyAmount.value + document.newBillingInfo.SCEPdelinquentAmount.value) != document.newBillingInfo.SCEPtotalAmount.value) This should force the addition to take place before the comparison. PS are you checking for numeric input only This could be done like so: if ((isNaN(document.newBillingInfo.SCEPbilledAmount.value)) || (isNaN(document.newBillingInfo.SCEPpenaltyAmount.value)) || (isNaN(document.newBillingInfo.SCEPdelinquentAmount.value)) || (isNaN(document.newBillingInfo.SCEPtotalAmount.value)) { alert(The amounts must be numeric, Please check the values.) document.newBillingInfo.SCEPbilledAmount.focus() return false; } else { if ((document.newBillingInfo.SCEPbilledAmount.value + document.newBillingInfo.SCEPpenaltyAmount.value + document.newBillingInfo.SCEPdelinquentAmount.value) != document.newBillingInfo.SCEPtotalAmount.value) { alert(The total Billing amount does not add up correctly, Please check the values.) document.newBillingInfo.SCEPbilledAmount.focus() return false; } return true; } } or something like that ;-) this is untested code but hopefully will give you something to work with. HTH Stephen -Original Message- From: Tim Do [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 12:36 PM To: CF-Talk Subject: javascript addition Hello, Can anybody show me how you would I would validate the sum of several text boxes? This is what I'm trying to use but not having luck.. thanks in advance. function validate() { if (document.newBillingInfo.SCEPbilledAmount.value + document.newBillingInfo.SCEPpenaltyAmount.value + document.newBillingInfo.SCEPdelinquentAmount.value != document.newBillingInfo.SCEPtotalAmount.value) { alert(The total Billing amount does not add up correctly, Please check the values.) document.newBillingInfo.SCEPbilledAmount.focus() return false; } return true; } __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Finding a good Session management system.
Talking about mulit-page forms... I don't use session or client variables at all when doing multi-page forms. I simply pass the form structure on to the next page in hidden form fields. That way, if somebody chooses to go -Back, then the variables are there in the preceding page code, not the memory. The problems with going through any particular page more than once in a session does not apply to this situatioun either. I don't have to worry about session or client persistance or wacky form paths. The form variables just get passed on page to page until the end of the form is reached, then the are committed to the database (or whatever) all at once. - Matt Small -Original Message- From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 10:36 AM To: CF-Talk Subject: RE: Finding a good Session management system. Stephen, I am not going to comment on the client vs. session variable issue that everyone else is talking about. I am awfully ignorant about client variables, and I am learning from those other messages as they come. I can, however, offer some advice on the approach to a multi-page form with session variables. I just (last night) released a multi-page registration system for a web site. When I started, I thought, I'll just put the variables from each form submission into a session variable, which I will store until the end of the process, at which point everything will be submitted at once. OK. That made sense, but with locking and keeping track of things and needing to let the user go back and forth and edit data, things got miserable from a variable management standpoint. Halfway through, although I kept the basic concept the same, I made a change which greatly simplified my life. Here's the idea: the biggest heartaches came in testing for a variable's existence, providing for all possible cases of its value, and the locking issues. So, I eliminated all of them. I created a page called registration_init.cfm that set to default values all of the session variables that I would be using throughout the registration process. At the top of each page, I have one CFLOCK block that pulls all of the relevant session variables for the form into local variables. Each page then pre-populates its form fields with those local variables, regardless of their value; if they are blank, fine, and if they have data from the session variables, fine. This allows you to go back and forth between forms very easily. I also set up my pages in a (probably inefficient) funny way. The flow is like this: registration_init.cfm registration1.cfm registration1_action.cfm registration2cfm registration2_action.cfm etc. Each action page validates all of the data and goes to the appropriate page: forward if everything is okay, and back if it's not. If it goes back, it also passes error values which appear on the page to let the user know what they did wrong and how to fix it. I can't remember right now if this flow setup tied into the session variable management issue, but just so you have some more ideas, I thought I'd throw it in. Anyhow, the main thing is that by pre-defining all the variables that I was going to use, I removed the need to check their values on each page. Of course, it's essentially doing the same thing, but by doing it in a centralized way was a lot easier. Hope this rambling is helpful, Matthieu -Original Message- From: Adams, Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 9:30 AM To: CF-Talk Subject: RE: Finding a good Session management system. ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Well, the application I am building at the moment uses a series of forms to gather information from the user and then on the final page runs a query based on what has been selected in these forms. So I am storing some of the user's choices in session variables so that they can be passed can be used in the query on the last page. This is quiet a small application. My next one is going to be a large intranet with a lot of personalisation. Oh I love web-rat.com by the way, great site. Stephen -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Sent: 22 July 2002 14:10 To: CF-Talk Subject: RE: Finding a good Session management system. That was a pretty vague and not very helpful answer John. Stephen, what all are you storing in session variables? Could you describe your application a little more? I've always tried to make sure that I'm using session variables as little as possible anymore. I've moved majority of my session variables into client variables (storage in db). None the less, there's still a variable management issue that you have to get your fingers wrapped around. Perhaps you're storing too much
RE: Dynamic form actions
Sure it is: input type=Image src=image1.gif onclick=document.formname.action = 'page1.cfm'; document.formname.submit(); input type=Image src=image2.gif onclick=document.formname.action = 'page2.cfm'; document.formname.submit(); - Matt Small -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:38 PM To: CF-Talk Subject: Dynamic form actions Is there a way to have a form with two images as buttons, but will send the form fields to a different url. i.e. you have two form fields Username Password and image A and Image B If you hit image A the form is posted to www.a.com and if you hit image B the form is posted to www.b.com the JavaScript to submit the form is simple but can you control the action location. Any help would be great. Matt Friedman __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Dynamic form actions
Try replacing document.formname.action with this.formname.action and replace formname with the name of the form. - Matt Small -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 1:10 PM To: CF-Talk Subject: RE: Dynamic form actions I tried this code. Works great in IE and Modzilla, but not in Net 4.7 any suggestions matt -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:54 PM To: CF-Talk Subject: RE: Dynamic form actions Sure it is: input type=Image src=image1.gif onclick=document.formname.action = 'page1.cfm'; document.formname.submit(); input type=Image src=image2.gif onclick=document.formname.action = 'page2.cfm'; document.formname.submit(); - Matt Small -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:38 PM To: CF-Talk Subject: Dynamic form actions Is there a way to have a form with two images as buttons, but will send the form fields to a different url. i.e. you have two form fields Username Password and image A and Image B If you hit image A the form is posted to www.a.com and if you hit image B the form is posted to www.b.com the JavaScript to submit the form is simple but can you control the action location. Any help would be great. Matt Friedman __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Dynamic form actions
And be careful also... There are some diehard NS fans out here... I'm not one of them, but be warned... -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 2:00 PM To: CF-Talk Subject: RE: Dynamic form actions No that did not work either. I did change the name of the form and called the JavaScript with the name. It is just NS 4.7 #$@#$ crappy Browser!!! -Original Message- From: Douglas Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 1:47 PM To: CF-Talk Subject: Re: Dynamic form actions or use document.forms[0] Douglas Brown Email: [EMAIL PROTECTED] - Original Message - From: Matthew R. Small [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, July 18, 2002 10:51 AM Subject: RE: Dynamic form actions Try replacing document.formname.action with this.formname.action and replace formname with the name of the form. - Matt Small -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 1:10 PM To: CF-Talk Subject: RE: Dynamic form actions I tried this code. Works great in IE and Modzilla, but not in Net 4.7 any suggestions matt -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:54 PM To: CF-Talk Subject: RE: Dynamic form actions Sure it is: input type=Image src=image1.gif onclick=document.formname.action = 'page1.cfm'; document.formname.submit(); input type=Image src=image2.gif onclick=document.formname.action = 'page2.cfm'; document.formname.submit(); - Matt Small -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:38 PM To: CF-Talk Subject: Dynamic form actions Is there a way to have a form with two images as buttons, but will send the form fields to a different url. i.e. you have two form fields Username Password and image A and Image B If you hit image A the form is posted to www.a.com and if you hit image B the form is posted to www.b.com the JavaScript to submit the form is simple but can you control the action location. Any help would be great. Matt Friedman __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Dynamic form actions
Can we see the code? -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 2:00 PM To: CF-Talk Subject: RE: Dynamic form actions No that did not work either. I did change the name of the form and called the JavaScript with the name. It is just NS 4.7 #$@#$ crappy Browser!!! -Original Message- From: Douglas Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 1:47 PM To: CF-Talk Subject: Re: Dynamic form actions or use document.forms[0] Douglas Brown Email: [EMAIL PROTECTED] - Original Message - From: Matthew R. Small [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, July 18, 2002 10:51 AM Subject: RE: Dynamic form actions Try replacing document.formname.action with this.formname.action and replace formname with the name of the form. - Matt Small -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 1:10 PM To: CF-Talk Subject: RE: Dynamic form actions I tried this code. Works great in IE and Modzilla, but not in Net 4.7 any suggestions matt -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:54 PM To: CF-Talk Subject: RE: Dynamic form actions Sure it is: input type=Image src=image1.gif onclick=document.formname.action = 'page1.cfm'; document.formname.submit(); input type=Image src=image2.gif onclick=document.formname.action = 'page2.cfm'; document.formname.submit(); - Matt Small -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:38 PM To: CF-Talk Subject: Dynamic form actions Is there a way to have a form with two images as buttons, but will send the form fields to a different url. i.e. you have two form fields Username Password and image A and Image B If you hit image A the form is posted to www.a.com and if you hit image B the form is posted to www.b.com the JavaScript to submit the form is simple but can you control the action location. Any help would be great. Matt Friedman __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cf vs AOL help needed....
I would say deny because clients variables (like CFID/CFTOKEN) stored on the client to confirm identity do not use IP. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 9:55 AM To: CF-Talk Subject: Re: Cf vs AOL help needed Justin Hansen wrote: While I haven't had this problem myself (I soon will), I have heard this CF vs. AOL tid bit. An AOL users IP address may (and do) change during a session, when it does, CF thinks they are a new user and the user is no longer associated with their session. The only way around this is to add CFID and CFTOKEN to every url in the site. Can anybody confirm or deny this? Put up my vote for the deny :) Sessions are not based on IP addresses, they are based on the CFID/CFToken combination (or the jsessionid). Jochem __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Muliple Domain Pointers and Redirection
Yes you can do this. You need to have multiple domains pointing at the same domain, so that http://www.site1.com and http://www.site2.com point to the same IP address. This is done by having your domain regitered with that IP. When a person browses to either site, a CF script in your index.cfm page will do the redirecting. cfswitch expression=#cgi.HTTP_HOST# cfcase value=www.site1.comcflocation addtoken=no url=http://www.site1.com/site1/;/cfcase cfcase value=site1.comcflocation addtoken=no url=http://site1.com/site1/;/cfcase cfcase value=www.site2.comcflocation addtoken=no url=http://www.site2.com/site2/;/cfcase cfcase value=site2.comcflocation addtoken=no url=http://site2.com/site2/;/cfcase cfdefaultcase h1Error: 404/h1br URL not foundbr iPlease check your URL and try again./i /cfdefaultcase /cfswitch - Matt Small -Original Message- From: Martin Wright [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:06 AM To: CF-Talk Subject: Muliple Domain Pointers and Redirection I posted the msg below a little while back, but having looked at the answer realised it was only a partial solution. In other words it's the masking rather than the redirection I'm looking for help with :) Can it be done? -- Martin Wright -Original Message- From: Martin Wright [mailto:[EMAIL PROTECTED]] Sent: 20 June 2002 16:06 To: '[EMAIL PROTECTED]' Subject: Muliple Domain Pointers and Redirection Forgive the elementary questuion - just getting to grips... Where you have multiple domain pointers on a web site can CF arrange redirection such that: www.site1.com physically redirects to www.site2/site1 BUT masks this by showing just www.site1.com or even www.site1.com/site1 in the address bar of the browser? And site2 etc. I know web forwarding can do this by using frames. However, when I tried the 4Guys tute doing it in ASP (Vbs) I could get the redirection but not the masking. __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFLOCATION and CFCOOKIE
Hi Everybody, I'm sure I'm retreading an old topic here... I'm sure that I've read that if a cflocation is performed after a cfcookie, then the cookie never gets set. So how do I achieve ssetting a cookie? What I need to do is log a daily unique customer (determined by cookie) who clicks on a link and them send him/her to a Windows Media File. Any ideas Thank you, Matthew Small __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFLOCK - will it make thread unsafe tags safe?
I would say generally yes, unless there is something in the tag itself which would cause multiple threads to spawn. - Matt Small -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 4:10 PM To: CF-Talk Subject: CFLOCK - will it make thread unsafe tags safe? Hi - Will wrapping a thread unsafe cfx tag in a server scope lock make it thread safe? Thanks, Brian __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JS/CF script problem
You can do choice B: Document.formname.textboxname.value = document.formname.textbox2name.value; - Matt Small -Original Message- From: Bill Henderson [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 4:21 PM To: CF-Talk Subject: JS/CF script problem Can anybody help me do one of two things: A.) Make a call from a JavaScript function to a function written in CFScript, Or B.) Reference form elements (before a submission) in CFScript, like JavaScript does. Example: myform.mystring.innerText=myform.mystring2.innerText will copy the value of a text input to another. Can I do either of these? Bill Henderson [EMAIL PROTECTED] __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Julian Date Format output 0YYDDD
When I was in the USMC we used a Julian date - it was the last two digits of the year followed by the cardinal number of the day of the year. Ex: 1 January 2000 = 1 1 February 1999 = 99032 - Matt Small -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 12:53 PM To: CF-Talk Subject: Re: Julian Date Format output 0YYDDD Julian dates are pre-Gregorian calender (which is what we use now). Banks use them because they aren't affected by the like of the Y2K cock-up, because you just store an integer and convert it to a real date. I should point out that Julian dates are not in the format 0YYDDD Have a look at for a history of the calender http://astro.nmsu.edu/~lhuber/leaphist.html and at http://aa.usno.navy.mil/data/docs/JulianDate.html for an online convertor Regards Stephen - Original Message - From: Charles Nahm [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, June 25, 2002 5:40 PM Subject: RE: Julian Date Format output 0YYDDD -Original Message- From: Jim Vosika [mailto:[EMAIL PROTECTED]] What is julian exactly? Just curious? Please give an example. Some archaic Unix based date format from what I can see. It is still used by some banks. The format is 0YYDDD, so today would be 002150 (assuming there have been 150 days total this year). Regards, Charles Nahm __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: OT: Using JS to skip a Tab index?
I would use a more explicit direction for the second element: input type=text name=i1 input type=text name=i2 onfocus=s1.focus() select name=s1 -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 7:07 PM To: CF-Talk Subject: RE: OT: Using JS to skip a Tab index? Problem with this is that the field will eventually get focus when tabbing. We can't allow focus to the element at all when tabbing. Ksuh's suggestion to try a -1 for the tabindex might do the trick. I'll try it out. Shawn Grover -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 4:48 PM To: CF-Talk Subject: Re: OT: Using JS to skip a Tab index? I believe the tabindex attribute is HTML standard for most form elements, so rather than a complicated javascript, you should be able to simply tell the form which elements are at what points in the tab order, i.e. input type=text name=... tabindex=1 input type=text name=... select name=... tabindex=2 hope this helps Isaac www.turnkey.to 954-776-0046 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple list box problem
Hi Ian, You have to remember that these are list boxes - if there are no highlighted selections, then nothing will be submitted from the box. Use a javascript loop to select every item in your second box upon form submission and everything will be fine. - Matt Small -Original Message- From: Ian Lurie [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 11:44 AM To: CF-Talk Subject: Multiple list box problem Hi, I've got two list boxes side by side - when you click a button in the middle you move values from the left hand box (list1) to the right hand box (list2). That works fine - problem is, when I submit the form, list2 doesn't exist in the form scope. If I manually select all items in the list2 field, then they submit just fine. How do I automate this? So that simply moving a value from list1 to list2 is enough? Thanks, Ian Portent Interactive Helping clients build customer relationships on the web since 1995 Consulting, design, development, measurement http://www.portentinteractive.com Talk with us: http://projects.portentinteractive.com __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Looking for ActiveX creation/use references
Hi Shawn, I've never done anything with activex or vbscript before, but it seems logical to me vbscript would be easier to use with activex than javascript would be because vbscript and activex are both MS. VBScript would probably have more methods than JS for activex. I think as long as you're writing VB, vbscript should come pretty easy. I can't back any of this up, however. I do this thinking that it might make life easier on you. HTH, Matt Small -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 2:04 PM To: CF-Talk Subject: RE: Looking for ActiveX creation/use references Well, thus far, I am able to fire my public methods from javascript. But I'm not having any luck finding a reference on how to access the events triggered by the ActiveX object... My test project is a button and a textbox. Clicking the button increments a number in the checkbox. When the value of the textbox changes, or the button is clicked, an event is supposed to be raised, that can be intercepted on the web page. It's that interception part I'm missing so far tips??? Thanks a bunch. Shawn Grover -Original Message- From: Cravens, Billy [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 11:54 AM To: CF-Talk Subject: RE: Looking for ActiveX creation/use references Yeah - because you have access to all of it, some of it will be old. I'll see if I can dig up anything specific. --- Billy Cravens -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 12:51 PM To: CF-Talk Subject: RE: Looking for ActiveX creation/use references grins Been there - I keep finding stuff that's rather outdated... Any good, relevant starting points inthe MSDN?? Thanks Billy. Shawn Grover -Original Message- From: Cravens, Billy [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 11:43 AM To: CF-Talk Subject: RE: Looking for ActiveX creation/use references Msdn.microsoft.com is a wealth of information - a bit intimidating at first, but once you're used to it, you can find anything you need there. --- Billy Cravens -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 12:33 PM To: CF-Talk Subject: OT: Looking for ActiveX creation/use references I've been asked to create an ActiveX control for use within a web page. I'll be using VB6 for the job. While I'm able to create a simple ActiveX control, I need one that can communicate with the parent web page (events will be fired), or take commands from the parent page (javascript commands). This is a bit above my knowledge level at this time. So I'm looking for resources to point me in the right direction. I've already begun digging into our library for information, but am hoping there's a web site or two out there that can tell me what I need to know... Thanks in advance. Shawn Grover __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFUN - I can't go.
Hi List, I'm registered to go to CFUN this weekend. It starts tomorrow and is in Rockville, MD. I am not able to go. I know it's late, but does anybody on the list want to go, using my registration? I've asked Teratech about this, it's ok to transfer the registration. First one that sends me his/her name can have it. - Matt Small __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (REPOST) CFMX and ODBC
Hi everybody - I had a quick response from somebody on the CFDJList to go to the CFUN this weekend. Have a great weekend. - Matt Small __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX downgrade
How is it possible to have both CF5.0 and CFMX both running on the same webserver? How does it determine which CF to send a .cfm page to? - Matt Small -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 12:35 PM To: CF-Talk Subject: RE: CFMX downgrade I need to remove CFMX from my notebook and reinstall CF5. The performance with COM under CFMX is very disappointing and I have a demo of our product on Monday. Any advice for the downgrade? Does CFMX uninstall well? Yes, CF MX uninstalls very well. Uninstall it using the uninstaller, then delete the cfusionmx directory, and you're all done. You can also have both running on your machine without any problems. You should be able to just install CF 5 and it'll take care of the setup. If you've got CF MX hooked to an external web server, you'll have to do a little tweaking to get them both using the same web server, but not much. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Progress Bar
What kind of progress bar did you want? Something that actually tells you the actual amount of work done or a processing bar, just something to look at when the code is executing? I have the latter, a flash movie, if you want to use it. - Matt Small -Original Message- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 1:34 PM To: CF-Talk Subject: Progress Bar Anyone have a nice progress bar? __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: problem installing CF5 and Windows XP Pro
Hi Sharon, I've installed CF4.5 on XP Pro with no problems. It was on a Packard Bell PII 233MMX 128 Mb for that matter. You're saying that a completely clean install of XP with a completely clean install of CF won't work for you? Have you done a scandisk on your hard drive? It sounds like a weird hardware error to me. The software will definitely work. - Matt Small -Original Message- From: Sharon Fling [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:22 AM To: CF-Talk Subject: problem installing CF5 and Windows XP Pro Hi, has anyone had problems installing CF5 under Windows XP Pro? I've tried CF4.5 and CF5 and neither of them install completely. CF4.5 seems to install, but gets hung at the very end on updating registry settings -- no matter how long I wait it never finishes. CF5 does the same thing. I've re-installed XP, IIS, and CF numerous times and nothing works, can't get CF Admin to come up or anything else. Has anyone had a problem like this? Thanks. Sharon __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple list box problem
Hi Ian, You have to remember that these are list boxes - if there are no highlighted selections, then nothing will be submitted from the box. Use a javascript loop to select every item in your second box upon form submission and everything will be fine. - Matt Small -Original Message- From: Ian Lurie [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 11:44 AM To: CF-Talk Subject: Multiple list box problem Hi, I've got two list boxes side by side - when you click a button in the middle you move values from the left hand box (list1) to the right hand box (list2). That works fine - problem is, when I submit the form, list2 doesn't exist in the form scope. If I manually select all items in the list2 field, then they submit just fine. How do I automate this? So that simply moving a value from list1 to list2 is enough? Thanks, Ian Portent Interactive Helping clients build customer relationships on the web since 1995 Consulting, design, development, measurement http://www.portentinteractive.com Talk with us: http://projects.portentinteractive.com __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Populating the body of an outlook message
Yes, try this: a href=mailto:[EMAIL PROTECTED]?subject=Hey therebody=Hello, long time no seeClick here/a You can pass the subject and body of a message through URL parameters. - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 1:45 PM To: CF-Talk Subject: Populating the body of an outlook message Is it possible to pass a string to the body of an outlook e-mail message launched though the mailto: or some other message. Doug Kronenberger OI National Training and Education Office Department of Veterans Affairs 440-526-3030 x7776 [EMAIL PROTECTED] __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: generate multiple PDFs automatically
It sounds like you need activepdf at http://www.activepdf.com. If you just need printed reports, use COM and Word. It's a lot cheaper. http://www.cfcomet.com - Matt Small -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 2:05 PM To: CF-Talk Subject: Re: generate multiple PDFs automatically Could use a LOOP to generate them however that is alot to handle. Another note is that I am not sure there is a way to FORCE the print. You can force the print dialog box but not the actual print that I am aware of. Randy Adkins [EMAIL PROTECTED] 05/28/02 13:37 PM Hello all: Here's the situation I am facing: We have a huge recordset - maybe around 5000-6000 records that we would like to use to create PDF reports on the fly and print. I am using FDFs to create a single PDF report from this dataset, but this would be extremely slow and painful to have a user manually call each record and then print and them move on to the next one. Does anyone have any ideas how this can be automated? Thanks in advance, Dimo __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Recursive querys (from Build a tree of nodes/subnodes)
Well, I guess this is off-topic and probably a bit basic, but how do you write a recursive query? I have a need for it but I don't know how to do it. My db is access 2000. Thanks, Matt Small -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 8:39 PM To: CF-Talk Subject: RE: Build a tree of nodes/subnodes Or you can write a recursive stored proc. You have to get a little creative with Temp Tables and cursors though... But it's been done. Shawn Grover -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 4:52 PM To: CF-Talk Subject: RE: Build a tree of nodes/subnodes At 06:48 PM 5/23/02, you wrote: I usually do a recursive custom tag to make my trees. I haven't tried using UDFs for it because of database calls, but with CFMX, I'm sure it would be The whole thing should only have a single DB call. Using a UDF on the results of the DB call is all that's needed. Unless I'm missing something in how your doing it. nice. I haven't used the nested sets model before, but I have briefly looked at it. My problem with it seems that it's not normalized at all. In that Intelligent Enterprise article, the lft and rgt columns seem like they could easily go out of wack if you're not careful. A single table with a recursive parent ID seems much logical. Sure, there are some more database calls, but it all depends on what you're trying to do. For example, we have an application with an advanced permissions system that involves cascading permissions and some other tidbits. When the user logs in, their permissions are pulled through recursive custom tags and set to the session scope. It's a one time thing for each login so any extra load is really not noticeable. Ben Johnson Hostworks, Inc. __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Printing dynamic pages on Netscape
Hi Mike, I don't have an answer for you - I don't think anybody does. I had almost the same question about a month ago. I don't know why netscape behaves this way, but I have seen it before in my programming. When it does this, nothing on the page works - not javascript, not forms... Sorry I couldn't be of more help. - Matt Small -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 9:34 PM To: CF-Talk Subject: Printing dynamic pages on Netscape I have seen this question asked from time to time but never seen a reply how can I let Netscape users print out a dynamic page? They get a message on the page saying Data missing: This document resulted from a POST operation and has expired from the cache, etc I have seen Print this page buttons before, but for the life of me I can't find one right now when I need it - how do they work? Cheers, Mike Kear Windsor, NSW, Australia AFP WebWorks __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Subquery from the same table: Is it possible??
cfquery name=GetKeyUser datasource=lsar_beta select fullname, role from tbl_users whererole = ( select 'key_' role as keyrole from tbl_users where username = '#session.username#') /cfquery See if that works for you. It's an educated guess. - Matt Small -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 10:47 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? ok. Interesting. Here is my situation. I will try to explain it has best I can. I have a response form that inserts the user into one field via session variable. The other field needs another name based on the role of the first. ROLE is a field in my database. Here is an example: USERNAMEFULLNAMEROLE djohnsonDenise Johnson key_user_miller twendel Tom Wendel user_miller If Tom Wendel opens a response form, his name is inserted into a field called 'sender'. I want the 'receiver' to be Denise Johnson. This is but one possible scenario as I have one key user for a manager and several users that fall under the same manager. Total of about 6 managers each with one key user to manage the users. Is this possible to use a subquery based on the way the data is structued now or do I need to make a change? I tried something like this, but got an error which did not surprise me. cfquery name=GetKeyUser datasource=lsar_beta select fullname, role from tbl_users whereIN (select fullname from tbl_users where username = '#session.username#') AND role LIKE 'key_user%' /cfquery -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 10:18 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? Is it possible to have a subquery from the same table to output data based on a certain condition? Yes. It's called a correlated subquery. It's described very well in the SQL Server Books Online: Many queries can be evaluated by executing the subquery once and substituting the resulting value or values into the WHERE clause of the outer query. In queries that include a correlated subquery (also known as a repeating subquery), the subquery depends on the outer query for its values. This means that the subquery is executed repeatedly, once for each row that might be selected by the outer query. This query finds the names of all authors who earn 100 percent of the shared royalty (royaltyper) on a book. USE pubs SELECT au_lname, au_fname FROM authors WHERE 100 IN (SELECT royaltyper FROM titleauthor WHERE titleauthor.au_ID = authors.au_id) Here is the result set: au_lname au_fname WhiteJohnson GreenMarjorie Carson Cheryl Straight Dean Locksley Charlene Blotchet-Halls Reginald del Castillo Innes Panteley Sylvia Ringer Albert (9 row(s) affected) Unlike most of the subqueries shown earlier, the subquery in this statement cannot be resolved independently of the main query. It needs a value for authors.au_id, but this value is a variable. It changes as MicrosoftR SQL Server(tm) examines different rows of the authors table. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Subquery from the same table: Is it possible??
Ummm.. I don't quite understand how that code is returning two instances of the key_role unless you have it in the database twice. Am I missing something here? If it does produce two instances, are they both the same? If they are, use the distinct keyword: cfquery name=GetKeyUser datasource=lsar_beta select distinct fullname, role fromtbl_users where fullname IN (select fullname from tbl_users where username = '#session.username#') /cfquery -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:07 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? almost like the same output I got with this, but it produces the same name in both fields. My code prodcues two instances of USER and your code produces two instances of the KEY USER. Getting closer though... cfquery name=GetKeyUser datasource=lsar_beta select fullname, role fromtbl_users where fullname IN (select fullname from tbl_users where username = '#session.username#') /cfquery -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:06 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? cfquery name=GetKeyUser datasource=lsar_beta select fullname, role from tbl_users whererole = ( select 'key_' role as keyrole from tbl_users where username = '#session.username#') /cfquery See if that works for you. It's an educated guess. - Matt Small -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 10:47 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? ok. Interesting. Here is my situation. I will try to explain it has best I can. I have a response form that inserts the user into one field via session variable. The other field needs another name based on the role of the first. ROLE is a field in my database. Here is an example: USERNAMEFULLNAMEROLE djohnsonDenise Johnson key_user_miller twendel Tom Wendel user_miller If Tom Wendel opens a response form, his name is inserted into a field called 'sender'. I want the 'receiver' to be Denise Johnson. This is but one possible scenario as I have one key user for a manager and several users that fall under the same manager. Total of about 6 managers each with one key user to manage the users. Is this possible to use a subquery based on the way the data is structued now or do I need to make a change? I tried something like this, but got an error which did not surprise me. cfquery name=GetKeyUser datasource=lsar_beta select fullname, role from tbl_users whereIN (select fullname from tbl_users where username = '#session.username#') AND role LIKE 'key_user%' /cfquery -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 10:18 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? Is it possible to have a subquery from the same table to output data based on a certain condition? Yes. It's called a correlated subquery. It's described very well in the SQL Server Books Online: Many queries can be evaluated by executing the subquery once and substituting the resulting value or values into the WHERE clause of the outer query. In queries that include a correlated subquery (also known as a repeating subquery), the subquery depends on the outer query for its values. This means that the subquery is executed repeatedly, once for each row that might be selected by the outer query. This query finds the names of all authors who earn 100 percent of the shared royalty (royaltyper) on a book. USE pubs SELECT au_lname, au_fname FROM authors WHERE 100 IN (SELECT royaltyper FROM titleauthor WHERE titleauthor.au_ID = authors.au_id) Here is the result set: au_lname au_fname WhiteJohnson GreenMarjorie Carson Cheryl Straight Dean Locksley Charlene Blotchet-Halls Reginald del Castillo Innes Panteley Sylvia Ringer Albert (9 row(s) affected) Unlike most of the subqueries shown earlier, the subquery in this statement cannot be resolved independently of the main query. It needs a value for authors.au_id
RE: Subquery from the same table: Is it possible??
I am very confused now as to what you are trying to accomplish. Maybe you could show a little more of your database. As I understand it, you have about six managers each with a key user. You have a number of employees whom each fall under a manager. When an employee responds to a form, the employee's fullname goes into sender and the manager's name goes into the receiver. Table USERNAMEFULLNAMEROLE djohnsonDenise Johnson key_user_miller twendel Tom Wendel user_miller msmall Matt Small user_miller jtaavon James Taavonuser_miller jsmith Joe Smith key_user_jones wwilliams Wendy Williams user_jones tharms Todd Harms user_jones So when James Taavon responds, he becomes the sender and Denise Johnson is the receiver. When Todd Harms responds, he becomes the sender and Joe Smith is the receiver. Is this correct? I'm trying to get an understanding of how your db structure works so I can assist. - Matt Small -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:35 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? Mark, Perhaps I am confusing you. On my output i am using the same query at least that is what i was planning to do. There is also a query just for the role. I am not sure if I can delete it and use the other instead. cfquery name=GetRole datasource=lsar_beta select role fromtbl_users where username = '#session.username#' /cfquery -- OUTPUT FOR KEY USER cfif getrole.role IS user_self Sandy Crisafulli cfelseif getrole.role CONTAINS trimble cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role IS user_miller cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role CONTAINS reich_godd cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role CONTAINS cooper cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role CONTAINS feinroth cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role CONTAINS edmounds cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelse /cfif -- OUTPUT FOR USER cfoutputinput type=Text name=sender value=#getkeyuser.fullname# size=20 readonly/cfoutput -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:21 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? nope, only one person is designated as key role, but there are about six different ones, one for each manager. -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:22 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? Ummm.. I don't quite understand how that code is returning two instances of the key_role unless you have it in the database twice. Am I missing something here? If it does produce two instances, are they both the same? If they are, use the distinct keyword: cfquery name=GetKeyUser datasource=lsar_beta select distinct fullname, role fromtbl_users where fullname IN (select fullname from tbl_users where username = '#session.username#') /cfquery -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:07 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? almost like the same output I got with this, but it produces the same name in both fields. My code prodcues two instances of USER and your code produces two instances of the KEY USER. Getting closer though... cfquery name=GetKeyUser datasource=lsar_beta select fullname, role fromtbl_users where fullname IN (select fullname from tbl_users where username = '#session.username#') /cfquery -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:06 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? cfquery name=GetKeyUser datasource=lsar_beta select fullname, role from tbl_users whererole = ( select 'key_' role as keyrole from tbl_users where username = '#session.username#') /cfquery See if that works for you. It's an educated guess. - Matt Small
RE: Running a query in javascript
OK, you're going about this all wrong... you can't execute a query in javascript. Your data needs to be processed by the server. Use the two_selects_related or three_selects_related custom tag. If these aren't any good for you then I suggest you look into the gif data pipes. http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/G IFAsPipe/ - Matt Small -Original Message- From: Bruce, Rodney S HQISEC/SIGNAL [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 2:51 PM To: CF-Talk Subject: Running a query in javascript Hello all I am trying to run a query inside of a javascript function. Unless there is another way of doing this. Without reloading/submitting the form I need to run a query based on user selected options Pass these options to the query and then place the results in a select box. Something like: user is looking for a car, so the user selects blue, yr 2000, 4x4. pass options to query, then list all avaible cars in a select box for the use to choose from. Then the form is submitted. Very easy if form is submited with options , the cars are listed on next page, but I would like not to have to submit the form more than once. Was hoping someone could help me out. Thanks for any information Rodney __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Subquery from the same table: Is it possible??
If I have this correct, then the below query should work. I inserted the data that I made up into a table and I executed the following query on it - no problems. You may need to inspect your table for duplicates if you are getting more than one return. Or, it is possible for more than one instance of key_user_miller in the role field of your table? - Matt Small cfquery name=GetKeyUser datasource=lsar_beta select fullname, role from tbl_users whererole = ( select 'key_' role as keyrole from tbl_users where username = '#session.username#') /cfquery -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 2:59 PM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? CORRECT!! -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 2:24 PM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? I am very confused now as to what you are trying to accomplish. Maybe you could show a little more of your database. As I understand it, you have about six managers each with a key user. You have a number of employees whom each fall under a manager. When an employee responds to a form, the employee's fullname goes into sender and the manager's name goes into the receiver. Table USERNAMEFULLNAMEROLE djohnsonDenise Johnson key_user_miller twendel Tom Wendel user_miller msmall Matt Small user_miller jtaavon James Taavonuser_miller jsmith Joe Smith key_user_jones wwilliams Wendy Williams user_jones tharms Todd Harms user_jones So when James Taavon responds, he becomes the sender and Denise Johnson is the receiver. When Todd Harms responds, he becomes the sender and Joe Smith is the receiver. Is this correct? I'm trying to get an understanding of how your db structure works so I can assist. - Matt Small -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:35 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? Mark, Perhaps I am confusing you. On my output i am using the same query at least that is what i was planning to do. There is also a query just for the role. I am not sure if I can delete it and use the other instead. cfquery name=GetRole datasource=lsar_beta select role fromtbl_users where username = '#session.username#' /cfquery -- OUTPUT FOR KEY USER cfif getrole.role IS user_self Sandy Crisafulli cfelseif getrole.role CONTAINS trimble cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role IS user_miller cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role CONTAINS reich_godd cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role CONTAINS cooper cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role CONTAINS feinroth cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelseif getrole.role CONTAINS edmounds cfoutputinput type=text name=receiver value=#getkeyuser.fullname# size=20 readonly/cfoutput cfelse /cfif -- OUTPUT FOR USER cfoutputinput type=Text name=sender value=#getkeyuser.fullname# size=20 readonly/cfoutput -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:21 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? nope, only one person is designated as key role, but there are about six different ones, one for each manager. -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:22 AM To: CF-Talk Subject: RE: Subquery from the same table: Is it possible?? Ummm.. I don't quite understand how that code is returning two instances of the key_role unless you have it in the database twice. Am I missing something here? If it does produce two instances, are they both the same? If they are, use the distinct keyword: cfquery name=GetKeyUser datasource=lsar_beta select distinct fullname, role fromtbl_users where fullname IN (select fullname from tbl_users where username = '#session.username#') /cfquery -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:07 AM To: CF-Talk Subject: RE: Subquery from the same table
RE: can this be done?
It can be done in access... Create two field within your table for first_name and last_name Then cfquery name=queryname datasoure=datasource Update table set first_name = left(fullname, instr(fullname,' ')), last_name=right(fullname, instrrev(fullname,' ')) /cfquery This should work. I haven't tried it so there might be some logical error I haven't thought of but the functions are in access to achieve the solution. - Matt Small -Original Message- From: Timothy Heald [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:10 PM To: CF-Talk Subject: RE: can this be done? I am not sure about in Access. In T-SQL you have functions like charindex, and subsrtring and right, and left that would make it easy to do this all in SQL. Using access I don't think you have those functions, however you can use CF to do it, and use the space as a list delimiter. It would be time consuming if it's a big db, and it would not scale at all :) Tim Heald ACP/CCFD :) Application Development www.schoollink.net -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:05 PM To: CF-Talk Subject: can this be done? Hello cf-talk, I have an existing project where a form takes a field name and inserts in in a row name in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
It can also be done by creating a query using SQL in access. ColdFusion is not necessary. - Matt Small -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:29 PM To: CF-Talk Subject: RE: can this be done? It can be done in access... Create two field within your table for first_name and last_name Then cfquery name=queryname datasoure=datasource Update table set first_name = left(fullname, instr(fullname,' ')), last_name=right(fullname, instrrev(fullname,' ')) /cfquery This should work. I haven't tried it so there might be some logical error I haven't thought of but the functions are in access to achieve the solution. - Matt Small -Original Message- From: Timothy Heald [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:10 PM To: CF-Talk Subject: RE: can this be done? I am not sure about in Access. In T-SQL you have functions like charindex, and subsrtring and right, and left that would make it easy to do this all in SQL. Using access I don't think you have those functions, however you can use CF to do it, and use the space as a list delimiter. It would be time consuming if it's a big db, and it would not scale at all :) Tim Heald ACP/CCFD :) Application Development www.schoollink.net -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:05 PM To: CF-Talk Subject: can this be done? Hello cf-talk, I have an existing project where a form takes a field name and inserts in in a row name in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: to # or not to #
Can't you do cfswitch expression=form.id ?? Haven't tried it... seems like it would work. - Matt Small -Original Message- From: Howie Hamlin [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 3:25 PM To: CF-Talk Subject: Re: to # or not to # Yes, othewise the switch would be on a string with a value of form.id Regards, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com - 631-737-4668 x101 inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm - Original Message - From: Charlie [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, May 10, 2002 3:19 PM Subject: to # or not to # I agree with the practice of pounds signs only when necessary..are pound signs necessary in the following? cfswitch expression=#form.id# cfcase value=a/cfcase cfcase value=b/cfcase cfcase value=c/cfcase cfdefaultcase/cfdefaultcase /cfswitch __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Macromedia Folks: What are you thinking?
OK, so as I sit here reading these rants about DWMX and RDS - which is great since it's apparently not what you CFers want - it makes me wonder, since I haven't tried CFMX or DWMX, and I don't use RDS at all but would like to eventually, when I figure out how - does RDS still work with CFMX? If it does, then why isn't it in the DWMX? If it doesn't, then why is it in CFMX? Can you use RDS on the server without having it in your coding application (DWMX)? And then, if it is in CFMX, then why not just stay with CFStudio? I'm sure that somebody will figure out how to make CFStudio 4.5 or 5.0 nice to work with CFMX. These are questions from a person uninformed about CFMX and DWMX. They are not meant to antagonize anybody. - Matt Small -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 9:01 AM To: CF-Talk Subject: RE: Macromedia Folks: What are you thinking? *** you wrote * OK so now we're being told by MM what is and is NOT good practice, dont seem right to me lol we should be able to access files directly with RDS/FTp of course mistakes happen but you'll have people making mistakes with this style of doing it too. Did you get alot of people yelling at MM saying OHHH because i was able to access files directly with RDS i fubared my whole site and i'm going to sue MM?? No they said damnit i goofed and fixed it. ** Somewhat ironic as well - considering the amount of time I have to take on a regular basis hand editing DW files so they conform to our coding standards - sometimes I can't believe all the crap DW puts in the files my content people save to the site. But (sigh), I guess I'm just a careless RDS users (LOL). __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Distributing self-contained CFMX apps
If the CF templates are compiled into classes, could you then run them on any ol' servlet web server? Would that violate the license agreement? - Matt Small -Original Message- From: Craig Thomas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:58 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps Yeah, but self-contained apps would require one license per app, as opposed to one application server running multiple apps. Very good point. -Craig __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Distributing self-contained CFMX apps
Yeah, I was thinking that. But as a point of curiosity, you could just take the CF classes and your template classes after compilation and run them on any java server, right? Or am I missing something? - Matt Small -Original Message- From: Mk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:37 PM To: CF-Talk Subject: Re: Distributing self-contained CFMX apps Matt, It doesn't work quite that way. because the class files are actually a collection of callse to Java classes that are a part ofthe CFMX installation, they will NOT run without the CFMX run time. Mark - Original Message - From: Matthew R. Small [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 1:06 PM Subject: RE: Distributing self-contained CFMX apps If the CF templates are compiled into classes, could you then run them on any ol' servlet web server? Would that violate the license agreement? - Matt Small -Original Message- From: Craig Thomas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:58 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps Yeah, but self-contained apps would require one license per app, as opposed to one application server running multiple apps. Very good point. -Craig __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Distributing self-contained CFMX apps
I'm sure they don't, but just for curiosity's sake. It will run, right? Unless the MM classes blow up when removed from their protective CF shell. - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:17 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps No, I don't think MM supports this. --- Billy Cravens -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:17 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps Yeah, I was thinking that. But as a point of curiosity, you could just take the CF classes and your template classes after compilation and run them on any java server, right? Or am I missing something? - Matt Small -Original Message- From: Mk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:37 PM To: CF-Talk Subject: Re: Distributing self-contained CFMX apps Matt, It doesn't work quite that way. because the class files are actually a collection of callse to Java classes that are a part ofthe CFMX installation, they will NOT run without the CFMX run time. Mark - Original Message - From: Matthew R. Small [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 1:06 PM Subject: RE: Distributing self-contained CFMX apps If the CF templates are compiled into classes, could you then run them on any ol' servlet web server? Would that violate the license agreement? - Matt Small -Original Message- From: Craig Thomas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:58 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps Yeah, but self-contained apps would require one license per app, as opposed to one application server running multiple apps. Very good point. -Craig __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Distributing self-contained CFMX apps
Does that mean that they aren't 100% java? On another note... where does CFMX keep its information that used to be in the registry on windows machines? Is it still in the registry? - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:35 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps No, I don't think so. --- Billy Cravens -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:35 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps I'm sure they don't, but just for curiosity's sake. It will run, right? Unless the MM classes blow up when removed from their protective CF shell. - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:17 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps No, I don't think MM supports this. --- Billy Cravens -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:17 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps Yeah, I was thinking that. But as a point of curiosity, you could just take the CF classes and your template classes after compilation and run them on any java server, right? Or am I missing something? - Matt Small -Original Message- From: Mk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:37 PM To: CF-Talk Subject: Re: Distributing self-contained CFMX apps Matt, It doesn't work quite that way. because the class files are actually a collection of callse to Java classes that are a part ofthe CFMX installation, they will NOT run without the CFMX run time. Mark - Original Message - From: Matthew R. Small [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 1:06 PM Subject: RE: Distributing self-contained CFMX apps If the CF templates are compiled into classes, could you then run them on any ol' servlet web server? Would that violate the license agreement? - Matt Small -Original Message- From: Craig Thomas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:58 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps Yeah, but self-contained apps would require one license per app, as opposed to one application server running multiple apps. Very good point. -Craig __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Distributing self-contained CFMX apps
No, we've had this discussion on this list before... it's a great idea. - Matt Small -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:51 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps On that note, I would think it'd be in MM's best interests to develop a method to do this - maybe the Developer Edition? with proper licensing? A version which is in single IP mode immediatly upon install?? I can't help but think how if a tool like this existed, it would get used in a large(er) number of places, thereby promoting sales of the Professional and Enterprise versions. After all, business folks would be caught by the wow factor, or I want to do that too phenomena, boosting interest (and indirectly, sales) in CF. My thoughts, but I closed my one man business cuz I realized I didn't have what it takes when it comes to marketing and accounting. So, maybe I'm blowing chunks with this idea Shawn Grover -Original Message- From: BILL BROWN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:22 PM To: CF-Talk Subject: Re: Distributing self-contained CFMX apps I've thought about creating and distributing standalone apps like you describe using CF Express. If Macromedia were to do something like that (or even a nominal fee per license for mass installations), then I would totally agree with you. However, CF Express is feature-poor and Macromedia has not made any declarations about reduced licensing fees for purposes you've described. It's safe to say that you've got a great idea, but it's impractical at present (and probably future). Bill [EMAIL PROTECTED] 5/1/02 11:15 AM On Wednesday, May 1, 2002, at 10:25 AM, BILL BROWN wrote: The only downside being that the CFMX license will make the cost of the software prohibitive. Imagine tacking on thousands of dollars to the price of your development. It's possible, though not likely. Bill Maybe so, maybe no... could be a variant of the developer license: multiple, single-use installs. This could setup to abet rather than replace server-side installs of CF. MM (and others) will need to address this same issue with their server offerings.(JRun in MM's case). As I understand, with these you can develop Java Apps... presumably these could be Java server apps, Java rich-client Apps, or Java standalone apps where Swing (or somesuch) replaces the browser interface. The key to making all this profitable for MM, and MM's customers is to provide added value server-side with the consolidated interaction of function and information. a simple example: XYZ gifts mass mails a CD ala AOL (yech). This CD contains XYZ's catalog and an ordering app (simple shopping cart). The user can browse the catalog and build multiple orders off line. Once ready to order, the customer presses the Execute Order... connection is made to the server, The rich client sends it's order, an XML packet, to the server... the server returns any specials, substitutions, etc and processes the order. This type of application is practical for distributors placing orders, reporters filing stories, etc... or any of the applications where continuous connection to a server is not practical, necessary or desirable... for whatever reasons. Dick __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Distributing self-contained CFMX apps
Yes, and this is where the idea of a printer setup in the administrator along with a cfprint tag gets really good too. :-) Matt Small -Original Message- From: BILL BROWN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 5:00 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps Actually, you're exactly right. I was planning on working on interesting apps for underserved markets. The small businesses that could never afford an intranet or custom-developed applications, but is willing to buy prepackaged apps if apps existed to serve their needs. My thought was to develop intranets-in-a-box that used CF Express--message boards that could be used by mechanics or different hotel staff. By developing specific versions customized to a particular niche or industry, you can spread the cost around while creating apps without competitors. I never pursued it because I think CF Express is too limited for some of the things I wanted to do. If CFMX had a full-featured, single IP edition for dirt cheap, the price could be absorbed pretty easily I think. The cool thing for Macromedia is that many businesses outgrow a single PC and require more of a networked solution--meaning they'll have to upgrade to a full-featured CF server. Bill [EMAIL PROTECTED] 5/1/02 1:51 PM On that note, I would think it'd be in MM's best interests to develop a method to do this - maybe the Developer Edition? with proper licensing? A version which is in single IP mode immediatly upon install?? I can't help but think how if a tool like this existed, it would get used in a large(er) number of places, thereby promoting sales of the Professional and Enterprise versions. After all, business folks would be caught by the wow factor, or I want to do that too phenomena, boosting interest (and indirectly, sales) in CF. My thoughts, but I closed my one man business cuz I realized I didn't have what it takes when it comes to marketing and accounting. So, maybe I'm blowing chunks with this idea Shawn Grover __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Distributing self-contained CFMX apps
HTML would be the format to use. I've been thinking about this a long time... if I could get the part of word that word uses to render and print HTML, then it would solve all the problems. Use CSS to format the page exactly as you like it, with font sizes, page breaks, and all it has to offer, and then you can use html image tags, then it's the perfect setup. The problem is that word is so complex and memory intensive that it needs to be broken down into just the essential components - the rendering engine and the print engine. That and the fact that HTML is the format of the web, is already used by CF, is totally compatible with CF... it's the way to go. If I had any idea how to do write it myself I would. - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 5:46 PM To: CF-Talk Subject: RE: Distributing self-contained CFMX apps I can see the utility in it, but I'd still like to hear some suggestions as to how to resolve the formatting issue. (what format to use?) --- Billy Cravens -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:18 PM To: CF-Talk Subject: Re: Distributing self-contained CFMX apps On Wednesday, May 1, 2002, at 02:14 PM, Matthew R. Small wrote: Yes, and this is where the idea of a printer setup in the administrator along with a cfprint tag gets really good too. ahh... I finally understand the need for this! Dick __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Re: Mail Merge Options
Everything you want to do (page margins, borders, page breaks, font style and size) is available in HTML via CSS or is a settable feature in Word. Word follows CSS conventions as if it were Internet Explorer. You can open up straight HTML in Word and print it out as if you had rendered it in a browser. In my opinion and experience, the option to go with is COM and Word. Check out the code I've attached. This code is the almost the exact same thing I use in my shop to print out 3000+ pages per week. - Matt Small // Write a full HTML page to a plain .htm text file cffile action=write file=output.htm output=#page# // Connect to or open a word object cftry cfobject action=CONNECT class=Word.Application name=objWord type=COM cfcatch cfobject action=CREATE class=Word.Application name=objWord type=COM /cfcatch /cftry cftry cfscript // Grab the list of documents and from that, open output.htm objDoc = objWord.Documents; newDoc = objDoc.open(output.htm); // This is page set up for orientation and page margins po = newDoc.PageSetup; po.Orientation = 1; // 1 is for landscape, 0 for portrait po.TopMargin = 36; // 72 points = 1 inch po.BottomMargin = 36; po.LeftMargin = 36; po.RightMargin = 36; // This section sets up page numbering. All this information is available // at http://msdn.microsoft.com http://msdn.microsoft.com/ and http://www.cfcomet.com objSecs = newDoc.Sections; objSec1 = objSecs.Item(1); objSec1Headers = objSec1.Headers; objSec1Header1 = objSec1Headers.Item(1); objRange = objSec1Header1.Range; // Set the paragraph format // Values for alignment are {0=Left,1=Center,2=Right,3=Justify} objParaFormat = objRange.ParagraphFormat; objParaFormat.Alignment = 2; // Set a right-tab at 6 inches // Tab positions are in points, where 72 points = 1 inch // Arguments to the TabStops.Add function: //Position: 6 inches * 72 points/inch = 432 points //Alignment: values include {0=Left,1=Center,2=Right} objTabStops = objParaFormat.TabStops; objTabStops.ClearAll(); objTabStops.Add(432,2); objRange.Select(); objSelection = objWord.Selection; objFont = objSelection.Font; objFont.Name = Arial; objFont.Size = 10; // Insert the page number // Page number is field type 33 // Story is unit type 6 objRange.Collapse(0); objFields = objRange.Fields; objFields.Add(objRange,33); /cfscript // You should only send one job at a time to a printer. // Otherwise, print jobs may be directed to the wrong printer cflock name=printout type=exclusive timeout=300 // The printer variables are the paths to the network or local printers // and are found on the windows printer test page cfscript switch (form.printer) { case 1: {objWord.ActivePrinter = #printer_princess#; break;} case 2: {objWord.ActivePrinter = #printer_lana#; break;} case 3: {objWord.ActivePrinter = #printer_3#; break;} case 4: {objWord.ActivePrinter = #printer_4#; break;} case 5: {objWord.ActivePrinter = #printer_5#; break;}} newDoc.PrintOut(); /cfscript /cflock cfscript newDoc.Close(); objWord.Quit(); /cfscript cfcatch cfscript newDoc.Close(); objWord.Quit(); /cfscript cfrethrow /cfcatch /cftry /cflock -Original Message- From: Costas Piliotis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 4:03 PM To: CF-Talk Subject: RE: Re: Mail Merge Options Why not use crystal reports? You can export to word if needed... Works really well... Just don't call them through the cfreport tag. -Original Message- From: Howie Hamlin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 6:38 AM To: CF-Talk Subject: Re: Re: Mail Merge Options You may want to look into something like Active PDF. You can definitely make reports with that and they would be portable to any OS that supports acrobat. HTH, Howie - Original Message - From: Ian Skinner [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 29, 2002 11:26 PM Subject: Re: Re: Mail Merge Options No, the letters do not have to be Word Format, we can choose any format the fulfills the requirement. The requirement is a batch of highly formatted form letters output to a printer local to the client machine. This formatting will need to include page margins, borders, page breaks, font style and size and other features. All of which I do not know how to include in a straight plain text or HTML formatted document, particularly page breaks to separate one form letter from the other. We are open to any suggestion. Thanks Again. Ian Skinner (916) 338-0728 ilsweb+AEA-pacbell.net www.ilsweb.com Date: Mon, 29 Apr 2002 17:20:31 -0400 From: +ACI-Howie
RE: CFMX
OK, now that the cat's out of the bag... is there, by chance, any support for printing, either local or across the internet? - Matt Small -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:12 AM To: CF-Talk Subject: RE: CFMX Question: Under web servers in the system requirements section, WebSite Pro is glaringly absent. How come? Will it run under WS? I don't know the definitive answer to this, but I think that the final version will support WebSite. I'm basing this on the fact that JRun 3.1 currently supports WebSite. Keep in mind that the CF MX preview may not be fully feature-complete; it's a preview. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX
Yes, I meant local printing from the server and native support - like a printer setup in the administrator; a CFPRINT tag... sigh I do it already using COM and Word. It works but it's a pain in the butt. - Matt Small -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:19 AM To: CF-Talk Subject: RE: CFMX You mean printing via CF, on the _client_ box? That's impossible (unless you use some kind of activex or java ob). If you mean on the server - all you would need to do is use a command line call w/ cfexecute. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:22 AM To: CF-Talk Subject: RE: CFMX OK, now that the cat's out of the bag... is there, by chance, any support for printing, either local or across the internet? - Matt Small -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:12 AM To: CF-Talk Subject: RE: CFMX Question: Under web servers in the system requirements section, WebSite Pro is glaringly absent. How come? Will it run under WS? I don't know the definitive answer to this, but I think that the final version will support WebSite. I'm basing this on the fact that JRun 3.1 currently supports WebSite. Keep in mind that the CF MX preview may not be fully feature-complete; it's a preview. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX
Hmmm... Ray Camden's exact words (from CFDJ List): Yep, the cat is out of the bag today, myself, and any other beta tester, can now answer any question at all. - Matt Small -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:19 AM To: CF-Talk Subject: RE: CFMX The cat isn't fully out of the bad as the preview release isn't feature complete. -Matt -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 7:22 AM To: CF-Talk Subject: RE: CFMX OK, now that the cat's out of the bag... is there, by chance, any support for printing, either local or across the internet? - Matt Small -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:12 AM To: CF-Talk Subject: RE: CFMX Question: Under web servers in the system requirements section, WebSite Pro is glaringly absent. How come? Will it run under WS? I don't know the definitive answer to this, but I think that the final version will support WebSite. I'm basing this on the fact that JRun 3.1 currently supports WebSite. Keep in mind that the CF MX preview may not be fully feature-complete; it's a preview. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX
OK, so you don't like it. I do. It's a feature that MANY people would love to see. I use it extensively for my intranet applications. Ever notice how many people write to the lists wanting to print locally from the server to generate reports? It's a good idea, something that would make a ton of people happy, including myself. Server generated reports have been a feature of computing for a long time. And if you've never tried to work with printing from ColdFusion, then you don't know what a pain it is. Word, PDF... they do the job, but not quite well. - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:35 AM To: CF-Talk Subject: RE: CFMX I don't like the idea of an app server performing hardware-related functionality - otherwise we'd need cfscan, cfwebcam, cfsound, etc. :-) Besides, think of how printing works - you write a file to the mail spool. What format would a server-side print app use? Why bother when there's already a number of applications (Word, PDF apps, etc) that do this quite well? --- Billy Cravens -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 9:38 AM To: CF-Talk Subject: RE: CFMX Yes, I meant local printing from the server and native support - like a printer setup in the administrator; a CFPRINT tag... sigh I do it already using COM and Word. It works but it's a pain in the butt. - Matt Small -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:19 AM To: CF-Talk Subject: RE: CFMX You mean printing via CF, on the _client_ box? That's impossible (unless you use some kind of activex or java ob). If you mean on the server - all you would need to do is use a command line call w/ cfexecute. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:22 AM To: CF-Talk Subject: RE: CFMX OK, now that the cat's out of the bag... is there, by chance, any support for printing, either local or across the internet? - Matt Small -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:12 AM To: CF-Talk Subject: RE: CFMX Question: Under web servers in the system requirements section, WebSite Pro is glaringly absent. How come? Will it run under WS? I don't know the definitive answer to this, but I think that the final version will support WebSite. I'm basing this on the fact that JRun 3.1 currently supports WebSite. Keep in mind that the CF MX preview may not be fully feature-complete; it's a preview. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Custom Tag for Sorting
I found Raymond Camden's name in the cfexample.mdb file of the CFMX preview. Cool. :-) - Matt Small -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:02 AM To: CF-Talk Subject: RE: Custom Tag for Sorting Well, I'm biased - heck, I liked QofQ in CF5, but I think you should check out the docs for QofQ in MX. If you have avoided it in the past, there is no reason not to now. For example, to me, the biggest problem was the inability to do a case insenstive search. That has been corrected. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:00 AM To: CF-Talk Subject: RE: Custom Tag for Sorting FYI, and maybe I'm biased, but Query of Query under MX _really_ rocks. You have to check out the docs for it. I hope it's significantly better than it was in CF 5, where it really, really, doesn't rock at all. In my experience, it performed really slowly, and had other significant problems as well. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Custom Tag for Sorting
Yes... I also noticed that a Jacob Camden was the CIO. :-) Matt Small -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:13 AM To: CF-Talk Subject: RE: Custom Tag for Sorting Well, I kinda had a hand in making that particular part - so I abused my power. ;) You will also find my son and daughter's name there as well I believe. (This is what happens when I get access to source. Bad Ray, bad!) === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:16 AM To: CF-Talk Subject: RE: Custom Tag for Sorting I found Raymond Camden's name in the cfexample.mdb file of the CFMX preview. Cool. :-) - Matt Small -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:02 AM To: CF-Talk Subject: RE: Custom Tag for Sorting Well, I'm biased - heck, I liked QofQ in CF5, but I think you should check out the docs for QofQ in MX. If you have avoided it in the past, there is no reason not to now. __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX performance (was RE: CF MX)
So, in a small company like mine, where I have maybe 5 people using CF at once on an intranet application, (I also use CF from a shared host) there is no advantage to going to MX? I'm still waiting for a great reason to upgrade to CF 5.0. - Matt Small -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:11 AM To: CF-Talk Subject: CFMX performance (was RE: CF MX) Yup, you're right. Well in that case on with the ensuing flame war. First the caveats; CFMX has not been tuned for performance yet according to MM. With that aside, I have been working with Neo since the alpha days and have seen it change quite a bit since then. During that time I have learned that CFMX will have a performance threshold very close to that of JSP. For those of you who don't know, JSP doesn't actually perform that well. On a single server, a properly built CF 5 application would blow away a properly built JSP application. This is a fact that can be easily proved today. However, JSP is more scalable than CF 5. This is an important distinction depending on what type of load your application is planning on supporting. If you are a shared hosting provider, you will be able to support less web applications on the same server than with CF 5. If you maintain a small site that only uses a single server, you will need more server resources to provide the same level of performance you are used today with CF 5. With all that being said, if you currently run a web application that depends on more than one CF server, CFMX is going to be great. Using J2EE, you will be able to partition your application on top different servers to increase its scalability. With a properly built CFMX application you will be able to simply add more servers as needed. -Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 7:44 AM To: CF-Talk Subject: RE: CF MX Jump over to the Neo forums on the beta site - Libby English of Macromedia : You can now discuss all aspects of the new CF release... --- Billy Cravens -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 9:39 AM To: CF-Talk Subject: RE: CF MX That information is NDA at this point. -Matt -Original Message- From: Bill Wheatley [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 7:28 AM To: CF-Talk Subject: CF MX Now that i'm at a new job i need tow ork my bosses over to get them to upgrade from CF 4 (ugh) to cF MX. i need to find a page that shows the performance stats compared to older versions any ideas? Bill Wheatley Senior Database Developer Ediets.com Macromedia Certified Coldfusion Developer 954.360.9022 X159 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX performance (was RE: CF MX)
That's really my point of view. I have a great deal of respect for my CF 4.5 and it works great. I understand that UDFs are awesome, but it's not like I couldn't use custom tags in their place. The performance gains would be nice, though. But it's definitely not looking like CFMX is for me. I wish it was, though. - Matt Small -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:33 AM To: CF-Talk Subject: RE: CFMX performance (was RE: CF MX) At 11:29 AM 4/29/2002 -0400, you wrote: So, in a small company like mine, where I have maybe 5 people using CF at once on an intranet application, (I also use CF from a shared host) there is no advantage to going to MX? I'm still waiting for a great reason to upgrade to CF 5.0. Performance improvements. Although, if you want to turn around and say If it ain't broken, don't fix it. or Buying more RAM is cheaper than upgrading I have to respect your point of view. From a development standpoint, I think user defined functions are great. -- Jeffry Houser | mailto:[EMAIL PROTECTED] Need a Web Developer? Contact me! Weird E-mail problems Use use mailto:[EMAIL PROTECTED] as backup AIM: Reboog711 | Fax / Phone: 860-223-7946 -- My Books: http://www.instantcoldfusion.com My Band: http://www.farcryfly.com -- Will I be on the streets tomorrow, Will I have to beg and Borrow Will I have to go back to the job I left behind? __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX
I have, and have never had a problem. I enjoyed utilizing a solution that was not CF specific, so that it was quite portable. Which one? Do you have a better solution for me? I'm talking about printing directly to the printer. Format doesn't matter to me, as long as it gets there. But as long as we're talking about it, HTML pages directly to the printer. That's the format I want and the one that I use, and the most prevalent format in the world. Believe me, I do use the existing objects to print. But easy is not a term I think anybody except you has used to describe working with COM objects though CF. I just think that a great addition to CF would be a server printer object that is easy to use and set up. You're right about rendering, I've done some research recently on the rendering that browsers use and I think that the solution should be brought from the browsers. When I develop a non-web application that uses a pre-defined format, I don't have to redevelop the printing capability - I simply utilize an existing object. Gosh, I'm not asking you personally to write this piece of code - I was hoping MM would see the call for it in CFMX from the thousands (millions maybe???) of people working on CF intranets. That would be the one thing that would force me to pay for CFMX. How is printing to paper a much different need than printing to screen? - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:45 AM To: CF-Talk Subject: RE: CFMX And if you've never tried to work with printing from ColdFusion I have, and have never had a problem. I enjoyed utilizing a solution that was not CF specific, so that it was quite portable. I think that printing would be problematic, considering how it would need to be implemented - ASCII? HTML? RTF? PDF? You have to send something to the printer, that the print driver knows how to render. This would be a pretty significant undertaking, to do the rendering. Or, you let the applications that already know how to render and spool do it, as you do now. When I develop a non-web application that uses a pre-defined format, I don't have to redevelop the printing capability - I simply utilize an existing object. This is why CF doesn't have it's own SQL engine to integrate with external databases - it uses drivers. --- Billy Cravens -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 9:54 AM To: CF-Talk Subject: RE: CFMX OK, so you don't like it. I do. It's a feature that MANY people would love to see. I use it extensively for my intranet applications. Ever notice how many people write to the lists wanting to print locally from the server to generate reports? It's a good idea, something that would make a ton of people happy, including myself. Server generated reports have been a feature of computing for a long time. And if you've never tried to work with printing from ColdFusion, then you don't know what a pain it is. Word, PDF... they do the job, but not quite well. - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:35 AM To: CF-Talk Subject: RE: CFMX I don't like the idea of an app server performing hardware-related functionality - otherwise we'd need cfscan, cfwebcam, cfsound, etc. :-) Besides, think of how printing works - you write a file to the mail spool. What format would a server-side print app use? Why bother when there's already a number of applications (Word, PDF apps, etc) that do this quite well? --- Billy Cravens -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 9:38 AM To: CF-Talk Subject: RE: CFMX Yes, I meant local printing from the server and native support - like a printer setup in the administrator; a CFPRINT tag... sigh I do it already using COM and Word. It works but it's a pain in the butt. - Matt Small -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:19 AM To: CF-Talk Subject: RE: CFMX You mean printing via CF, on the _client_ box? That's impossible (unless you use some kind of activex or java ob). If you mean on the server - all you would need to do is use a command line call w/ cfexecute. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:22 AM To: CF-Talk Subject: RE: CFMX OK, now that the cat's out of the bag... is there, by chance, any support for printing, either local or across the internet? - Matt Small -Original Message- From: Dave Watts [mailto:[EMAIL
RE: CFMX performance (was RE: CF MX)
with no sarcasm Which features are so essential that I need to upgrade? - Matt Small -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:45 AM To: CF-Talk Subject: RE: CFMX performance (was RE: CF MX) No performance advantage really. You should upgrade for the new features though. -Matt -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 8:30 AM To: CF-Talk Subject: RE: CFMX performance (was RE: CF MX) So, in a small company like mine, where I have maybe 5 people using CF at once on an intranet application, (I also use CF from a shared host) there is no advantage to going to MX? I'm still waiting for a great reason to upgrade to CF 5.0. - Matt Small -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:11 AM To: CF-Talk Subject: CFMX performance (was RE: CF MX) Yup, you're right. Well in that case on with the ensuing flame war. First the caveats; CFMX has not been tuned for performance yet according to MM. With that aside, I have been working with Neo since the alpha days and have seen it change quite a bit since then. During that time I have learned that CFMX will have a performance threshold very close to that of JSP. For those of you who don't know, JSP doesn't actually perform that well. On a single server, a properly built CF 5 application would blow away a properly built JSP application. This is a fact that can be easily proved today. However, JSP is more scalable than CF 5. This is an important distinction depending on what type of load your application is planning on supporting. If you are a shared hosting provider, you will be able to support less web applications on the same server than with CF 5. If you maintain a small site that only uses a single server, you will need more server resources to provide the same level of performance you are used today with CF 5. With all that being said, if you currently run a web application that depends on more than one CF server, CFMX is going to be great. Using J2EE, you will be able to partition your application on top different servers to increase its scalability. With a properly built CFMX application you will be able to simply add more servers as needed. -Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 7:44 AM To: CF-Talk Subject: RE: CF MX Jump over to the Neo forums on the beta site - Libby English of Macromedia : You can now discuss all aspects of the new CF release... --- Billy Cravens -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 9:39 AM To: CF-Talk Subject: RE: CF MX That information is NDA at this point. -Matt -Original Message- From: Bill Wheatley [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 7:28 AM To: CF-Talk Subject: CF MX Now that i'm at a new job i need tow ork my bosses over to get them to upgrade from CF 4 (ugh) to cF MX. i need to find a page that shows the performance stats compared to older versions any ideas? Bill Wheatley Senior Database Developer Ediets.com Macromedia Certified Coldfusion Developer 954.360.9022 X159 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX performance (was RE: CF MX)
How is this different than calling a CFM page via cfhttp? -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 12:01 PM To: CF-Talk Subject: RE: CFMX performance (was RE: CF MX) ColdFusionMX components. create the code once and then call it from: 1. Cold Fusion pages 2. other components 3. Flash via flash remoting 4. anywhere on the internet via web services. for example: helloWorld.cfc cfcomponent cffunction name=sayHello access=remote cfreturn Hello World / /cffunction /cfcomponent then call it like so: helloWorld.cfc?wsdl voila, instant web service. mike chambers [EMAIL PROTECTED] -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:39 AM To: CF-Talk Subject: RE: CFMX performance (was RE: CF MX) So, in a small company like mine, where I have maybe 5 people using CF at once on an intranet application, (I also use CF from a shared host) there is no advantage to going to MX? I'm still waiting for a great reason to upgrade to CF 5.0. Sure, there are lots of reasons! They're not necessarily performance reasons, though: 1. The ability to publish and consume web services, 2. Verity K2 (since you're not even on CF 5 yet) is much faster than the previous version of Verity, 3. A working Advanced Security interface for developers (Sandbox security), 4. Charting, 5. and much, much more! CFCs, UDFs (again, since you're not on CF 5) ... Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX performance (was RE: CF MX)
Crap, can't people just answer a question on this list without flaming? -Original Message- From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 12:52 PM To: CF-Talk Subject: RE: CFMX performance (was RE: CF MX) with no sarcasm Which features are so essential that I need to upgrade? Nothing is ESSENTIAL... But the speed increase, the programming flexibility, the extra functionality all add up If you were going to stick with items which weren't essential, then you'd still be using a Pentium 100, using IE3 and NS2, running Windows 95, 16Mb RAM and have a 2Gb hard disk - the upgrades in processor, browser, OS, memory and HD aren't ESSENTIAL, but they add an awful lot - it's the same with server software Are you telling me that your sites couldn't be improved by an average of 2x CF speed? Let alone the UDFs and QaQ? You might as well run a P100 as your web server... It does the job, not as quickly as a PIII, but then again, if speed isn't essential... sarcasm mode=on How are your Betamax video recorder and your black and white TV? /sarcasm Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFFORM and CFIF Part II
It doesn't work because you can't nest cf tags inside each other. You can nest a function inside a tag, but not another tag. What I believe Critz was referring to in the earlier post was that you can cfform cfif ...code... /cfif /cfform You can never cfform cfif.../cfif The parser picks this up as an error because it interprets CF tags sequentially. It can't evaluate the cfif because it's trying to figure out the cfform tag. - Matt Small -Original Message- From: Tammy Hong [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 10:05 AM To: CF-Talk Subject: RE: CFFORM and CFIF Part II be cause you are putting it inside the quotes so it thinks it's a literal string?? shouldn't it be(i think, please check) cfinput type=text name=myFormElement value=cfif isDefined(this.Value)#this.Value#cfelse/cfif -Original Message- From: Dimple Goshar [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 8:01 AM To: CF-Talk Subject: RE: CFFORM and CFIF Part II what is the error that you r getting on the browser? -Original Message- From: Jaye Morris [SMTP:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 6:18 PM To: CF-Talk Subject: Re: CFFORM and CFIF Part II head Why cant I use cfif inside of a cfinput tag? /head cfset this.Value=I know i cant use this. cfform method=post action=nocfif.cfm !--- it will not work like this --- cfinput type=text name=myFormElement value=cfif isDefined(this.Value)#this.Value#/cfif !--- or like this --- cfinput type=text name=myFormElement value=cfif isDefined(this.Value)#this.Value#/cfif !--- the only work around is this --- cfif isDefined(this.Value) cfinput type=text name=myFormElement value=#this.Value# cfelse cfinput type=text name=myFormElement value= /cfif /cfform I can use the CFIF outside of the CFFORM but not inside the CFFORM. Am I missing something here? Any suggestions would be most appreciated. jaye morris [EMAIL PROTECTED] Date: Thu, 25 Apr 2002 14:37:45 -0400 From: Critz [EMAIL PROTECTED] Subject: Re[2]: CFIF and CFFORM Tags Message-ID: [EMAIL PROTECTED] oi Jaye!! yes it's possible. what errors are you receiving? -- Critz Certified Adv. ColdFusion Developer Crit[s2k] - CF_ChannelOP Network=Efnet Channel=ColdFusion Thursday, April 25, 2002, 2:36:18 PM, you wrote: JM I have been having problems using CFIF in the CFFORM tag. is this not JM possible? JM Regards JM jaye morris JM [EMAIL PROTECTED] JM FAQ: http://www.thenetprofits.co.uk/coldfusion/faq JM Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ JM Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: will cftransactoin work?
With three servers you might have to write your own queueing function using a common memory space (i.e. the database) as the queue. I don't know of any other methods to achieve atomicity with three servers. I'm sure most people on the list know more about db than I do. - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 10:13 AM To: CF-Talk Subject: RE: will cftransactoin work? The problem is that each Server has to read and THEN write before the next one reads. Any ideas? BJ = = = Original message = = = I have 3 computers accessing a SQL-server at the same time. I need the DB to be locked so they can't read/write the data at the same time. How do I get the servers to get in line and wait for each other? Almost all databases provide that functionality automatically. If one database client is writing to the data, other database clients won't be able to read or write that data until the first one is done. If one database client is reading the data, other database clients won't be able to write that data until the first one is done. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: SQL Booger of a query
Hi Paul, What fields are you trying to search on? - Matt Small -Original Message- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 3:14 PM To: CF-Talk Subject: OT: SQL Booger of a query I have the following table NameGrandparentParentChild Fishing10000 Reels 10010 Baitcast 10011 Spinning 10012 Hunting20000 Archery20010 Bows20011 I am going nuts trying to write a query that will give the final result of: Fishing/Reels/Baitcast Fishing/Reels/Spinning Hunting/Archery/Bows ect... Is this possible to do in a query? Any help from you master minds would be helpful... My request was to not have queries within a loop so I am not sure it is doable .. ANY suggestions welcome! Paul Giesenhagen QuillDesign http://www.quilldesign.com SiteDirector v2.0 - Commerce Builder __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Optimal settings for LIMIT SIMULTANEOUS REQUESTS
U... yeah, I'll make a few comments on that. The general rule for setting simultaneous requests is for 5 per processor. The fact that he has set his to 50 and things appear fine to him I guess is a good thing - unless he's not seeing the whole picture. If his has such high traffic volume that the regularly and consistently gets timeouts then I think that means that he need to increase the amount of hardware or reduce the number of websites running on the machine. Increasing the number of simultaneous users may very well decrease the number of timeouts that occur due to a shorter queue, but it may be increasing the wait time for a template to be processed to unbearable figures. It could be driving some customers away rather than servicing them. Also, what is the figure that you've set in your administrator for timeouts? Is it set unusually high? That could be another reason that timeouts are decreasing in this case. The Holy Grail of web server tuning is to have maximum throughput measured in the amount of information leaving the server in the shortest amount of time. I'm not saying that it isn't possible that he's getting great results with his settings. I'm just trying to repeat some of the things that I learned about server tuning. I'm not expert on this either, so something I've written could be wrong. - Matt Small -Original Message- From: John Innit [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:41 AM To: CF-Talk Subject: Re: Optimal settings for LIMIT SIMULTANEOUS REQUESTS Bud, thanks for your response. So you've set your simultaneous requests limit to 50 and your performance is fine and you've minimized your time outs, that's interesting. Anyone have any comments on that ?? At 08:34 PM 4/23/2002, you wrote: On 4/23/02, John Innit penned: Our web server is a P3 500 with 512KB RAM running WIN2K/ IIS CF 4.5.1 our DB server is also a P3 500 with 512KB RAM running WIN2K and SQL SERVER 2000 I've read the rule of thumb for the limit simultaneous requests should be 2x or 3x the number of processors on the box, as we have 1 processor on our web server does this mean our setting should be only 2 simultaneous requests??? This seems frighteningly low to me!! currently we have it set to 15. - am I missing something here ? Well, when I had mine set to the recommended settings I used to get dozens of timeouts daily in the application.log. Every couple days I'd go in and raise it by 5 and the number of timeouts would decrease. When I got to 45 they went away. I then made it 50 and never get timeouts and the performance hasn't suffered. Right now I'm hosting about 40 CF sites on the box, with about half running Access as the database and the other half running SQL on a separate box. Some of the SQL sites are pretty busy getting hundreds of visitors daily with one doing close to 2,000 visitors daily. I do get some ConnectWrite SQL Server ODBC timeout errors, an average of about 4 a day, which I can live with. My web server is running dual 533 Mz PIIIs with 1 GB RAM. The SQL Server is a single PIII 833 Mz with 512 MB RAM. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFGRID
I use it frequently but its for use on my intranet. Some IE versions have problems with the horizontal scroll bar (IE5 mainly). It does have a few bugs in the cfgridupdate but these can be worked around if you take the time to learn how the information is passed to the action page. I love the applet. It does exactly what I need it to do when I take the time to work around the bugs. I'm using CF4.5 Enterprise. - Matt Small -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:53 AM To: CF-Talk Subject: CFGRID Has anyone had any success with using CFGRID in an application? Its perfect for what I need to do but im a little weary about it... Any suggestions? Ie... Java version Bugs etc... __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFGRID
I would imagine in that case that you need verify that the JVM is installed on the client machine before they could use CFGRID. When is it erroring (is that a word even?) out? Is there a certain record that makes it error? I would research exactly the series of evetns that causes an error in these cases. - Matt Small -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 10:09 AM To: CF-Talk Subject: RE: CFGRID I have my version working now but we are finding some permissions issues with Java that aren't allowing are users who aren't local administrators the ability to use cfgrid and occasionally it errors out all together... -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 10:14 AM To: CF-Talk Subject: RE: CFGRID I use it frequently but its for use on my intranet. Some IE versions have problems with the horizontal scroll bar (IE5 mainly). It does have a few bugs in the cfgridupdate but these can be worked around if you take the time to learn how the information is passed to the action page. I love the applet. It does exactly what I need it to do when I take the time to work around the bugs. I'm using CF4.5 Enterprise. - Matt Small -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:53 AM To: CF-Talk Subject: CFGRID Has anyone had any success with using CFGRID in an application? Its perfect for what I need to do but im a little weary about it... Any suggestions? Ie... Java version Bugs etc... __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: contacting congress /
That was my experience when I sent snail-mail to the president of Compaq. A personal representative of his called me regarding my issues. Email doesn't get anywhere because it's only worth the paper it's printed on. - Matt Small -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 10:32 AM To: CF-Talk Subject: RE: contacting congress / Another thing to keep in mind - e-mail to our elected officials is pretty worthless. Most don't understand the medium and never look at them. Just something to consider. Most elected officials don't read their own regular mail, either - they have staff members to sort out both of these. However, I suspect that the weight given to something sent via snail mail is much greater than something sent via email, simply because it's more work to send something that way - you have to care a bit more to send snail mail. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: javascript:history.back()
History.go(-1) for one page History.go(-3) for three pages - Matt Small -Original Message- From: John McCosker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 10:31 AM To: CF-Talk Subject: javascript:history.back() Greetings, I know not purely CF, but Does anyone know how, or a substitute to get the history.back() function to move back to pages, (instead of in increments) jumping back to a page, 2 or more positions in the browser history, i.e. visit page one then visit page two then visit page three then click a history.back() button, but instead of going back to page two, jump directly back to page one, the reason is to access a query object again created at that point, that was not recreated in steps form 2 to 3. Hope this makes sense, Repsectfully, J __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Session variable question
I think you forgot one line - If I type evaluate - I shoot myself. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 12:18 PM To: CF-Talk Subject: RE: Session variable question Ok, this leads me to another question about locking, If I'm doing a check for a session variable, like say something like cfif session.username is blah add some code /cfif should I have read only locks on pieces of code like that? we do have certain features that we look for a particular user via a session variable. I'm wondering if I should lock all those too, or would that be overkill? Yes. Repeat after me... If I type session - I type lock. If I type application - I type lock. If I type server - I type lock. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Custom Error Templates
No, you can't. What happens if you have an error in the error page? - Matt -Original Message- From: Wallick, Mike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 3:13 PM To: CF-Talk Subject: Custom Error Templates Hey all. I'm using cferror to define a custom request error template and I'm having some strange issues: Naturally, I want the error page to look like the rest of the site (I like consistency). So I made the error template with the same colors, style stuff, etc. as the rest of the site. Here's the problem: Intermittently, the error page ignores any CFML tags, variables, etc. that I placed in it. The only variables that evaluate consistently are the #error.# variables. When I view the source, I can see some CFML code. What gives? Can't I use CFML in an error template? Mike Wallick Web Application Developer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 651.628.5377 http://www.securecomputing.com http://www.securecomputing.com/ __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: String Manipulation help needed
Or you could just use the CGI structure to grab info about the host name. I think the one you want is cgi.http_host. - Matt Small -Original Message- From: Dave Hannum [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 3:14 PM To: CF-Talk Subject: Re: String Manipulation help needed Try this, ListFirst(http://www.foobar.com/images/screwy.gif;, /) Dave - Original Message - From: Tim Claremont [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, April 23, 2002 2:59 PM Subject: String Manipulation help needed I have the following string: http://www.foobar.com/images/screwy.gif I want to return everything before the third / In other words, I want to retrieve the following: http://www.foobar.com I am sure there is a simple string function. What am I missing? T __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [sorta OT]help w/server-side doc generation
OK, you're working too hard. You can create HTML documents from your data on the fly in ColdFusion, save them to a file, open them up in Word and print them. It's not really hard. I do this every day with more than 2000 pages/week going to my printer. You can save this file as an html or a doc file, with way is fully editable by word. See cfcomet.com and email me with questions off list after you've seen cfcomet. - Matt Small -Original Message- From: Michael Vinson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 3:51 PM To: CF-Talk Subject: [sorta OT]help w/server-side doc generation Hi CF'ers, This is a little long-winded and a little off topic, but any comments will be greatly appreciated. This is basically my daily report to my now disgruntled client ... who wants to see progress... at any cost. For my part, this is a biggole sanity check! ;) First, a little background information: This is a re-do of a Crystal Report that was accepted by the client last February (while I was on vacation... aahhh to be young again). Nearly 6 weeks passed before anyone (myself included ... shame on me) noticed that the 'EDITABLE' ms-word doc created by Crystal is not actually editable at all... it looks editable, smells editable, etc. but Crystal's export DLL's wrap every page into a fixed-size frame which does not flow... not to mention headers/footers get their own frames which get stepped on, etc... OK - 'nuff of that... and out with Crystal Reports. The document must be editable (DOC or RTF). PDF is 100% out of the question. Formatting of the document must be precise (I've already tried and dismissed various HTML-2-RTF conversion utilities for lack of formatting power...) Next, the document must be generated on the server (as a part of a larger CF application). Therefore, there will be no need for a client setup program, macros to install/run or any need to support the variety of desktop configurations in the field. Here's a three-tiered approach we will take to make the document generate from the web server: 1 - Run a copy of MS Word with an auto-execute macro on the server and insert the variable data (proposal fields in tailored training) into a Word template. This macro (template file) will be fed the active proposal data from either a standard ODBC (Open DataBase Connector) or from a delimited text file written to disk. Two potential problems here: 1) Performance stability ... 2) Actually getting the data into Word 'on the fly' (this is currently an unknown). However, I have successfully tested a Cold Fusion provides functions which will launch an external application. If this works, no need to move onto tier-two... 2 - Write a stand-alone Visual Basic application (compiled) that essentially does the same thing described above. The major difference is that instead of using a template file to hold the boilerplate text, the Proposal document will be 'hard-wired' inside of the VB application. I will call this VB application using Cold Fusion, as mentioned above. And I will use standard ODBC drivers to pull the data directly from the database. I will need to feed this stand-alone VB program a parameter value to indicate which Proposal ID to use when searching the Access database. Again, if for whatever reason this approach fails, I will advance to tier number three... 3 - Write a set of Microsoft COM (Component Object Model) automation components to accomplish the goal of generating an editable proposal from the server on-the-fly. These will be written in Visual Basic. These automation objects will be compiled components very similar to the stand-alone VB application described in tier two. The primary difference is these components will be running as web services and thus will provide the greatest performance stability. The downside is that this the most complex approach. The upside is that this is the most powerful flexible approach. In the final analysis, we may not need this 'power flexiblity', but then again, this may be the only approach that gets the job done. [note that I have someone to help with COM creation... if it comes to that] Thanks all, Mike __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF's Most Wanted ::
Yes, those of you in NEO land, please make sure that CFGRAPH is a stable, fully developed feature. - Matt Small -Original Message- From: Tyler Silcox [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:05 AM To: CF-Talk Subject: CF's Most Wanted :: (Features, that is...) With all this talk of learning other languages to flesh out your portfolio, and more importantly your knowledge, along with the looming release of NEO/CFMX, I've been trying to think of the features that I currently miss in my ColdFusion. And I thought what better way to get Macromedia's attention, then by creating a heated discussion among the leading, path-forging cf users, which obviously reside on this list (yes, I'm buttering you up.) It seams to me that we see some of the same issues puzzling new or begginer users over and over again, or some great features that are available though creative uses of custom tags are not readily available to those developers hosting on shared servers. And I feel that MM could easily add some nice new tags or attributes to current tags that solve most everyone's problems (and I know nothing is that easy, but it'd be nice.) I also know most of us have submitted feature requests on MM's site, but the community never really geats to chime in. So what I'd like to do is gather up a few of your ideas for improving ColdFusion just to let MM know what we're are thinking. I'm also very interested in what other developers are thinking, and I'm sure y'all are too. I know that timing probably isn't the best for their very, very busy brains over in MM land right now, but there really isn't anytime better than the present. Here's some of the basic probelms that I've come across and that I've seen pop up on this list over and over from the last couple of years: cfmail/cfpop: Needs more stability, more power, ability to read and write multi-part messages (at least), maybe kill the spool or move straight to the a Java spool (with NEO's Java backbone, there really is no excuse not to revamp this tag) cfimage (new tag): Abilty to resize images on the fly, store in cache, read dimensions, etc. (should be a cinch with Macromedia's expertise in graphic products [yea, right]) locking: Needs to protect the server. Period. cfgraph: Use flash to it's fullest. The current tag is a start, but still weak. Needs options galore. cfdirectory: Please just give us one more attribute (filesonly=True, or type=file) or update filter to accept type=file or type=dir. Those directory dots irk me 99% of the time I use the tag. c# support: I'm not even sure this is a possilbilty and it's probably a little early to call for it, but something to think about. And I know that a lot of these features are available as custom tags, etc, right now. But it's not always a feasible option for many developers who are on a monetary or time constraint, or are just hosting on a public server that doesn't allow custom tags. (Honestly, I'm not trying to put anyone out of business.) NOTE: I'm also aware that some some of these things may already be alleviated or improved upon in NEO. For all the Beta testers and PDA hounds out there, please do not jump in on this discussion and say That's already developed and then the subsequent You're not allowed to say that and then I have to say Please keep this discussion in a pre-NEO context etc, etc. So, I'll go ahead and say that now, please keep this discussion to pre-NEO improvements. Although NEO is on it's way, please just submit features you have thought and dreamt about prior to NEO, and future releases. Anyways, I really think that the best minds in the cf community are hanging amidst us, so please share your thoughts and ideas, and maybe we can make CF an even easier, more robust, powerful product- Tyler Silcox email | [EMAIL PROTECTED] __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF's Most Wanted ::
Sorry, I meant CFGRID. - Matt Small -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:15 AM To: CF-Talk Subject: Re: CF's Most Wanted :: Yes, those of you in NEO land, please make sure that CFGRAPH is a stable, fully developed feature. Why not buy an add-on that is intended as a graphing product, rather than a bolt on?? __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
viewing code in Netscape
Hi all, Sometimes when I am trying to view the source code of a page in Netscape, the view page source selection is greyed out. Any ideas on why or how to get around it? Thanks, Matt Small __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: viewing code in Netscape
Thanks, but that did not solve the problem. I'm using Netscape 6.2. - Matt Small -Original Message- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:38 AM To: CF-Talk Subject: Re: viewing code in Netscape Try killing your cache and / or temp files Paul Giesenhagen QuillDesign http://www.quilldesign.com SiteDirector v2.0 - Commerce Builder Hi all, Sometimes when I am trying to view the source code of a page in Netscape, the view page source selection is greyed out. Any ideas on why or how to get around it? Thanks, Matt Small __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: viewing code in Netscape
Nope, doesn't work. Thanks. If you're using Netscape 6.2 or something close, see if it happens to you as well: The second page after http://showstopperonline.com/new_form/index.cfm Is the page that I am having problems with. The url for that page is: http://showstopperonline.com/new_form/reg_form_electronic2.cfm Question 2: I posted this last week but haven't solved it yet: Using Netscape 4.08, can somebody check out the second page (reg_form_electronic2.cfm) and tell me why if I can through the index.cfm page to arrive at the second page then the javascript does not work, but if I go through the first page, then it does? View trhe source of the second page, it's a weird Missing Post Operation error that is the source. I totally don't understand it at all. Thanks, - Matt Small -Original Message- From: Helen Simpson [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:41 AM To: CF-Talk Subject: Re: viewing code in Netscape I'm not sure why it's doing that, but Control-U should show you the source. Cheers, Helen Simpson At 10:33 AM 4/22/02, you wrote: Hi all, Sometimes when I am trying to view the source code of a page in Netscape, the view page source selection is greyed out. Any ideas on why or how to get around it? Thanks, Matt Small __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: viewing code in Netscape
Can you explain that in further detail? I can view the source on the first of my pages but not the second. Also, this is not being accessed via https yet, it's still in dev. Thank you, Matt Small -Original Message- From: Sicular, Alexander [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:47 AM To: CF-Talk Subject: RE: viewing code in Netscape I think this is an 'aol' enhancement to mozilla. I have noticed this as well on netscape 6.2. Especially not being able to view source on https files also not being to vs on certain js generated pages. After hearing that netscape is also used as spyware for aol, I switched to mozilla. I can't verify this atm, since I removed all traces of netscape. Now I use mozilla all the time. www.mozilla.org. It is a damn good alternative to ie. Alexander Sicular Chief Technology Architect Neurological Institute of New York Columbia University as867 [at] columbia {dot} edu |-Original Message- |From: Matthew R. Small [mailto:[EMAIL PROTECTED]] |Sent: Monday, April 22, 2002 10:34 AM |To: CF-Talk |Subject: viewing code in Netscape | | |Hi all, | Sometimes when I am trying to view the source code of a |page in Netscape, the view page source selection is greyed |out. Any ideas on why or how to get around it? | |Thanks, |Matt Small | | __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Javascript for invalid CF characters
Try something like this: onchange=if (this.value.search(/[^a-zA-Z0-9]/) != -1) {this.value = ''; return;} This will determine if there are any non-alphanumeric characters in the string and destroy the entire string if there are, once the string changes. - Matt Small -Original Message- From: Frank Mamone [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 10:17 AM To: CF-Talk Subject: Javascript for invalid CF characters Hi, I would like a Javascript to valildate a password field for characters which can cause problems with CF like # symbols. I'm not sure what other characters can cuase problems. Any suggestions? __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Set focus on a CFINPUT field
What are you using the cfinput for? You might be able to write your own function that does the trick as well and still allows you to focus on the textbox. Also, there's no reason that cf generated javascript works any different that that you write on your own. Can we see the HTML code for the generated page? - Matt Small -Original Message- From: Larry Juncker [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 11:11 AM To: CF-Talk Subject: RE: Set focus on a CFINPUT field I have tried that also. Exact code as you have written below. It appears that the ColdFusion javascript doesn't allow the hardwritten code to populate. -Original Message- From: David DiPietro [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 10:00 AM To: CF-Talk Subject: RE: Set focus on a CFINPUT field Try setting it through a function. That is how I do onload events. script language=Javascript function focusme() { document.PracticeDetail.PName.focus(); } /script BODY onload='focusme()' bgcolor=white -Original Message- From: Larry Juncker [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 10:52 AM To: CF-Talk Subject: Set focus on a CFINPUT field Can someone point me to how to properly set focus on a CFINPUT field? I have tried document.FORMNAME.FIELDNAME.focus(); and it just does not acknowledge the code. document.FORMNAME.FIELDNAME.VALUE will give me the preset value that I set for the field. Thanks in Advance Larry Juncker Senior Cold Fusion Developer Heartland Communications Group, Inc. [EMAIL PROTECTED] CONFIDENTIALITY NOTICE The information contained in this e-mail is intended only for the use of the individual or entity to which it is addressed. This e-mail may contain information that is privileged, confidential, and/or personal. If the reader of this message is not the intended recipient (or the employee or agent responsible to deliver it to the intended recipient), you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this communication in error, please notify us at the email listed above. __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Javascript for invalid CF characters
I'm glad to have helped you. -Original Message- From: Frank Mamone [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 11:37 AM To: CF-Talk Subject: Re: Javascript for invalid CF characters Thanks Matt! Worked great. - Original Message - From: Matthew R. Small [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 10:31 AM Subject: RE: Javascript for invalid CF characters Try something like this: onchange=if (this.value.search(/[^a-zA-Z0-9]/) != -1) {this.value = ''; return;} This will determine if there are any non-alphanumeric characters in the string and destroy the entire string if there are, once the string changes. - Matt Small -Original Message- From: Frank Mamone [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 10:17 AM To: CF-Talk Subject: Javascript for invalid CF characters Hi, I would like a Javascript to valildate a password field for characters which can cause problems with CF like # symbols. I'm not sure what other characters can cuase problems. Any suggestions? __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CSS and Netscape - was(CSS and dynamically changing classes)
Well - Yes, I hope that this letter is the last post on this thread. Everybody's got their opinions on this issue and I respect everybody's as much as you respect mine. I hope that everybody else thinks as I do in that this is a forum to share ideas and expressions and to debate the same. We don't have to agree but hopefully we can agree to disagree on occassion. If I ruffled any feathers I apologize (Jerry Johnson :-) ) This is a great list. - Matt Small -Original Message- From: Katherine Maltby [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 11:53 AM To: CF-Talk Subject: RE: CSS and Netscape - was(CSS and dynamically changing classes) Sorry for coming back to this thread again but I wanted to make one thing clear about my feelings for Netscape. I agree that ALL code should be solid code, and if there are browsers around that do not display a page because I have missed a closing /td then I'd prefer to know that I've done something wrong. In this respect I do not have a problem with Netscape. For this reason, if you are still intending to send the letter please don't put my name on it. Kath -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: 17 April 2002 00:07 To: CF-Talk Subject: RE: CSS and Netscape - was(CSS and dynamically changing classes) OK... :-) I'm done thinking about Netscape, IE and browsers. I'm going to go jetski the rest of my day away. I hope that everybody had a good time with this little thread today. Take care, - Matt Small -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 6:24 PM To: CF-Talk Subject: RE: CSS and Netscape - was(CSS and dynamically changing classes) We're not talking about bad code. We're talking about forgotten table tags. We're talking about not fully scoping a variable. I'd argue that's bad code. It might not be as bad, comparatively speaking, as not using CFLOCK around a memory variable, but forgetting a table tag is an invalid instruction, and not scoping a variable is a potentially ambiguous instruction. It's important to remember that computers are very, very stupid, and will generally do exactly what we tell them to do, with very little ability to fill in the blanks when we provide incomplete or incorrect instructions. While I prefer IE to Netscape, there's a reason that IE is such a big install, and why the Gecko parser in Mozilla is as fast as it is. This is because IE attempts to render HTML even if it's not well-formed, and does a decent job of it. Of course, for this to happen, IE has to include all kinds of code to cover every eventuality. We're not going to have this luxury in the future, probably - as browsers become smaller, and as they're found in more devices, the necessity of writing well-formed HTML, or XHTML, more likely, will be much greater than it may be now. We're talking about the fact that when bad code does get written, you're a whole lot better off if you have internet explorer than when you have netscape. If you had to choose between riding in a car that was based on the fact that everything was always perfect in a perfect world then netscape works quite nicely. The fact is, IE takes into account the fact that code doesn't always get written like the rules say. It figures out the right most of the time and leaves you with options so your code is not left broken when multiple people who work on the application make a mistake here or there then it's left to somebody else to fix. A couple of points worth noting here: 1. IE may figure out the optimal thing to display, but your code is in fact left broken. 2. If you follow your car analogy to its logical conclusion, you could compare IE to a Humvee, and Netscape to, say, a Yugo. However, as a road-builder, your roads should work for both, and if you build roads with giant potholes, you can't blame the problems encountered by Yugo drivers on their choice of cars - maybe they can't afford a Humvee! (The analogy here would be that they're running Linux or something, rather than Windows or Mac, I suppose.) You're right, writing things properly is always a good thing. Being able to account and correct mistakes rapidly is also. Yes, both of those are important. The second one is usually called debugging, and in an ideal world, most of it happens before an application is deployed, and isn't performed by end users. Now, let's attack me personally because I have these views. Yes, go ahead and attack the person instead of the views themselves. Show me how much class you've got. I hope you don't take this as a personal attack. I don't think that Jerry intended for you to take his criticism as a personal attack, either, based on my reading of it: What you are talking about is bad coding. Pure and simple. And laziness. Just because IE currently allows you to code so poorly, and the page sometimes renders the way you want, doesn't
Regex
Anybody got a regex that will remove anything except numbers from a string? Thanks, Matt Small __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Regex
Thanks, worked great for me. - Matt Small -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 4:25 PM To: CF-Talk Subject: Re: Regex REReplace(string, '[^0-9]', '', 'all') this says find anything that is not 0-9 and replace it with nothing. At 04:26 PM 4/17/02, you wrote: Anybody got a regex that will remove anything except numbers from a string? Thanks, Matt Small __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists