Re: MS word HTML page with a picture
DirectLoad does all this for you and more http://www.flymicro.com/cf/directload As for file naming, it names all the associated files my_file_image_001.jpg etc. and puts them by default in the same directory as the html file. This may not be very tidy but it does mean there can't be conflicts with similarly named files in another directory and a common images/ directory. David Green wrote: Hello list, Thanks all for the good material on this list! I am not sure how to ask this question. Is there a way to control the relative calling directory information when using cfinclude? I know questions does not make sense My problem is am including pages that are created in word and saved to HTML then uploaded by a user to a user defined directory structure on the server. I then use cfdirectory and cfinclude to make pages with links and display the pages with footers and back grounds ect. This all works great for pages without a pictures user is able to build and control there site with just word and some file management. Till they add a picture to the document created in word A page created/saved by MS word as HTML that includes a picture looks for a sub directory of (WebPageName_files) in the directory that the MS word page is in.My problem is that because am using cfinclude I am not in the directory that the MS word page is in so my relative directory path is not what was created by the word when the document was saved. The path to the image in the document created word will be something like ./tour/testpage_files/picture.jpg but because of the cfinclude am not in the directory with a subdirectory of tour. Am in the directory with my cfm pages (/webname/cf_pages ) and the page is looking here for the subdirectory of tour and the path to the image. Editing the path in the word after saving it html document is not an option.My user would not a clue on how to edit the code. So my question has anybody done something like this using word and cfinclude and how did you handle the file paths created by word? I am guessing some how I need to create a web page dynamically in the directory that the word doc is in and call it directly with maybe a cflocation or java script? Thanks the any help, Sorry if this makes no sense. David ~~ 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: Raduis Authentication
Last year I set up a system using the vopcom radius client, this is a com object that you can call from cold fusion: http://www.vircom.com/solutions/vopcom/index.htm - Original Message - From: [EMAIL PROTECTED] I am trying to use CF to authenticate users with their Username and password from the radius server on the Unix side of the network on an ~~ 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
CF multi-threading with Java
Does anyone know if CF communicates in a multi-threaded fashion with the JVM? - Kinley ~~ 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
How much faster to develop in CF v PHP
Forgive the rookie questions you gurus ;-) Trying to evaluate which way I should lean in the future. How much faster is CF, in general terms, than PHP - both from a standpoint of learning and developing dynamic sites? - Martin Wright ~~ 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: How much faster to develop in CF v PHP
That would all depend on your background, I would think. I *personally* find PHP to be cumbersome (granted the only exposure I've had is an inherited app from a new hosting client). You are asking a CF forum so I would imagine the responses would lean pretty heavily in the CF corner :) Shawnea - Original Message - From: Martin Wright [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 6:32 AM Subject: How much faster to develop in CF v PHP Forgive the rookie questions you gurus ;-) Trying to evaluate which way I should lean in the future. How much faster is CF, in general terms, than PHP - both from a standpoint of learning and developing dynamic sites? - Martin Wright ~~ 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: How much faster to develop in CF v PHP
I have not used PHP, but read about it, (not in depth I must say) http://www.php.net/ It looks similar syntacically to ASP, which I have used to build XML docs from a recordSet then send to another server. I later did the same procedure in CF and it was a breeze. ASP just takes more scripting to do the job. In laymans terms, if you want a screwdriver, do you use the Stanley, or the Phillips. jmc .. .. -Original Message- From: Martin Wright [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:32 AM To: CF-Talk Subject: How much faster to develop in CF v PHP Forgive the rookie questions you gurus ;-) Trying to evaluate which way I should lean in the future. How much faster is CF, in general terms, than PHP - both from a standpoint of learning and developing dynamic sites? - Martin Wright ~~ 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: SELECT MAX(ID), Access SQL Server - confused!
Why not carry on using AUTONUMBER, and convert that field to IDENTITY if upsizing? Ordinarily I'd say that was what you should do (see below) The trouble comes in when you have to pull the number out again, You mean if you're doing SELECT MAX(ID) *after* an INSERT, to get the ID that's just been created, instead of creating a new ID *before* the INSERT for 'manual' numbering of the PK? Couldn't you use the loop/cftry/ cftransaction combo that Steve Nelson suggests for creating a new ID? Must say I'm totally baffled. I've still found no solid reason why people even bother concocting slick and wonderful 'workarounds' for the ID-creation 'problem'. Why not use the DB's autonumber/identity feature, and use the best method available (loop/try/transaction, or @@identity I guess) for grabbing a newly created ID? There's a lot of back-and-forth in this thread, some really useful info, but no overall idea of where we stand with this - pretty fundamental! - DB issue. Anyone who could sum it all up - or just post a link to such a thing :) - would get my gratitude for one! - Gyrus ~~ 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
put a recordset in a list
This is a multi-part message in MIME format. --=_NextPart_000_0028_01C1774C.CDA3ABC0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable hello, i would like to know how to put the result of a query in a list. if you know how, thank's --=_NextPart_000_0028_01C1774C.CDA3ABC0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=3DContent-Type content=3Dtext/html; = charset=3Diso-8859-1 META content=3DMSHTML 5.50.4522.1800 name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2hello,/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2i would like to know how to put the = result of a=20 query in a list./FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2if you know how,/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2thank's/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV/BODY/HTML --=_NextPart_000_0028_01C1774C.CDA3ABC0-- 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
put a recorset in a list (plain text:)
hello, i would like to know how to put the result of a query in a list. (i didnt find it in the archive) thank you in advance. 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: put a recordset in a list
Use the ValueList command CFSET lstFoo = ValueList(MyQuery.Column) HTH Mike -Original Message- From: loic jegouzo [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 13:07 To: CF-Talk Subject: put a recordset in a list This is a multi-part message in MIME format. --=_NextPart_000_0028_01C1774C.CDA3ABC0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable hello, i would like to know how to put the result of a query in a list. if you know how, thank's --=_NextPart_000_0028_01C1774C.CDA3ABC0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=3DContent-Type content=3Dtext/html; = charset=3Diso-8859-1 META content=3DMSHTML 5.50.4522.1800 name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2hello,/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2i would like to know how to put the = result of a=20 query in a list./FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2if you know how,/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2thank's/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV/BODY/HTML --=_NextPart_000_0028_01C1774C.CDA3ABC0-- 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 ~~ 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: put a recorset in a list (plain text:)
cfset bla=valuelist(query.column). HTH leon -Original Message- From: loic jegouzo [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 03:11 To: CF-Talk Subject: put a recorset in a list (plain text:) hello, i would like to know how to put the result of a query in a list. (i didnt find it in the archive) thank you in advance. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.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: hosting recommendations
Hi Kevin, How's the 'relational' database coming along? As I mentioned before, it would be really useful if everyone who needs access to member's phone numbers, etc. would be able to get the most recent data from a Web site instead bugging you for it. Class leaders and committee chair persons would be able to add, edit, and retrieve information as needed, and the data could (and most certainly should) be password protected. Well, the free hosing company I mentioned now offers both free hosting and very low rate deals. By now they've been around for a long time, and other clients seem to be happy. In case you want to consider the possibilities, here's the link: http://www.cfm-resources.com/. There are others that I'm less familiar with: www.ExpertHost.com, www.wedohosting.com, www.advances.com. Kind regards, Marianne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 4:24 PM To: CF-Talk Subject: Re: hosting recommendations I like CFM resources (www.cfm-resources.com). Of course, they're all I've ever used but I've never had a problem with them. Michael Corrigan Programmer Endora Digital Solutions www.endoradigital.com 630/942-5211 x-134 - Original Message - From: lsellers To: CF-Talk Sent: Monday, November 26, 2001 3:05 PM Subject: hosting recommendations 'ello. Was looking around for a new host for intrafoundation.com. (My current host's new management software is really ticking me off.) 2gb traffic a month avg. 8 email accounts. cf asp required. 1 or more odbc. relatively low stress website. cc gateway soft and cfx/com allowance usage required (though I'm not using any cfx's or com's on it at the moment). Some place reliable (2+ years up) but laid back. Cheap's good too. ;-) Thanks, --min ~~ 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: hosting recommendations
Sorry, I meant to forward, not reply. -Original Message- From: Daye, Marianne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 8:34 AM To: CF-Talk Subject: RE: hosting recommendations Hi Kevin, How's the 'relational' database coming along? As I mentioned before, it would be really useful if everyone who needs access to member's phone numbers, etc. would be able to get the most recent data from a Web site instead bugging you for it. Class leaders and committee chair persons would be able to add, edit, and retrieve information as needed, and the data could (and most certainly should) be password protected. Well, the free hosing company I mentioned now offers both free hosting and very low rate deals. By now they've been around for a long time, and other clients seem to be happy. In case you want to consider the possibilities, here's the link: http://www.cfm-resources.com/. There are others that I'm less familiar with: www.ExpertHost.com, www.wedohosting.com, www.advances.com. Kind regards, Marianne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 4:24 PM To: CF-Talk Subject: Re: hosting recommendations I like CFM resources (www.cfm-resources.com). Of course, they're all I've ever used but I've never had a problem with them. Michael Corrigan Programmer Endora Digital Solutions www.endoradigital.com 630/942-5211 x-134 - Original Message - From: lsellers To: CF-Talk Sent: Monday, November 26, 2001 3:05 PM Subject: hosting recommendations 'ello. Was looking around for a new host for intrafoundation.com. (My current host's new management software is really ticking me off.) 2gb traffic a month avg. 8 email accounts. cf asp required. 1 or more odbc. relatively low stress website. cc gateway soft and cfx/com allowance usage required (though I'm not using any cfx's or com's on it at the moment). Some place reliable (2+ years up) but laid back. Cheap's good too. ;-) Thanks, --min ~~ 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
Querying Queries
Hi all, Is it possible to use LEFT JOIN (or RIGHT JOIN) when querying queries? I get two queries from cfstoredproc (two differenent data sources) and then use querying queries to combine them. But it seems like i can not use LEFT JOIN. I always get an error like this: unknown exception condition PCodeRuntimeContextImp::executeSQLTagCFQuery::endTag I even tried to use *=. It gave me an invalid sql error. Anyone knows how to solve this? Thanks JL ~~ 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: Load balancing with hardware solution - still require Enterpr ise?
Same cert on all the webservers. We started looking into ssl accelerator boxes, but by then we were out of business. ;p In this scenario, was the SSL cert installed on the Foundry box or all the webservers? -Original Message- From: Tony Schreiber [mailto:[EMAIL PROTECTED]] Sent: Friday, November 23, 2001 9:19 AM To: CF-Talk Subject: Re: Load balancing with hardware solution - still require Enterprise? No, you don't need lb/failover services of Enterprise with a hardware load balancer... At my last big site we used a Foundry lb with several webservers. If you use session variables, be sure to use the datasource method rather than registry - this was a user can pass from machine to machine without issue. We setup each machine to mount a shared webroot from a fileserver, so that there were no code distribution issues, all machines used the same webroot. Also, each machine was addressable at its own unique hostname, but since the load balancer answered as www, we were able to use the same ssl certificate (www.domain.com) on each machine with error (unless you hit it with its hostname specifically). I was wondering if I passed the job of load balancing to a third party hardware solution, do I still need to use Enterprise? TIA, Dave ~~ 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: Is name locking sufficient for session vars?
The official MM/Allaire line is that shared-scope variables should be locked by scope and not by name (it's in the Knowledge Base). Yes, locking by name should be faster, if you coordinate it right - remember that locking doesn't lock anything, it merely coordinates access to the variables. In my opinion, locking by scope is for safety reasons, and it's worth it. Chris Norloff -- Original Message -- from: cf refactoring [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] date: Mon, 26 Nov 2001 08:09:16 -0800 (PST) There's something that's been buggin me: Is NAME LOCKING sufficient for session variables? A best practice in CF is to always lock session variable access, but it's not really clear whether 1) NAME locking is sufficient or 2) should we always lock with SCOPE=SESSION? To me, the answer seems to depend on how shared memory is managed in CF. If session scope memory is managed as an entire block, then we have to use SCOPE=SESSION, because different user sessions can corrupt each other. On the other hand, if session scope memory is managed variable by variable, then we only need to worry that a single variable is not simultaneously accessed by two different threads, in which case a NAME lock would be sufficient. Are there any MACROMEDIA folks out there who know enough about CFAS internals to answer this? = I-Lin Kuo Macromedia CF5 Advanced Developer Sun Certified Java 2 Programmer ~~ 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: put a recordset in a list
Or QuotedValueList(MyQuery,Column) if the columns are text based and not numeric Regards Stephen - Original Message - From: Mike Townend [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 1:13 PM Subject: RE: put a recordset in a list Use the ValueList command CFSET lstFoo = ValueList(MyQuery.Column) HTH Mike -Original Message- From: loic jegouzo [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 13:07 To: CF-Talk Subject: put a recordset in a list This is a multi-part message in MIME format. --=_NextPart_000_0028_01C1774C.CDA3ABC0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable hello, i would like to know how to put the result of a query in a list. if you know how, thank's --=_NextPart_000_0028_01C1774C.CDA3ABC0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=3DContent-Type content=3Dtext/html; = charset=3Diso-8859-1 META content=3DMSHTML 5.50.4522.1800 name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2hello,/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2i would like to know how to put the = result of a=20 query in a list./FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2if you know how,/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2thank's/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV/BODY/HTML --=_NextPart_000_0028_01C1774C.CDA3ABC0-- 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 ~~ 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: How much faster to develop in CF v PHP
well.. it all depends.. i think that PHP is way faster in terms of speed than CF and its not that bad to learn.. if you know a little C, PHP will be a breeze.. actually i learned PHP like in a week.. heh. http://www.phpbuilder.com/ check it out.. also i think that php is great if you are using Unix as your base.. it gives you extended capabilities to mess around with the actual system. BUT.. you cant beat CF when it comes to developing sites in a hurry.. heh.. CF is i think the fastest language to learn and the fastest to implement plus since its now a macromedia product we should see some really cool stuff coming up for it.. - Original Message - From: John McCosker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 6:19 AM Subject: RE: How much faster to develop in CF v PHP I have not used PHP, but read about it, (not in depth I must say) http://www.php.net/ It looks similar syntacically to ASP, which I have used to build XML docs from a recordSet then send to another server. I later did the same procedure in CF and it was a breeze. ASP just takes more scripting to do the job. In laymans terms, if you want a screwdriver, do you use the Stanley, or the Phillips. jmc .. .. -Original Message- From: Martin Wright [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:32 AM To: CF-Talk Subject: How much faster to develop in CF v PHP Forgive the rookie questions you gurus ;-) Trying to evaluate which way I should lean in the future. How much faster is CF, in general terms, than PHP - both from a standpoint of learning and developing dynamic sites? - Martin Wright ~~ 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
Contracting menus
Ok maybe because it's early and the coffee hasn't kicked that I can't come up with a solution for this I am making dynamic contracting menus for our school. This is for teachers such as math/science/music/band who have many students, but not all the students in the school. I want them to only see their students. They requested that the students be listed by Homeroom teacher- Like so. They click on the teacher and see the students. Mrs. Smith Tom Jones Leigh Smith Kate Lee Mrs. Jones Rob Reed Julie Jules etc Mr. Andres Ms. Bell I'm having problems filtering my sql queries correctly to get the studentsand either end up with all the students from all the homerooms or only the students listed under the teacher. (ie the math teacher will also have their own homeroom so s/he'll see all the math students listed under his/her name..) I have one query that gets all the homeroom teachers. What I need: All the students associated with the math/science/etc. teacher (hooks by a teacherID) and have them sorted by their homeroom teacher (teacherID) How the database is set up: Teachers are assigned according to subject and have a code. So there is a table that hooks teacherID, StudentID, ClassCode. So a student can have many different teachers ~~ 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: put a recorset in a list (plain text:)
- Original Message - From: Leon Greeff [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 2:17 PM Subject: RE: put a recorset in a list (plain text:) cfset bla=valuelist(query.column). HTH leon what i wanted to do is to put a row of recordset in a list to find values by numbers to use it in a cfloop (and ListGetAt ()). but looking in the archives it see ms the only way is to put the values of the row in an array (fields by fields) or a structure. (i don't use it, i found another solution in my devellopement) anyway if there is an easy solution or a function to put a row of recordset in a list, it's welcome ! loïc ~~ 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: put a recorset in a list (plain text:)
what i wanted to do is to put a row of recordset in a list to find values by numbers to use it in a cfloop (and ListGetAt ()). but looking in the archives it s ee ms the only way is to put the values of the row in an array (fields by fields) or a structure. also in a list with listappend...(fields by fields) (i don't use it, i found another solution in my devellopement) anyway if there is an easy solution or a function to put a row of recordset in a list, it's welcome ! loïc ~~ 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: Raduis Authentication
No, I think things would be much easier if I were, but that is just not the case. The web server is on a Win2k/IIS/CF5 system. In the past we have done some simple authentication with usernames and passwords (encrypted) in a database, but the powers that be are insisting that we authenticate logins to the intranet site with their Radius server that is sitting on the Unix (BSD) side of the network. When I tried the cfx_radauth tag the request was made on the unix side but there must have been something wrong with the request that was sent because their logs said that a username was not supplied. So, I was halfway there but that doesn't count. Kristine C. Hege [EMAIL PROTECTED] Database Applications SpecialistPhone: (802) 463-2111 SoVerNet Inc. Ext: 105 5 Rockingham St. Bellows Falls, VT 05101 -- _ .. . - . PROGRAM (PRO'-gram') [n] A magic spell cast over a |C_.|.:' .:. . computer allowing it to turn one's input into error __||__ `:. O_/ messages.[vi] To engage in a pastime similar to | __--| \/M banging one's head against a wall, but, with fewer `-/..\-' _/ \_ opportunities for reward. `' On Tue, 27 Nov 2001, Lewis Sellers wrote: On Mon, 26 Nov 2001 17:08:47 -0500 (EST), [EMAIL PROTECTED] wrote: I am trying to use CF to authenticate users with their Username and password from the radius server on the Unix side of the network on an Win2K/IIS/CF 5 server. I tried the cfx_radauth tag without success. The sys admin watched the request and said that the username was not being sent. In this initial testing phase I hardcoded in a valid username and password as a proof of concept so there isn't any chance that a variable is not evaluating properly. The tag does make a request to the radius server but just doesn't seem to be passing the right data along. Is there something I could be doing wrong? Is there a better tag out there (I tried the java one, even though it says it has only been tested on linux, with no success)? Any help would be much appreciated. To clear this up, you're wanting something that works on Windows or Linux? Linux right? --min ~~ 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: New Toolkit for Integrating Flash and CF
sounds great, but I get a 404 error when I try to download it at this location: http://devex.allaire.com/developer/gallery/info.cfm?ID=5A13944C-E10A-11D5-83 F700508B94F85Amethod=Download Cheers Will -Original Message- From: Phil Costa [mailto:[EMAIL PROTECTED]] Sent: 26 November 2001 18:48 To: CF-Talk Subject: New Toolkit for Integrating Flash and CF http://www.macromedia.com/software/coldfusion/downloads/connector_kit/ http://www.macromedia.com/software/coldfusion/downloads/connector_kit/ ?xml:namespace prefix = o ns = urn:schemas-microsoft-com:office:office / Macromedia has just released the Macromedia Flash Connector Kit for ColdFusion. Consisting of prebuilt ActionScript objects and ColdFusion custom tags, the Connector Kit provides a framework of reusable services for establishing communication, encoding and decoding data, managing context and tracing errors. Download the Connector Kit and sample applications today and see what you can do with ColdFusion and Flash. http://www.macromedia.com/software/coldfusion/downloads/connector_kit/ http://www.macromedia.com/software/coldfusion/downloads/connector_kit/ Phil ~~ 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: New Toolkit for Integrating Flash and CF
Hi Will, At 02:54 PM 11/27/2001 +, Will Swain wrote: sounds great, but I get a 404 error when I try to download it at this location: Hit back, hit download again. There's a borked server @Allaire/Macromedia that does this from time to time in the DevEx. ..D --- Kill a spammer for Jesus! (...slowly, with a nail-gun.) ~~ 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: How much faster to develop in CF v PHP
It depends on you. Do you know how to program? If you been programming for a while and now getting into web stuff then php would probably be easier for you because it looks and feels like other languages. CF is reportedly easier to learn for novices. Either way you go they are both RAD and do the same stuff for the most part. On Tue, 27 Nov 2001, Martin Wright wrote: Forgive the rookie questions you gurus ;-) Trying to evaluate which way I should lean in the future. How much faster is CF, in general terms, than PHP - both from a standpoint of learning and developing dynamic sites? - Martin Wright ~~ 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: New Toolkit for Integrating Flash and CF
If you're clicking on this link from outlook, it probably breaks the link in half... copy and paste the entire link into a web browser instead of clicking from the e-mail client. Just a guess :/ EC -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 9:54 AM To: CF-Talk Subject: RE: New Toolkit for Integrating Flash and CF sounds great, but I get a 404 error when I try to download it at this location: http://devex.allaire.com/developer/gallery/info.cfm?ID=5A13944C-E10A-11D5-83 F700508B94F85Amethod=Download Cheers Will -Original Message- From: Phil Costa [mailto:[EMAIL PROTECTED]] Sent: 26 November 2001 18:48 To: CF-Talk Subject: New Toolkit for Integrating Flash and CF http://www.macromedia.com/software/coldfusion/downloads/connector_kit/ http://www.macromedia.com/software/coldfusion/downloads/connector_kit/ ?xml:namespace prefix = o ns = urn:schemas-microsoft-com:office:office / Macromedia has just released the Macromedia Flash Connector Kit for ColdFusion. Consisting of prebuilt ActionScript objects and ColdFusion custom tags, the Connector Kit provides a framework of reusable services for establishing communication, encoding and decoding data, managing context and tracing errors. Download the Connector Kit and sample applications today and see what you can do with ColdFusion and Flash. http://www.macromedia.com/software/coldfusion/downloads/connector_kit/ http://www.macromedia.com/software/coldfusion/downloads/connector_kit/ Phil ~~ 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: New Toolkit for Integrating Flash and CF
Thanks David, that was it. Just kept trying and got it after about go 8!! Thanks Will -Original Message- From: David Schmidt [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 15:05 To: CF-Talk Subject: RE: New Toolkit for Integrating Flash and CF Hi Will, At 02:54 PM 11/27/2001 +, Will Swain wrote: sounds great, but I get a 404 error when I try to download it at this location: Hit back, hit download again. There's a borked server @Allaire/Macromedia that does this from time to time in the DevEx. .D --- Kill a spammer for Jesus! (...slowly, with a nail-gun.) ~~ 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: SELECT MAX(ID), Access SQL Server - confused!
bottom line is that it is a pain in the keester to make a DB portable with identity fields as a PK That hasn't been my experience. Not only does every database I've used in the past several years support an Auto Number/Identity field, but most provide a way to override the Identity field to allow insertion of user-defined identities (e.g. importing data from another database). Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 ~~ 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: New Toolkit for Integrating Flash and CF
It worked yesterday but it's definitely not working today! Howie - Original Message - From: Will Swain [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 9:54 AM Subject: RE: New Toolkit for Integrating Flash and CF sounds great, but I get a 404 error when I try to download it at this location: http://devex.allaire.com/developer/gallery/info.cfm?ID=5A13944C-E10A-11D5-83 F700508B94F85Amethod=Download Cheers Will ~~ 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: Wierd Session Timeouts/Linux-CF5 Restarting constantly
First: a little background I have a client who very recently moved an app from Win2k/CF4.5 to Linux/CF5 (both using the same MSSQL db.) With probably only modest testing, he decided it was working and went live with the Linux version. (fyi--- I just inherited this app written by someone else so I know very little about the code) Now: the problem- Yesterday I get reports that people's sessions are timing out every few minutes in spite of what the CFAdmin/CFApplication settings are for session timeouts. I track the session timeout issue down to the point where it's clear that the problem is that the CFServer is restarting every few minutes. Here are some server log entries. Information,1024,11/26/01,18:26:23,,The ColdFusion Application Server was stopped. Information,1024,11/26/01,18:29:17,,The ColdFusion Application Server started. Fatal,7175,11/26/01,18:30:02,,Caught a fatal signal (11) - Aborting Information,1024,11/26/01,18:30:04,,The ColdFusion Application Server started. We have TONS of these fatal signal(11) / server restarting messages every few minutes. Then I take a look at the scheduled jobs... look at these log entries: Information,4101,11/26/01,18:30:02,,Scheduled task 'Task1' for URL request 'http://xxx.net/event1/event.cfm' initiated. Information,5126,11/26/01,18:30:02,,Scheduled task 'Task2' for URL request 'http://xxx.net/event2/expire/index.cfm' initiated. Error,7175,11/26/01,18:30:02,,Status code for task: 'Task1' is '500 Internal Server Error' Information,4101,11/26/01,18:30:02,,Scheduled task 'Task1' for URL request 'http://xxx.net/event1/event.cfm' completed. Information,5126,11/26/01,18:30:02,,Scheduled task 'Task2' for URL request 'http://xxx.net/event2/expire/index.cfm' completed. It does seem to me that there's something about these scheduled jobs that's crashing the server. So my question to the group is thus: a) does anyone have experience with the CF5/Linux scheduler. good or bad to report b) could we bypass the scheduler entirely and use CRON to launch the batch jobs (if yes... plz supply specific details on how to get that to work. thx) tia, Tobe Goldfinger At 09:09 AM 11/27/2001 , you wrote: Lonny, Hi Tobe. I have taken the liberty of also sending my reply to the list because I did not follow-up there as to our corrective action(s). You are the second person to have contacted me outside the list with a similar problem ... did you ever resolve this problem Yes, we did. I have a client who switched to CF5 and now has the exact same problem The problem in our case was a scheduled event in which the called template was non-existant. The CF Scheduler appears to be even touchier in this regard than it was in CF4.5. We were able to track it down because the application in question was dying every few minutes (3 minutes in Test environment for example). Sure enough we had an e-mail message cannon that is fired every few minutes. If this is not helpful, let's move the discussion to the list. Also, include snippets from the server logs. At first he was telling me that his session vars are timing out prematurely, but I see that his server logs have the same fatal signal(11) crap you mention below Lonny Eckert Mi Services Group [EMAIL PROTECTED] (610) 230-2500 x147 ~~ 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: SELECT MAX(ID), Access SQL Server - confused!
H this is a hotly debated item always... blame portability and purists mostly for the reoccurrence I would personally take the approach to: A. Tie everything into one big transaction block... meaning... fetch existing ID highmark... create a lock on the next place (if possible)... write the data out... check for the validity of such... unlock things... B. I would use the native autonumber and id highmark fetching mechanisms built into your flavor of database. C. I wouldn't use big long unique strings... numbers do fine, are much shorter to sort on and involve less computation... shorter is better... Remember, all this fetch and math and sort and locking eats up transactional time... This means slower response to the client and more overhead on the server... Just a point of issue here, the database engines all get locking, unique IDs, etc. even under high-load the database would shuffle things and give you the right space/prevent two users from getting the same unique ID... can anyone tell me when and with what database this didn't hold true? It is based on this I say let the database do the work it knows best how to do Tell me if you think this is wrong... On the portability note... when migrating you might want to roll your identities into the new database and a non-identity field / non autonumber to preserve existing data and relationships... after you stop the bleeding of migration, assess the ease to enable it or build a secondary/shielded ID or ID to ID relationship mechanism... Nothing like migrating a few million records and having the field values not preserved... just did that from a SQL Server over to MySQL... glad we wasted hours on multiple imports.. couldn't get the IDs to pickup where the last on left off and dropped a bunch of date values -paris lundis -Original Message- From: Gyrus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 07:41 To: CF-Talk Subject: Re: SELECT MAX(ID), Access SQL Server - confused! Why not carry on using AUTONUMBER, and convert that field to IDENTITY if upsizing? Ordinarily I'd say that was what you should do (see below) The trouble comes in when you have to pull the number out again, You mean if you're doing SELECT MAX(ID) *after* an INSERT, to get the ID that's just been created, instead of creating a new ID *before* the INSERT for 'manual' numbering of the PK? Couldn't you use the loop/cftry/ cftransaction combo that Steve Nelson suggests for creating a new ID? Must say I'm totally baffled. I've still found no solid reason why people even bother concocting slick and wonderful 'workarounds' for the ID-creation 'problem'. Why not use the DB's autonumber/identity feature, and use the best method available (loop/try/transaction, or @@identity I guess) for grabbing a newly created ID? There's a lot of back-and-forth in this thread, some really useful info, but no overall idea of where we stand with this - pretty fundamental! - DB issue. Anyone who could sum it all up - or just post a link to such a thing :) - would get my gratitude for one! - Gyrus ~~ 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
CFHTTP and FQDN
Searching through the Allaire forums, we see that we're not the only ones experiencing a problem with ColdFusion 5 in respect to CFHTTP and FQDNs. Specifically, a CFHTTP request to the same domain that is making the request fails. The error message is the ubiquitous CFHTTP Connection Failure. I've included the debugging information from CFDUMP below. Substituting the IP address for the domain works. In addition, substituting a domain other than the one making the request but one still pointed at the same IP address works. It would seem that ColdFusion parses a CFHTTP request for its own domain differently than in any other scenario. Perhaps this is for performance reasons? Who knows but it is clear there is a problem. Has anyone come across a real fix or been able to narrow down the cause of problem? We're experiencing the problem on Windows 2000 running IIS 5 and ColdFusion Server 5 Professional Edition, though many of the people reporting the problem in the Allaire forums seem to be running Apache on Linux. Here is one of the discussions on the Allaire forums: http://forums.allaire.com/coldfusion/messageview.cfm?catid=7threadid=214174 highlight_key=ykeyword1=cfhttpkeyword2=connection%20failure Thanks in advance for any insight. Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 == CFDUMP Output == FILECONTENT connection failure HEADER HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.0 Date: Tue, 27 Nov 2001 15:38:49 GMT Content-Type: text/html Content-Length: 111 MIMETYPE text/html RESPONSEHEADER CONTENT-LENGTH 111 CONTENT-TYPE text/html DATE Tue, 27 Nov 2001 15:38:49 GMT EXPLANATION Object HTTP_VERSION HTTP/1.1 SERVER Microsoft-IIS/5.0 STATUS_CODE 404 STATUSCODE 404 Not Found ~~ 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: Contracting menus
add a class code for homeroom. treat it like a class. christopher olive, cto, vp of web development cresco technologies, inc 410.825.0383 http://www.crescotech.com -Original Message- From: Janine Jakim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 9:26 AM To: CF-Talk Subject: Contracting menus Ok maybe because it's early and the coffee hasn't kicked that I can't come up with a solution for this I am making dynamic contracting menus for our school. This is for teachers such as math/science/music/band who have many students, but not all the students in the school. I want them to only see their students. They requested that the students be listed by Homeroom teacher- Like so. They click on the teacher and see the students. Mrs. Smith Tom Jones Leigh Smith Kate Lee Mrs. Jones Rob Reed Julie Jules etc Mr. Andres Ms. Bell I'm having problems filtering my sql queries correctly to get the studentsand either end up with all the students from all the homerooms or only the students listed under the teacher. (ie the math teacher will also have their own homeroom so s/he'll see all the math students listed under his/her name..) I have one query that gets all the homeroom teachers. What I need: All the students associated with the math/science/etc. teacher (hooks by a teacherID) and have them sorted by their homeroom teacher (teacherID) How the database is set up: Teachers are assigned according to subject and have a code. So there is a table that hooks teacherID, StudentID, ClassCode. So a student can have many different teachers ~~ 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: SELECT MAX(ID), Access SQL Server - confused!
A developer who handled converting my Access DB to SQL Server for a client told me I had to rewrite all my INSERT queries to use SELECT MAX(ID), because there was no equivalent to AUTONUMBER in SQL Server. Eh? That's an indication that it's time to: a) buy your developer an introductory SQL Server book, or b) find a new developer, or c) learn how to do it yourself (fortunately, it isn't that hard) My problem is, I want to create an Access-based app template where the SQL code is as portable as possible between DB systems - specifically, Access and SQL Server. Why not carry on using AUTONUMBER, and convert that field to IDENTITY if upsizing? Why bother having a slightly risky 2-step transaction (or slightly performance-hurting transaction if isolation=serializable) for Access, only to have to switch all this to a stored procedure or trigger when upsizing to SQL Server? If you're only dealing with Access and SQL Server, the behavior of autonumber columns in Access is very similar to that of identity columns in SQL Server, so there's no reason not to use them. However, your original question was about ensuring that you get the appropriate key after inserting a record. Here's where your solutions might diverge - you might find yourself doing it one way with Access and another way with SQL Server, while still using the same autonumber or identity field with both. Why do Fusebox advise using the MAX_ID tag for and the 2-step INSERT for portability reasons - is this only when converting to non-MS stuff like Oracle or Sybase? Steve's documentation for the tag says: Because autonumber datatypes are not easily transferable from database to database. Yes, Access and SQL Server handle surrogate keys relatively similarly - so does Sybase. Oracle, on the other hand, uses sequences, which are defined a bit differently. In any case, the difficulty may lie when porting databases that already contain data from one platform to another - this can be a bit more difficult when using database-defined surrogate keys. And of course, even if the key fields perform the same way, as they do with Access and SQL Server, the code to take advantage of their performance may very well be platform-specific, as you've seen. So, I would guess that Fusebox recommends their approach because Fusebox values portability over performance. On the other hand, I personally generally value performance over portability, and so I'd recommend the platform-specific code approach, although it may require a bit more development. Neither choice is right, in the sense that it's always the appropriate choice. That's up to you, given your situation. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: (202) 797-5496 fax: (202) 797-5444 ~~ 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: Contracting menus
It does have a class code also. So to get a homeroom class you need teacherID and HomeCode=Home I'm just confused on how to group the students in their homeroom teacher while being accessed by other teacher -Original Message- From: Christopher Olive [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:52 AM To: CF-Talk Subject: RE: Contracting menus add a class code for homeroom. treat it like a class. christopher olive, cto, vp of web development cresco technologies, inc 410.825.0383 http://www.crescotech.com -Original Message- From: Janine Jakim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 9:26 AM To: CF-Talk Subject: Contracting menus Ok maybe because it's early and the coffee hasn't kicked that I can't come up with a solution for this I am making dynamic contracting menus for our school. This is for teachers such as math/science/music/band who have many students, but not all the students in the school. I want them to only see their students. They requested that the students be listed by Homeroom teacher- Like so. They click on the teacher and see the students. Mrs. Smith Tom Jones Leigh Smith Kate Lee Mrs. Jones Rob Reed Julie Jules etc Mr. Andres Ms. Bell I'm having problems filtering my sql queries correctly to get the studentsand either end up with all the students from all the homerooms or only the students listed under the teacher. (ie the math teacher will also have their own homeroom so s/he'll see all the math students listed under his/her name..) I have one query that gets all the homeroom teachers. What I need: All the students associated with the math/science/etc. teacher (hooks by a teacherID) and have them sorted by their homeroom teacher (teacherID) How the database is set up: Teachers are assigned according to subject and have a code. So there is a table that hooks teacherID, StudentID, ClassCode. So a student can have many different teachers ~~ 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: Copying Structures Exam Question - is this right?
Not quite correct, if you make a structure such as ~~ 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: How much faster to develop in CF v PHP
Trying to evaluate which way I should lean in the future. How much faster is CF, in general terms, than PHP - both from a standpoint of learning and developing dynamic sites? CF is easier to learn and I think its faster to develop in it as well. The primary benefits of CF, in terms of building dynamic sites, are the abstracted database access, which PHP only offers via a third-party class, and direct access to a recordset. PHP also doesn't offer the same type of specific variable scoping that CF does. And, as has been mentioned, it uses a model similar to JSP and ASP and that can, at times, make coding complicated HTML pages a bit more of a chore than CF. ~~ 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
Welcome to COM
Hello All, I'm new to the land of COM objects. We have a new client/server app and I need to use the capsules (*.DLL's)provided by the app development company to do ANY writes or updates. I have been unable to make some of the objects works. Can anyone recommend a good CF book or site so I can investigate further? tia, Will ~~ 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
Routing restrictions on exchange server
I am trying to set the routing restrictions in the connections tab on Exchange Server 5.5 SP3. This would be to allow our websites and IIS Server to use our Exchange Server to route e-mail via the website, also to stop spamming we that have been experiencing. On our developemnt server emails from all websites can be sent successfully, but externally, they are not recieved. The mail log all have the same error, Failed to send the spooled mail file, C:\CFUSION\Mail\spool\23B.cfmail. SMTP server replied Relaying is prohibited . Its obviously to do with exchange, any experience on this would be great. Thanx jmc .. .. ~~ 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
Easier way to have a drop down selected
Ok I have this drop down box that lists every country out there, the problem is after someone has selected it, I want the admin side to show which one has been selected, while also showing the rest of them. I have done this but doing a huch cfcase statement that goes from 1 - whatever and if it is a vertain one selected it sets a number, then the select box has a cfif in there to see if that number has been turned on. Does anyone have a simple solution, or is my solution the only way there is. Robert Everland III Dixon Ticonderoga ~~ 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
OT Quick JS ?
I have the following script in which I am validating a CC# but it always pops up the prompt even if the first digit is 4, can someone see my error? var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' first_number != 4){ alert(Invalid Card Number); return false(); } CF_SIGNATURE NAME=Douglas L. Brown EMAIL=[EMAIL PROTECTED] PHONE=714.538.6611 WEB=http://www.carnivorepc.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: CFHTTP and FQDN
Under CF 4.5, I had this problem once when we installed a couple new webservers and the one internal cfhttp command generated continuous connection failures. It turned out to be an access permissions issue with the account that CF was running in. -Original Message- From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:16 AM To: CF-Talk Subject: CFHTTP and FQDN Searching through the Allaire forums, we see that we're not the only ones experiencing a problem with ColdFusion 5 in respect to CFHTTP and FQDNs. Specifically, a CFHTTP request to the same domain that is making the request fails. The error message is the ubiquitous CFHTTP Connection Failure. I've included the debugging information from CFDUMP below. Substituting the IP address for the domain works. In addition, substituting a domain other than the one making the request but one still pointed at the same IP address works. It would seem that ColdFusion parses a CFHTTP request for its own domain differently than in any other scenario. Perhaps this is for performance reasons? Who knows but it is clear there is a problem. Has anyone come across a real fix or been able to narrow down the cause of problem? We're experiencing the problem on Windows 2000 running IIS 5 and ColdFusion Server 5 Professional Edition, though many of the people reporting the problem in the Allaire forums seem to be running Apache on Linux. ~~ 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: Routing restrictions on exchange server
A relay is a mail transport situation where neither the sender nor the receiver is a user in the local domain. You may need to authorize relaying in Exchange for CF. Or, you need to change the domain settings for the account under which CF is running. -Original Message- From: John McCosker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 12:14 PM To: CF-Talk Subject: Routing restrictions on exchange server I am trying to set the routing restrictions in the connections tab on Exchange Server 5.5 SP3. This would be to allow our websites and IIS Server to use our Exchange Server to route e-mail via the website, also to stop spamming we that have been experiencing. On our developemnt server emails from all websites can be sent successfully, but externally, they are not recieved. The mail log all have the same error, Failed to send the spooled mail file, C:\CFUSION\Mail\spool\23B.cfmail. SMTP server replied Relaying is prohibited . Its obviously to do with exchange, any experience on this would be great. ~~ 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: OT Quick JS ?
I think if you put quotes around the 4 as in: if ( type == 'VISA' first_number != 4) Duane -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:07 PM To: CF-Talk Subject: OT Quick JS ? I have the following script in which I am validating a CC# but it always pops up the prompt even if the first digit is 4, can someone see my error? var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' first_number != 4){ alert(Invalid Card Number); return false(); } CF_SIGNATURE NAME=Douglas L. Brown EMAIL=[EMAIL PROTECTED] PHONE=714.538.6611 WEB=http://www.carnivorepc.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
Searching a Array
Help I am new with array's Heres what I would like to do. I would like to search the following array for the value TS200R, and return what info is associated with this product item number. I have found very few examples of how to manipulate array's. Anybody's help would be appreciated. Thanks Jason *** Begin of CF CODE *** !--- Setups a new Array for Collapsible Blades --- cfset ColBlade= ArrayNew(2) !--- Product 1 --- cfset ColBlade[1][1] = TS200 cfset ColBlade[1][2] = Helium Sm Silver Alum/No Holes cfset ColBlade[1][3] = 49.99 !--- Product 2 --- cfset ColBlade[2][1] = TS205 cfset ColBlade[2][2] = Helium Lg. Silver Alum/No Holes cfset ColBlade[2][3] = 55.99 !--- Product 3 --- cfset ColBlade[3][1] = TS200B cfset ColBlade[3][2] = Neon Sm. Blue Alum/No Holes cfset ColBlade[3][3] = 49.99 !--- Product 4 --- cfset ColBlade[4][1] = TS205B cfset ColBlade[4][2] = Neon Lg. Blue Alum/No Holes cfset ColBlade[4][3] = 55.99 !--- Product 5 --- cfset ColBlade[5][1] = TS200R cfset ColBlade[5][2] = Neon Sm. Red Alum/No Holes cfset ColBlade[5][3] = 49.99 *** End of CF CODE *** ~~ 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: OT Quick JS ?
The problem is that substring returns a string value and your != comparison is against an integer. There are two ways to fix this. 1.) Use the parseInt() function on the variable: parseInt(first_number) != 4 or 2.) Turn the integer 4 in to the character 4: first_number != '4' HTH Nate -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:07 PM To: CF-Talk Subject: OT Quick JS ? I have the following script in which I am validating a CC# but it always pops up the prompt even if the first digit is 4, can someone see my error? var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' first_number != 4){ alert(Invalid Card Number); return false(); } ~~ 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 alternative for Linux?
How dare you suggest VI or that pitiful excuse for an editor, PICO. Isn't it obvious that you are looking for EMACS. On a more serious note, may I ask why you are actually using LINUX as your desktop/wokstation computer? I agree that running CFServer on Solaris or LINUX yeilds better performance, but I don't see any benefits of developing in a LINUX IDE. Perhaps you can fill me in. Won -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 3:15 PM To: CF-Talk Subject: Re: Studio alternative for Linux? visual slick edit On Wed, 14 Nov 2001, BILLY CRAVENS wrote: Quanta is decent as well - Original Message - From: Jesse Noller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 1:22 PM Subject: RE: Studio alternative for Linux? http://www.jedit.org is nice. VIM for windows has a CFML layer http://lanzarotta.tripod.com/vim/syntax/cf.vim.zip Jesse Noller Linux Fiend Macromedia Server Development [EMAIL PROTECTED] Give a man a fish, and he'll pester you to keep giving him fish. Teach a man to fish, and he'll pester you for better fishing theory. --Me, 2001 -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 2:15 PM To: CF-Talk Subject: Studio alternative for Linux? Well I went ahead and installed Linux (Mandrake) for the first time in 8 years this past weekend. What a difference from the Slackware and floppies... Does anyone have any good reccomendations for a code editor for Linux that has tag insight, ftp, and some of the other nicer features of Studio? ...and if anyone says VI I'm going to scream :) jon ~~ 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: Easier way to have a drop down selected
Robert, Hopefully I am understanding you correctly. After a user has submitted a form with the states selected you want an admin script to highlight which have been selected and which haven't. Is this correct? If so how are you storing the selected value list? The way I usually save a mutli-select value list is as a varchar field in some database table. You can then loop through your country list and check to see if the current country id is in the value list from the other table. If it is set the option to selected Example: cfquery name=Options SELECT IDList FROM SomeTable /cfquery cfquery name=Countries SELECT ID,CountryName FROM CountriesTable /cfquery cfloop query=Countries cfoutput option value=#Countires.ID# cfif #ListContains(Options.IDList, #Countries.ID#)#selected/cfif#CountryName# /cfoutput /cfloop Hopefully this is what you were asking about. If not let me know. Brian Ferrigno -Original Message- From: Robert Everland [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 12:44 PM To: CF-Talk Subject: Easier way to have a drop down selected Ok I have this drop down box that lists every country out there, the problem is after someone has selected it, I want the admin side to show which one has been selected, while also showing the rest of them. I have done this but doing a huch cfcase statement that goes from 1 - whatever and if it is a vertain one selected it sets a number, then the select box has a cfif in there to see if that number has been turned on. Does anyone have a simple solution, or is my solution the only way there is. Robert Everland III Dixon Ticonderoga ~~ 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: OT Quick JS ?
I am not sure my last comment got sent. The VISA validation works fine by itself, and I believe the problem to be that it is looking at the rest of the script for the CC validation. I placed it below for some insight var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false(); } var first_two_numbers = number.substring(0,2); if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 1* parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false(); } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || 1* parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false(); } var first_four_numbers = number.substring(0,4); if(type == 'DISC' 1* parseInt(first_four_numbers) !== 6011){ alert(Invalid Card Number); return false Doug - Original Message - From: Duane Boudreau [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 10:12 AM Subject: RE: OT Quick JS ? I think if you put quotes around the 4 as in: if ( type == 'VISA' first_number != 4) Duane -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:07 PM To: CF-Talk Subject: OT Quick JS ? I have the following script in which I am validating a CC# but it always pops up the prompt even if the first digit is 4, can someone see my error? var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' first_number != 4){ alert(Invalid Card Number); return false(); } CF_SIGNATURE NAME=Douglas L. Brown EMAIL=[EMAIL PROTECTED] PHONE=714.538.6611 WEB=http://www.carnivorepc.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: OT Quick JS ?
Then your problem would be in the last check where your equality comparison is '!=='. I'm not sure of the pattern for Discovery cards, but it's either != or == and not !==. HTH, Nate -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:34 PM To: CF-Talk Subject: Re: OT Quick JS ? I am not sure my last comment got sent. The VISA validation works fine by itself, and I believe the problem to be that it is looking at the rest of the script for the CC validation. I placed it below for some insight var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false(); } var first_two_numbers = number.substring(0,2); if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 1* parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false(); } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || 1* parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false(); } var first_four_numbers = number.substring(0,4); if(type == 'DISC' 1* parseInt(first_four_numbers) !== 6011){ alert(Invalid Card Number); return false Doug - Original Message - From: Duane Boudreau [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 10:12 AM Subject: RE: OT Quick JS ? I think if you put quotes around the 4 as in: if ( type == 'VISA' first_number != 4) Duane -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:07 PM To: CF-Talk Subject: OT Quick JS ? I have the following script in which I am validating a CC# but it always pops up the prompt even if the first digit is 4, can someone see my error? var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' first_number != 4){ alert(Invalid Card Number); return false(); } CF_SIGNATURE NAME=Douglas L. Brown EMAIL=[EMAIL PROTECTED] PHONE=714.538.6611 WEB=http://www.carnivorepc.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: OT Quick JS ?
Well here is what I did. As per Nate's suggestion I put the !== to a != and still it alerts that the value is not correct. As per Dave suggestion I took off the () after the return false and it submit the page and does a write of the word false Im frustrated, this should be easy, but is proving diffucult Here is the updated code var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); var first_two_numbers = number.substring(0,2); var first_four_numbers = number.substring(0,4); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false; } if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false; } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false; } if(type == 'DISC' parseInt(first_four_numbers) != 6011){ alert(Invalid Card Number); return false; } Doug - Original Message - From: Dave Carabetta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 10:30 AM Subject: Re: OT Quick JS ? I don't know if this will solve your issue, but I noticed that you have return false(); instead of return false; (without the parens). With the parens, you are asking JS to return a function called false, whereas without them you are returning a value of false. Just a guess though... Original Message Follows From: Douglas L. Brown [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: OT Quick JS ? Date: Tue, 27 Nov 2001 10:34:14 -0800 I am not sure my last comment got sent. The VISA validation works fine by itself, and I believe the problem to be that it is looking at the rest of the script for the CC validation. I placed it below for some insight var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false(); } var first_two_numbers = number.substring(0,2); if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 1* parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false(); } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || 1* parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false(); } var first_four_numbers = number.substring(0,4); if(type == 'DISC' 1* parseInt(first_four_numbers) !== 6011){ alert(Invalid Card Number); return false Doug - Original Message - From: Duane Boudreau [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 10:12 AM Subject: RE: OT Quick JS ? I think if you put quotes around the 4 as in: if ( type == 'VISA' first_number != 4) Duane -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:07 PM To: CF-Talk Subject: OT Quick JS ? I have the following script in which I am validating a CC# but it always pops up the prompt even if the first digit is 4, can someone see my error? var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' first_number != 4){ alert(Invalid Card Number); return false(); } CF_SIGNATURE NAME=Douglas L. Brown EMAIL=[EMAIL PROTECTED] PHONE=714.538.6611 WEB=http://www.carnivorepc.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: OT Quick JS ?
It might help you to debug if you were to label each of the error messages differently so that you know which one is being triggered. Another thing you might want to check is the order of operations on your comparisons for Mastercard and American Express. I think that by adding a few parens around the statements would make it clearer. For instance x y || z should be x ( y || z ). Or at least that's what I think you're trying to validate against. ? Nate -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:49 PM To: CF-Talk Subject: Re: OT Quick JS ? Well here is what I did. As per Nate's suggestion I put the !== to a != and still it alerts that the value is not correct. As per Dave suggestion I took off the () after the return false and it submit the page and does a write of the word false Im frustrated, this should be easy, but is proving diffucult Here is the updated code var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); var first_two_numbers = number.substring(0,2); var first_four_numbers = number.substring(0,4); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false; } if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false; } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false; } if(type == 'DISC' parseInt(first_four_numbers) != 6011){ alert(Invalid Card Number); return false; } Doug ~~ 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: OT Quick JS ?
I'm assuming that you are calling this function in the onSubmit action of the form tag? If so, are you typing onSubmit=return CCValidate(this);? I don't know the name of the function, so obviously replace CCValidate with the function name. I understand your frustration, as I've been there many times with JS, but I find it's the little nuances of the language that tend to trip me up. That's why I'm asking how you're calling the function. Again, I'm assuming it's an onSubmit action. Is this true? If so, is it typed like I have it above? What happens? Original Message Follows From: Douglas L. Brown [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: OT Quick JS ? Date: Tue, 27 Nov 2001 10:49:03 -0800 Well here is what I did. As per Nate's suggestion I put the !== to a != and still it alerts that the value is not correct. As per Dave suggestion I took off the () after the return false and it submit the page and does a write of the word false Im frustrated, this should be easy, but is proving diffucult Here is the updated code var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); var first_two_numbers = number.substring(0,2); var first_four_numbers = number.substring(0,4); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false; } if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false; } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false; } if(type == 'DISC' parseInt(first_four_numbers) != 6011){ alert(Invalid Card Number); return false; } Doug - Original Message - From: Dave Carabetta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 10:30 AM Subject: Re: OT Quick JS ? I don't know if this will solve your issue, but I noticed that you have return false(); instead of return false; (without the parens). With the parens, you are asking JS to return a function called false, whereas without them you are returning a value of false. Just a guess though... Original Message Follows From: Douglas L. Brown [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: OT Quick JS ? Date: Tue, 27 Nov 2001 10:34:14 -0800 I am not sure my last comment got sent. The VISA validation works fine by itself, and I believe the problem to be that it is looking at the rest of the script for the CC validation. I placed it below for some insight var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false(); } var first_two_numbers = number.substring(0,2); if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 1* parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false(); } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || 1* parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false(); } var first_four_numbers = number.substring(0,4); if(type == 'DISC' 1* parseInt(first_four_numbers) !== 6011){ alert(Invalid Card Number); return false Doug - Original Message - From: Duane Boudreau [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 10:12 AM Subject: RE: OT Quick JS ? I think if you put quotes around the 4 as in: if ( type == 'VISA' first_number != 4) Duane -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:07 PM To: CF-Talk Subject: OT Quick JS ? I have the following script in which I am validating a CC# but it always pops up the prompt even if the first digit is 4, can someone see my error? var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' first_number != 4){ alert(Invalid Card Number); return false(); } CF_SIGNATURE NAME=Douglas L. Brown EMAIL=[EMAIL PROTECTED] PHONE=714.538.6611 WEB=http://www.carnivorepc.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:
RE: OT Quick JS ?
I am not for certain here, but I believe you want to move your return false to the very last statement only. Otherwise you are returning false and not checking the rest of the statements. Larry Juncker Senior Cold Fusion Developer Heartland Communications Group, Inc. [EMAIL PROTECTED] -Original Message- From: Nate Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 12:47 PM To: CF-Talk Subject: RE: OT Quick JS ? It might help you to debug if you were to label each of the error messages differently so that you know which one is being triggered. Another thing you might want to check is the order of operations on your comparisons for Mastercard and American Express. I think that by adding a few parens around the statements would make it clearer. For instance x y || z should be x ( y || z ). Or at least that's what I think you're trying to validate against. ? Nate -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:49 PM To: CF-Talk Subject: Re: OT Quick JS ? Well here is what I did. As per Nate's suggestion I put the !== to a != and still it alerts that the value is not correct. As per Dave suggestion I took off the () after the return false and it submit the page and does a write of the word false Im frustrated, this should be easy, but is proving diffucult Here is the updated code var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); var first_two_numbers = number.substring(0,2); var first_four_numbers = number.substring(0,4); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false; } if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false; } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false; } if(type == 'DISC' parseInt(first_four_numbers) != 6011){ alert(Invalid Card Number); return false; } Doug ~~ 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: OT Quick JS ?
I have it on a href of a button a href=javascript:validate_form() - Original Message - From: Dave Carabetta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 10:52 AM Subject: Re: OT Quick JS ? I'm assuming that you are calling this function in the onSubmit action of the form tag? If so, are you typing onSubmit=return CCValidate(this);? I don't know the name of the function, so obviously replace CCValidate with the function name. I understand your frustration, as I've been there many times with JS, but I find it's the little nuances of the language that tend to trip me up. That's why I'm asking how you're calling the function. Again, I'm assuming it's an onSubmit action. Is this true? If so, is it typed like I have it above? What happens? Original Message Follows From: Douglas L. Brown [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: OT Quick JS ? Date: Tue, 27 Nov 2001 10:49:03 -0800 Well here is what I did. As per Nate's suggestion I put the !== to a != and still it alerts that the value is not correct. As per Dave suggestion I took off the () after the return false and it submit the page and does a write of the word false Im frustrated, this should be easy, but is proving diffucult Here is the updated code var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); var first_two_numbers = number.substring(0,2); var first_four_numbers = number.substring(0,4); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false; } if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false; } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false; } if(type == 'DISC' parseInt(first_four_numbers) != 6011){ alert(Invalid Card Number); return false; } Doug - Original Message - From: Dave Carabetta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 10:30 AM Subject: Re: OT Quick JS ? I don't know if this will solve your issue, but I noticed that you have return false(); instead of return false; (without the parens). With the parens, you are asking JS to return a function called false, whereas without them you are returning a value of false. Just a guess though... Original Message Follows From: Douglas L. Brown [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: OT Quick JS ? Date: Tue, 27 Nov 2001 10:34:14 -0800 I am not sure my last comment got sent. The VISA validation works fine by itself, and I believe the problem to be that it is looking at the rest of the script for the CC validation. I placed it below for some insight var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' parseInt(first_number) != 4){ alert(Invalid Card Number); return false(); } var first_two_numbers = number.substring(0,2); if ( type == 'MAST' 1* parseInt(first_two_numbers) 50 1* parseInt(first_two_numbers) 56 ){ alert(Invalid Card Number); return false(); } if (type == 'AMEX' 1* parseInt(first_two_numbers) != 34 || 1* parseInt(first_two_numbers) != 37){ alert(Invalid Card Number); return false(); } var first_four_numbers = number.substring(0,4); if(type == 'DISC' 1* parseInt(first_four_numbers) !== 6011){ alert(Invalid Card Number); return false Doug - Original Message - From: Duane Boudreau [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 10:12 AM Subject: RE: OT Quick JS ? I think if you put quotes around the 4 as in: if ( type == 'VISA' first_number != 4) Duane -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:07 PM To: CF-Talk Subject: OT Quick JS ? I have the following script in which I am validating a CC# but it always pops up the prompt even if the first digit is 4, can someone see my error? var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' first_number != 4){ alert(Invalid Card Number); return false(); } CF_SIGNATURE NAME=Douglas L. Brown EMAIL=[EMAIL PROTECTED]
CF Administrator Scheduled Task Not Running
Hi, I'm trying to run a scheduled task using CF Administrator's Scheduled Tasks. The url I am requesting is password protected, and the username and password I specified in the task work fine when I access the page through IE, but the file I have the task log to says Access Denied. I am using CF 4.5 on Windows NT. What can I do to fix this? I need a solution ASAP. Thanks in advance Joe Potenza ~~ 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: CF Administrator Scheduled Task Not Running
I assume that when you say that it's password authentication, this is web server/OS authentication, not CF/database? - Original Message - From: Joseph Potenza [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 12:57 PM Subject: CF Administrator Scheduled Task Not Running Hi, I'm trying to run a scheduled task using CF Administrator's Scheduled Tasks. The url I am requesting is password protected, and the username and password I specified in the task work fine when I access the page through IE, but the file I have the task log to says Access Denied. I am using CF 4.5 on Windows NT. What can I do to fix this? I need a solution ASAP. Thanks in advance Joe Potenza ~~ 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 Administrator Scheduled Task Not Running
Yes it is NT authentication -Original Message- From: BILLY CRAVENS [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:50 PM To: CF-Talk Subject: Re: CF Administrator Scheduled Task Not Running I assume that when you say that it's password authentication, this is web server/OS authentication, not CF/database? - Original Message - From: Joseph Potenza [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 12:57 PM Subject: CF Administrator Scheduled Task Not Running Hi, I'm trying to run a scheduled task using CF Administrator's Scheduled Tasks. The url I am requesting is password protected, and the username and password I specified in the task work fine when I access the page through IE, but the file I have the task log to says Access Denied. I am using CF 4.5 on Windows NT. What can I do to fix this? I need a solution ASAP. Thanks in advance Joe Potenza ~~ 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: Contracting menus
Janine, Err SELECT child.childid, child.childname, child.homeroomid, teacher.teachername FROM teacher INNER JOIN (class INNER JOIN (child INNER JOIN class_child_link ON child.childid = class_child_link.childid) ON class.classid = class_child_link.classid) ON teacher.teacherid = class.classteacherid ORDER BY teacher.teachername,child.homeroomid; where tables are CHILD childid childname homeroomid TEACHER teacherid teachername CLASS ClassID ClassTeacherID CLASS_CHILD_LINK ClassID ChildID Does this look anything like the tables you have?? I have to be honest and say for speed I cheated and set up the relationships between the tables in access2000 and then generated a query using the relationships to return all the classes sorted first by classteacherid and then by homeroomid. But the basic gist is that you actually have several nested queries there, linking the teacher to a class and the class to the children using a link table. The link table contains all the classes that a child attends. The query above returns a query that looks like this : childid childnamehomeroom teachername 4 Rob Reed 1Mrs. Jones 5 Julie Jules4Mrs. Jones 2 Leigh Smith 1Mrs. Smith 1 Tom Jones 1Mrs. Smith 3 Kate Lee 2 Mrs. Smith You would then do something like... cfoutput query=YourQuery group=teachername #teachername# cfoutput nbsp;#childname# /cfoutput /cfoutput giving you Mrs Jones Rob Reed Julie Jules Mrs Smith Leigh Smith Tom Jones KateLee Sorry that this is all a bit scary (particularly the INNER JOINS bit), but I hope I've explained enough for you to get the general idea and be able to look at what I've done and work it round to what you have. Regards Stephen - Original Message - From: Janine Jakim [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 4:54 PM Subject: RE: Contracting menus It does have a class code also. So to get a homeroom class you need teacherID and HomeCode=Home I'm just confused on how to group the students in their homeroom teacher while being accessed by other teacher -Original Message- From: Christopher Olive [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:52 AM To: CF-Talk Subject: RE: Contracting menus add a class code for homeroom. treat it like a class. christopher olive, cto, vp of web development cresco technologies, inc 410.825.0383 http://www.crescotech.com -Original Message- From: Janine Jakim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 9:26 AM To: CF-Talk Subject: Contracting menus Ok maybe because it's early and the coffee hasn't kicked that I can't come up with a solution for this I am making dynamic contracting menus for our school. This is for teachers such as math/science/music/band who have many students, but not all the students in the school. I want them to only see their students. They requested that the students be listed by Homeroom teacher- Like so. They click on the teacher and see the students. Mrs. Smith Tom Jones Leigh Smith Kate Lee Mrs. Jones Rob Reed Julie Jules etc Mr. Andres Ms. Bell I'm having problems filtering my sql queries correctly to get the studentsand either end up with all the students from all the homerooms or only the students listed under the teacher. (ie the math teacher will also have their own homeroom so s/he'll see all the math students listed under his/her name..) I have one query that gets all the homeroom teachers. What I need: All the students associated with the math/science/etc. teacher (hooks by a teacherID) and have them sorted by their homeroom teacher (teacherID) How the database is set up: Teachers are assigned according to subject and have a code. So there is a table that hooks teacherID, StudentID, ClassCode. So a student can have many different teachers ~~ 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: SOLVED... OT Quick JS ?
What ended up being the solution? Nate -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 2:27 PM To: CF-Talk Subject: SOLVED... OT Quick JS ? Thanks for the help everyone it is appreciated. Doug ~~ 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
Granularity HTTP UDF Library for CF5 in alpha
FYI The Granularity HTTP UDF Library free alpha was released today. Unlike CFHTTP this can do raw posts for XML work. - Michael Smith, TeraTech, Inc http://www.teratech.com/ I'd like to announce the alpha release of our HTTP library, specifically designed to overcome the CFHTTP HTTP/1.1 raw post limitation. CFHTTP in CF 4.5/5 cannont create/send a POST unless the data is encoded in a form's name/value pair. The HTTP/1.1 specification states that a POST can occur without a name/value, with simply contents in the body of the POST (aka raw post). Granularity has created a UDF Library for CF 5 to overcome this limitation. Raw posts are most often seen in XML-based transactions, such as SOAP, UDDI, cXML, etc. interactions. This UDF library is written utilizing java, so it's cross-platform (for CF's os's, Win32, Linux, Solaris, HP). Right now, it's in development and limited testing. When it's released, it will be free of charge. Documentation is a bit sparse right now, so please feel free to e-mail and ask questions. More info at: http://xml.granularity.com/giahttp/ -- Michael Smith, TeraTech Inc VB, CF , SQL, Math programming 12221 Parklawn Dr Ste 200, Rockville MD 20852-1711 USA Voice: +1-301-881-1440 x110, 800-447-9120 Fax:301-881-3586 Web: http://www.teratech.com/sig/ Email: mailto:[EMAIL PROTECTED] ICQ: 66057682 ~~ 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: SOLVED... OT Quick JS ?
Well Duane was kind enough to re-write it for me, but all and all I think it was the use of || and in the code. It ended up looking like so. var number = document.forms[0].card_number.value; var type = document.forms[0].card_type[document.forms[0].card_type.selectedIndex].value ; var first_number = number.substring(0,1); switch (type) { case VISA: if ( parseInt(first_number) != 4){ alert(Invalid Visa Card Number); return false(); } break; case AMEX: var first_two_numbers = number.substring(0,2); if ( parseInt(first_two_numbers) != 34 parseInt(first_two_numbers) != 37){ alert(Invalid American Express Card Number); return false(); } break; case MAST: var first_two_numbers = number.substring(0,2); if ( parseInt(first_two_numbers) 50 || parseInt(first_two_numbers) 56 ){ alert(Invalid Mastercard Number); return false(); } break; case DISC: var first_four_numbers = number.substring(0,4); if( parseInt(first_four_numbers) != 6011){ alert(Invalid Discover Card Number); return false(); } break; } Doug - Original Message - From: Nate Smith [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 11:17 AM Subject: RE: SOLVED... OT Quick JS ? What ended up being the solution? Nate -Original Message- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 2:27 PM To: CF-Talk Subject: SOLVED... OT Quick JS ? Thanks for the help everyone it is appreciated. Doug ~~ 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: Searching a Array
Jason, You are probably better off using structures, and have the key of the structure be TS200R and then create another structure off that to store the other information. Then you can use StructKeyExists or StructFindKey to find your data. The StructFindKey function actually will search on arrays as well, so you could also use it on your original arrays. Thanks, Sam - Original Message - From: Jason Larson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 1:09 PM Subject: Searching a Array Help I am new with array's Heres what I would like to do. I would like to search the following array for the value TS200R, and return what info is associated with this product item number. I have found very few examples of how to manipulate array's. Anybody's help would be appreciated. Thanks Jason *** Begin of CF CODE *** !--- Setups a new Array for Collapsible Blades --- cfset ColBlade= ArrayNew(2) !--- Product 1 --- cfset ColBlade[1][1] = TS200 cfset ColBlade[1][2] = Helium Sm Silver Alum/No Holes cfset ColBlade[1][3] = 49.99 !--- Product 2 --- cfset ColBlade[2][1] = TS205 cfset ColBlade[2][2] = Helium Lg. Silver Alum/No Holes cfset ColBlade[2][3] = 55.99 !--- Product 3 --- cfset ColBlade[3][1] = TS200B cfset ColBlade[3][2] = Neon Sm. Blue Alum/No Holes cfset ColBlade[3][3] = 49.99 !--- Product 4 --- cfset ColBlade[4][1] = TS205B cfset ColBlade[4][2] = Neon Lg. Blue Alum/No Holes cfset ColBlade[4][3] = 55.99 !--- Product 5 --- cfset ColBlade[5][1] = TS200R cfset ColBlade[5][2] = Neon Sm. Red Alum/No Holes cfset ColBlade[5][3] = 49.99 *** End of CF CODE *** ~~ 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
OT: Ok.. JS gurus...
Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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
ListServers?
Anyone out there know of any good listservers they could suggest. software Vs. Subscription based? thanks Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: [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: Ok.. JS gurus...
I assume you mean populate a hidden field rather than create a hidden field correct? select name=blah onChange=foobar(this); function foobar(obj){ with (obj){ for(i=0;ioptions.length;i++){ if(options[i].selected){ document.forms[0].hiddenfield.value=options[i].value; break; } } } document.forms[0].submit(); } I haven't tested this but I think it should work - Original Message - From: Lee Fuller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 12:35 PM Subject: OT: Ok.. JS gurus... Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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: Raduis Authentication
Thanks. This worked perfectly. It was my first real experience with CFOBJECT so it was a challenge but don't we all just love a challenge and a chance to learn something new. Kristine C. Hege [EMAIL PROTECTED] Database Applications SpecialistPhone: (802) 463-2111 SoVerNet Inc. Ext: 105 5 Rockingham St. Bellows Falls, VT 05101 -- _ .. . - . PROGRAM (PRO'-gram') [n] A magic spell cast over a |C_.|.:' .:. . computer allowing it to turn one's input into error __||__ `:. O_/ messages.[vi] To engage in a pastime similar to | __--| \/M banging one's head against a wall, but, with fewer `-/..\-' _/ \_ opportunities for reward. `' On Tue, 27 Nov 2001, Admin wrote: Last year I set up a system using the vopcom radius client, this is a com object that you can call from cold fusion: http://www.vircom.com/solutions/vopcom/index.htm - Original Message - From: [EMAIL PROTECTED] I am trying to use CF to authenticate users with their Username and password from the radius server on the Unix side of the network on an ~~ 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: SilverOrange gets Jakob Neilsons thumbs up
Hey everyone, I wanted to congratulate SilverOrange on it accomplishment on it's Intranet. Jakob Neilson recently rated it one of the years best intranets... http://demo.silverorange.com Of course it running on CF. The complete list is at: http://www.nngroup.com/reports/intranet/2001/ ~~ 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: OT: Ok.. JS gurus...
onchange=addhide(document.formName.dropName.value); function addhide(VAL){ document.formName.hideName.value=VAL; document.formName.submit(); } On Tue, 27 Nov 2001, Lee Fuller wrote: Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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: ListServers?
What mailserver are you using? OS? I use ezmlm with qmail statitics, queueing, reliability all there. On Tue, 27 Nov 2001, Kris Pilles wrote: Anyone out there know of any good listservers they could suggest. software Vs. Subscription based? thanks Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: [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: Ok.. JS gurus...
Great bit of code, but of course all that is unnecessary if all Lee wants to do is capture the value of the select field: select name=blah onChange=document.forms[0].submit(); And if supporting older browsers/JS-disabled browsers is important, putting this after the /select tag is a good idea: noscript input type=submit value=Go /noscript -Ron ¸_¸.·´¯) http://www.BookCrossing.com ~ Read and Release! (¯`·.¸_¸. -Original Message- From: Don Vawter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:55 PM To: CF-Talk Subject: Re: Ok.. JS gurus... I assume you mean populate a hidden field rather than create a hidden field correct? select name=blah onChange=foobar(this); function foobar(obj){ with (obj){ for(i=0;ioptions.length;i++){ if(options[i].selected){ document.forms[0].hiddenfield.value=options[i].value; break; } } } document.forms[0].submit(); } I haven't tested this but I think it should work - Original Message - From: Lee Fuller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 12:35 PM Subject: OT: Ok.. JS gurus... Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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: Studio alternative for Linux?
check out jedit, a very nice java based editor. http://www.jedit.org even has CF syntax highlighting. Rich -Original Message- From: Jesse Noller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 3:10 PM To: CF-Talk Subject: RE: Studio alternative for Linux? It's a matter of personal preferance Won, I like linux more than I like windows. Jesse Noller Linux Fiend Macromedia Server Development [EMAIL PROTECTED] Give a man a fish, and he'll pester you to keep giving him fish. Teach a man to fish, and he'll pester you for better fishing theory. --Me, 2001 -Original Message- From: Won Lee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:14 PM To: CF-Talk Subject: RE: Studio alternative for Linux? How dare you suggest VI or that pitiful excuse for an editor, PICO. Isn't it obvious that you are looking for EMACS. On a more serious note, may I ask why you are actually using LINUX as your desktop/wokstation computer? I agree that running CFServer on Solaris or LINUX yeilds better performance, but I don't see any benefits of developing in a LINUX IDE. Perhaps you can fill me in. Won -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 3:15 PM To: CF-Talk Subject: Re: Studio alternative for Linux? visual slick edit On Wed, 14 Nov 2001, BILLY CRAVENS wrote: Quanta is decent as well - Original Message - From: Jesse Noller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 1:22 PM Subject: RE: Studio alternative for Linux? http://www.jedit.org is nice. VIM for windows has a CFML layer http://lanzarotta.tripod.com/vim/syntax/cf.vim.zip Jesse Noller Linux Fiend Macromedia Server Development [EMAIL PROTECTED] Give a man a fish, and he'll pester you to keep giving him fish. Teach a man to fish, and he'll pester you for better fishing theory. --Me, 2001 -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 2:15 PM To: CF-Talk Subject: Studio alternative for Linux? Well I went ahead and installed Linux (Mandrake) for the first time in 8 years this past weekend. What a difference from the Slackware and floppies... Does anyone have any good reccomendations for a code editor for Linux that has tag insight, ftp, and some of the other nicer features of Studio? ...and if anyone says VI I'm going to scream :) jon ~~ 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: Ok.. JS gurus...
the document.forms[0].submit() won't populate any hidden fields which is what he wanted to do. Now WHY he wanted to do that I don't know. You are correct that you could could just capture the value of the select field in the action page and not have a hidden field. The other thing to make my code much simpler is to use selectedIndex instead of looping but old habits die hard. - Original Message - From: Ron Hornbaker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 1:01 PM Subject: RE: Ok.. JS gurus... Great bit of code, but of course all that is unnecessary if all Lee wants to do is capture the value of the select field: select name=blah onChange=document.forms[0].submit(); And if supporting older browsers/JS-disabled browsers is important, putting this after the /select tag is a good idea: noscript input type=submit value=Go /noscript -Ron ¸_¸.·´¯) http://www.BookCrossing.com ~ Read and Release! (¯`·.¸_¸. -Original Message- From: Don Vawter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:55 PM To: CF-Talk Subject: Re: Ok.. JS gurus... I assume you mean populate a hidden field rather than create a hidden field correct? select name=blah onChange=foobar(this); function foobar(obj){ with (obj){ for(i=0;ioptions.length;i++){ if(options[i].selected){ document.forms[0].hiddenfield.value=options[i].value; break; } } } document.forms[0].submit(); } I haven't tested this but I think it should work - Original Message - From: Lee Fuller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 12:35 PM Subject: OT: Ok.. JS gurus... Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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 alternative for Linux?
I use jEdit on Linux for development work... great editor!! I also use Linux on my desktop for development... I guess a reply to your question is why not?? It shouldn't matter what OS you use on your desktop? Whatever you prefer and are comfortable with. I made the switch to Linux about six months ago. I have many reasons for doing it, and I couldn't be happier. I have no need to boot into Windows, mainly because I have another windows machine where I can get to SQL Server, Access and ColdFusion. And I rarely use it for anything else. Linux meets all my needs, I don't have to pay those ridiculous INCREASING licensing fees to MS and more importantly, I like using it. N On Tue, 27 Nov 2001, Won Lee wrote: How dare you suggest VI or that pitiful excuse for an editor, PICO. Isn't it obvious that you are looking for EMACS. On a more serious note, may I ask why you are actually using LINUX as your desktop/wokstation computer? I agree that running CFServer on Solaris or LINUX yeilds better performance, but I don't see any benefits of developing in a LINUX IDE. Perhaps you can fill me in. Won -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 3:15 PM To: CF-Talk Subject: Re: Studio alternative for Linux? visual slick edit On Wed, 14 Nov 2001, BILLY CRAVENS wrote: Quanta is decent as well - Original Message - From: Jesse Noller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 1:22 PM Subject: RE: Studio alternative for Linux? http://www.jedit.org is nice. VIM for windows has a CFML layer http://lanzarotta.tripod.com/vim/syntax/cf.vim.zip Jesse Noller Linux Fiend Macromedia Server Development [EMAIL PROTECTED] Give a man a fish, and he'll pester you to keep giving him fish. Teach a man to fish, and he'll pester you for better fishing theory. --Me, 2001 -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 2:15 PM To: CF-Talk Subject: Studio alternative for Linux? Well I went ahead and installed Linux (Mandrake) for the first time in 8 years this past weekend. What a difference from the Slackware and floppies... Does anyone have any good reccomendations for a code editor for Linux that has tag insight, ftp, and some of the other nicer features of Studio? ...and if anyone says VI I'm going to scream :) jon ~~ 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
CF and weird authentication
Hi everyone, We have some weird things going on here with some university apps written in CF. If using IE 6 we are prompted for a username and password and prompted to install CFJava.cab!!! This just started happening outta the blue.. Any ideas? This doesn't happen in netscape. Michael T. Tangorre Resident Assistant - Brick Web Applications Developer A.U. Webteam Slave :-) AIM: CrazyFlash4 ~~ 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: How much faster to develop in CF v PHP
First off - thanks to ALL for your helpful comments. Hmm. I guess I'm a novice. I'm from a marketing background and I approaching this from a design direction not programming. Additionally, it's a bit of a personal challenge too, which is why I'm getting into this. Well, perhaps not a complete novice. I use Ultradev and have set up a couple of carts in ASP - but using UlraCart rather than coding from scratch. Recently, though, the whole OS/Web world is in a state of (even more than normal) change: .Net and Neo etc. I'm rethinking the whole thing because Vbscript is going to be dead. My needs I guess are defined by keeping costs down and learning and developing quickly.I was wondering if I should go for CF mainly and learn a bit of PHP to go with it. Does that sound sensible? -- Martin Wright -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 14:58 To: CF-Talk Subject: Re: How much faster to develop in CF v PHP It depends on you. Do you know how to program? If you been programming for a while and now getting into web stuff then php would probably be easier for you because it looks and feels like other languages. CF is reportedly easier to learn for novices. Either way you go they are both RAD and do the same stuff for the most part. On Tue, 27 Nov 2001, Martin Wright wrote: Forgive the rookie questions you gurus ;-) Trying to evaluate which way I should lean in the future. How much faster is CF, in general terms, than PHP - both from a standpoint of learning and developing dynamic sites? - Martin Wright ~~ 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: OT Quick JS ?
I have a JS script already prepared for checking credit and debit cards (switch cards in the UK). Drop me an email offline if you'd like a copy. Regards Stephen - Original Message - From: Douglas L. Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 6:07 PM Subject: OT Quick JS ? I have the following script in which I am validating a CC# but it always pops up the prompt even if the first digit is 4, can someone see my error? var type = target.card_type[target.card_type.selectedIndex].value; var number = target.card_number.value; var first_number = number.substring(0,1); if ( type == 'VISA' first_number != 4){ alert(Invalid Card Number); return false(); } CF_SIGNATURE NAME=Douglas L. Brown EMAIL=[EMAIL PROTECTED] PHONE=714.538.6611 WEB=http://www.carnivorepc.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: How much faster to develop in CF v PHP
Just keep this in mind, if you are not doing this for a company who is paying you to program and to buy the software. Go with PHP, it's free. I know I would have either gotten into ASP or PHP if the company I was working for didn't already have it. Robert Everland III Dixon Ticonderoga Web Developer Extraordinaire -Original Message- From: Martin Wright [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 3:29 PM To: CF-Talk Subject: RE: How much faster to develop in CF v PHP First off - thanks to ALL for your helpful comments. Hmm. I guess I'm a novice. I'm from a marketing background and I approaching this from a design direction not programming. Additionally, it's a bit of a personal challenge too, which is why I'm getting into this. Well, perhaps not a complete novice. I use Ultradev and have set up a couple of carts in ASP - but using UlraCart rather than coding from scratch. Recently, though, the whole OS/Web world is in a state of (even more than normal) change: .Net and Neo etc. I'm rethinking the whole thing because Vbscript is going to be dead. My needs I guess are defined by keeping costs down and learning and developing quickly.I was wondering if I should go for CF mainly and learn a bit of PHP to go with it. Does that sound sensible? -- Martin Wright -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 14:58 To: CF-Talk Subject: Re: How much faster to develop in CF v PHP It depends on you. Do you know how to program? If you been programming for a while and now getting into web stuff then php would probably be easier for you because it looks and feels like other languages. CF is reportedly easier to learn for novices. Either way you go they are both RAD and do the same stuff for the most part. On Tue, 27 Nov 2001, Martin Wright wrote: Forgive the rookie questions you gurus ;-) Trying to evaluate which way I should lean in the future. How much faster is CF, in general terms, than PHP - both from a standpoint of learning and developing dynamic sites? - Martin Wright ~~ 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: OT: Ok.. JS gurus...
Hmm.. Ok.. But when I do this, (changing the formName to the name of the form, and the dropName to the name of the drop-down), it does not seem to pass the value to the hidden field. Should I not create the hidden field ahead of time? Lee -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:55 AM To: CF-Talk Subject: Re: OT: Ok.. JS gurus... onchange=addhide(document.formName.dropName.value); function addhide(VAL){ document.formName.hideName.value=VAL; document.formName.submit(); } On Tue, 27 Nov 2001, Lee Fuller wrote: Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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: CF and weird authentication
We have some weird things going on here with some university apps written in CF. If using IE 6 we are prompted for a username and password and prompted to install CFJava.cab!!! This just started happening outta the blue.. Any ideas? This doesn't happen in netscape. If you're using CFFORM with the ENABLECAB attribute set to yes, you'll be prompted to install CFJava.cab when using IE. If you accept the prompt, the Java applets will be installed permanently on your machine via ActiveX, so you won't have to download them again in the future. Netscape doesn't support ActiveX, so you don't get the prompt if you're using Netscape. I suspect that you're getting the password prompt because you've applied authentication to your /CFIDE directory, which is where CFJava.cab is stored. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: (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: OT: Ok.. JS gurus...
in netscape the select object doesn't have a value. could that be the problem. - Original Message - From: Lee Fuller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 1:38 PM Subject: RE: OT: Ok.. JS gurus... Hmm.. Ok.. But when I do this, (changing the formName to the name of the form, and the dropName to the name of the drop-down), it does not seem to pass the value to the hidden field. Should I not create the hidden field ahead of time? Lee -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:55 AM To: CF-Talk Subject: Re: OT: Ok.. JS gurus... onchange=addhide(document.formName.dropName.value); function addhide(VAL){ document.formName.hideName.value=VAL; document.formName.submit(); } On Tue, 27 Nov 2001, Lee Fuller wrote: Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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: How much faster to develop in CF v PHP
Martin Wright [EMAIL PROTECTED] wrote in message news:000e01c17782 Hmm. I guess I'm a novice. I'm from a marketing background and I approaching this from a design direction not programming. Additionally, it's a bit of a personal challenge too, which is why I'm getting into this. So goes for CF, if you are not used to Java/C/Perl/JavaScript programming PHP can be a little bit intimidating (I work 80% of the time in CFML, 20% PHP) Well, perhaps not a complete novice. I use Ultradev and have set up a couple of carts in ASP - but using UlraCart rather than coding from scratch. I expect to see great things in term of CF integration from next release of UD, another reason to go CF -- Massimo Foti [EMAIL PROTECTED] http://www.massimocorner.com Dreamweaver, Ultradev and Fireworks goodies http://www.projectseven.com/viewer/snippets.htm Snippets Panel ~~ 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: How much faster to develop in CF v PHP
Recently, though, the whole OS/Web world is in a state of (even more than normal) change: .Net and Neo etc. Actually, I'd argue that things are changing a lot less rapidly now than, say, a couple of years ago. All this .NET and Neo stuff is (to slightly oversimplify things) just another way to write HTML-based CGI apps. I'm rethinking the whole thing because Vbscript is going to be dead. Why do you say this? For what it's worth, the Visual Basic syntax isn't going anywhere anytime soon. No one writes VBScript to execute within a browser, but it's fine for other scripting uses on the Windows platform (ASP, WSH). Note that you can use JavaScript any place you can use VBScript, though, so I'd recommend using JavaScript instead, unless you are or intend to be a Visual Basic programmer. My needs I guess are defined by keeping costs down and learning and developing quickly. I was wondering if I should go for CF mainly and learn a bit of PHP to go with it. Fortunately for you, you have an embarrassment of riches from which to choose. I'd recommend that you start with the one that someone'll pay you to use for development, whichever that may be. CF is, in my opinion, the easiest of all of them to learn and to become productive with, but none of them are especially hard, and they all work in essentially the same way. If this is your first foray into programming, you might find a general-purpose programming language to be a better choice, rather than CF, PHP or ASP (ASP isn't really a language, but I'll lump it in here anyway). I'd recommend Python for this - it's a free scripting language just like PHP and a bunch of others, you can use it for CGI programming as well as other programming tasks, it's easier to approach and use than Java, and it's a great introduction to programming in my opinion. (Of course, who am I to say - I mainly started programming with CF.) Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: (202) 797-5496 fax: (202) 797-5444 ~~ 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: OT: Ok.. JS gurus...
Not netscape that I'm using. But let me clarify, this is what I want to do, and maybe this will make more sense? On the form I have created, it dynamically looks to see if there is more than one record in the db for a customer. If so, rather than simply showing the name of the item, CF substitues a drop-down, listing all the items. The issue is that this form shows the data for that item, so I want to be able to have them simply change the drop-down, which in turn causes the form to submit, thereby setting a hidden field holding the new item name, which then gets sent to the form, is picked-up and used as the new item to display. Make sense? Lee PS - We can take this off the list, if you like? But I thought others might find it useful. -Original Message- From: Don Vawter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 12:46 PM To: CF-Talk Subject: Re: OT: Ok.. JS gurus... in netscape the select object doesn't have a value. could that be the problem. - Original Message - From: Lee Fuller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 1:38 PM Subject: RE: OT: Ok.. JS gurus... Hmm.. Ok.. But when I do this, (changing the formName to the name of the form, and the dropName to the name of the drop-down), it does not seem to pass the value to the hidden field. Should I not create the hidden field ahead of time? Lee -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:55 AM To: CF-Talk Subject: Re: OT: Ok.. JS gurus... onchange=addhide(document.formName.dropName.value); function addhide(VAL){ document.formName.hideName.value=VAL; document.formName.submit(); } On Tue, 27 Nov 2001, Lee Fuller wrote: Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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
Wordwrap and ASPMail (?)
Hello, We have a weird error sending emails. We use the ASPMail object (DLL) to send emails and the MIME method for dual mail (HTML and plain text). We realize when we try to send a big mail (say, 50kb!!!) the HTML part of the email appears with errors:. ASP Mail puts some kind a space. I've read ASPMail docs and they say AspMail can encode high characters using a scheme where the = sign indicates a character to be decoded follow by the hex string value of the character to be encoded. This system of course assumes that the client can decode these characters (which most can). This is called quoted-printable encoding. The default for AspMail is not to use QP encoding. Things that trigger automatic QP encoding: High characters - characters with the following ordinal values 0..31,61,128..255 Long lines of a message body (you can turn wordwrap on to fix this case) Most clients are capable of handling QP encoding. If your client is not capable then you should upgrade your client or you must work within the above limitations to prevent the QP encoding from occuring. But we turn WordWrap ON but still we get errors with space. someone had a similar problem? May I use some kind of wordwrap function ? or something? thanks in advance (!!), ~Juan ~~ 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: How much faster to develop in CF v PHP
another good thread lets see if you want to see your children, have a social life, interact with people (not just machines), see life... Well then Cold Fusion is probably the best place for you... You can do enough to impress the knowledgeless... more than enough to make you go wow... and best of all you can start seeing result in little time... Perl, Python, CGI, Java, ASP, they all suffer from weird syntax and too low level type interactions for most people... thus their long development cycles, high cost, roll it yourself sort of typical behavior... Any of them will work... Kid no one about it PHP is a promising alternative to Cold Fusion but lacks a bunch of maturity where it might matter... if cost dictates, PHP is probably best followed by ASP second... the others I will let alone for lack on not wearing my fame retardant clothing today... Dave hit it pretty much square in the nose... -paris -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 15:57 To: CF-Talk Subject: RE: How much faster to develop in CF v PHP Recently, though, the whole OS/Web world is in a state of (even more than normal) change: .Net and Neo etc. Actually, I'd argue that things are changing a lot less rapidly now than, say, a couple of years ago. All this .NET and Neo stuff is (to slightly oversimplify things) just another way to write HTML-based CGI apps. I'm rethinking the whole thing because Vbscript is going to be dead. Why do you say this? For what it's worth, the Visual Basic syntax isn't going anywhere anytime soon. No one writes VBScript to execute within a browser, but it's fine for other scripting uses on the Windows platform (ASP, WSH). Note that you can use JavaScript any place you can use VBScript, though, so I'd recommend using JavaScript instead, unless you are or intend to be a Visual Basic programmer. My needs I guess are defined by keeping costs down and learning and developing quickly. I was wondering if I should go for CF mainly and learn a bit of PHP to go with it. Fortunately for you, you have an embarrassment of riches from which to choose. I'd recommend that you start with the one that someone'll pay you to use for development, whichever that may be. CF is, in my opinion, the easiest of all of them to learn and to become productive with, but none of them are especially hard, and they all work in essentially the same way. If this is your first foray into programming, you might find a general-purpose programming language to be a better choice, rather than CF, PHP or ASP (ASP isn't really a language, but I'll lump it in here anyway). I'd recommend Python for this - it's a free scripting language just like PHP and a bunch of others, you can use it for CGI programming as well as other programming tasks, it's easier to approach and use than Java, and it's a great introduction to programming in my opinion. (Of course, who am I to say - I mainly started programming with CF.) Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: (202) 797-5496 fax: (202) 797-5444 ~~ 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: OT: Ok.. JS gurus...
www.irt.org has a good FAQ for javascript On Tue, 27 Nov 2001, Lee Fuller wrote: Hmm.. Ok.. But when I do this, (changing the formName to the name of the form, and the dropName to the name of the drop-down), it does not seem to pass the value to the hidden field. Should I not create the hidden field ahead of time? Lee -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:55 AM To: CF-Talk Subject: Re: OT: Ok.. JS gurus... onchange=addhide(document.formName.dropName.value); function addhide(VAL){ document.formName.hideName.value=VAL; document.formName.submit(); } On Tue, 27 Nov 2001, Lee Fuller wrote: Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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: OT: Ok.. JS gurus...
Why don't you just use the drop down's value and never use the hidden variable then? You could set the value as a string to pass more than one value from the drop down. On Tue, 27 Nov 2001, Lee Fuller wrote: Not netscape that I'm using. But let me clarify, this is what I want to do, and maybe this will make more sense? On the form I have created, it dynamically looks to see if there is more than one record in the db for a customer. If so, rather than simply showing the name of the item, CF substitues a drop-down, listing all the items. The issue is that this form shows the data for that item, so I want to be able to have them simply change the drop-down, which in turn causes the form to submit, thereby setting a hidden field holding the new item name, which then gets sent to the form, is picked-up and used as the new item to display. Make sense? Lee PS - We can take this off the list, if you like? But I thought others might find it useful. -Original Message- From: Don Vawter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 12:46 PM To: CF-Talk Subject: Re: OT: Ok.. JS gurus... in netscape the select object doesn't have a value. could that be the problem. - Original Message - From: Lee Fuller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 1:38 PM Subject: RE: OT: Ok.. JS gurus... Hmm.. Ok.. But when I do this, (changing the formName to the name of the form, and the dropName to the name of the drop-down), it does not seem to pass the value to the hidden field. Should I not create the hidden field ahead of time? Lee -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 11:55 AM To: CF-Talk Subject: Re: OT: Ok.. JS gurus... onchange=addhide(document.formName.dropName.value); function addhide(VAL){ document.formName.hideName.value=VAL; document.formName.submit(); } On Tue, 27 Nov 2001, Lee Fuller wrote: Since we seem to be on the subject, I can't get anything to work, and thought someone (prolly Dave grin) might have an answer for this... Need to include a drop-down in a form that, when changed (onchange), will add a hidden field to the form, and submit it immediately. Send me somewhere to find it.. That's ok! ;) Just need to figure it out. TTAIA Lee ~~ 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: flash based treeview
At 10:56 PM 11/25/1, James Sleeman wrote: What I have been thinking is doing the same sort of thing (a treeview like nessal - with a couple improvements here and there) in flash (I'm thinking, using WDDX packets to get the data from the server). I don't know anything about flash so it would probably be non-trivial for me, so before I delve headlong into the idea can anybody tell me if I would be reinventing the wheel (and if I am, where is that wheel :-)) ? There are a few different implementations already available... searching with tree at http://www.macromedia.com/exchange/flash will pull them up. Two of these are implemented as Smart Clips, which you just drop into your own movie and parameterize. Both pull XML-formatted data for menu items. (NB: The Macromedia Exchange for Flash can be quite slow right now... work is being done on migrating it to, ah, a zippier application server ;-) jd John Dowdell, Macromedia Tech Support, San Francisco CA US Search technotes: http://www.macromedia.com/support/search/ Offlist email risks capture by the spam filters. I may not see your email if it's not on the list. Private one-on-one email options are available via Priority Access: http://www.macromedia.com/support/ ~~ 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: New Toolkit for Integrating Flash and CF
The problem with the download should be fixed. Phil -Original Message- From: David Schmidt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 10:05 AM To: CF-Talk Subject: RE: New Toolkit for Integrating Flash and CF Hi Will, At 02:54 PM 11/27/2001 +, Will Swain wrote: sounds great, but I get a 404 error when I try to download it at this location: Hit back, hit download again. There's a borked server @Allaire/Macromedia that does this from time to time in the DevEx. ..D --- Kill a spammer for Jesus! (...slowly, with a nail-gun.) ~~ 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: How much faster to develop in CF v PHP
What is the current status of a free version of CFServer? if something is still available I can without reservation recommend going with CF. Having come from a very similar background (Sales and Marketing) and segued into dynamic web application development thanks to ColdFusion, I feel I have validity in making this recommendation. I did try both ASP and iHTML (brief successor to ColdFusion bundled with O'Reilley WebSite) over the years and still ran back to ColdFusion. Another important issue, it really is very enjoyable being creative with CF. It is easy to get something simple going and demonstrable and yet you can get to incredible levels of sophistication and complexity. Mike Brunt Sempra Energy 213.244.5226 ASCII stupid question, get a stupid ANSI ! -Original Message- From: Paris Lundis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 1:02 PM To: CF-Talk Subject: RE: How much faster to develop in CF v PHP another good thread lets see if you want to see your children, have a social life, interact with people (not just machines), see life... Well then Cold Fusion is probably the best place for you... You can do enough to impress the knowledgeless... more than enough to make you go wow... and best of all you can start seeing result in little time... Perl, Python, CGI, Java, ASP, they all suffer from weird syntax and too low level type interactions for most people... thus their long development cycles, high cost, roll it yourself sort of typical behavior... Any of them will work... Kid no one about it PHP is a promising alternative to Cold Fusion but lacks a bunch of maturity where it might matter... if cost dictates, PHP is probably best followed by ASP second... the others I will let alone for lack on not wearing my fame retardant clothing today... Dave hit it pretty much square in the nose... -paris -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 15:57 To: CF-Talk Subject: RE: How much faster to develop in CF v PHP Recently, though, the whole OS/Web world is in a state of (even more than normal) change: .Net and Neo etc. Actually, I'd argue that things are changing a lot less rapidly now than, say, a couple of years ago. All this .NET and Neo stuff is (to slightly oversimplify things) just another way to write HTML-based CGI apps. I'm rethinking the whole thing because Vbscript is going to be dead. Why do you say this? For what it's worth, the Visual Basic syntax isn't going anywhere anytime soon. No one writes VBScript to execute within a browser, but it's fine for other scripting uses on the Windows platform (ASP, WSH). Note that you can use JavaScript any place you can use VBScript, though, so I'd recommend using JavaScript instead, unless you are or intend to be a Visual Basic programmer. My needs I guess are defined by keeping costs down and learning and developing quickly. I was wondering if I should go for CF mainly and learn a bit of PHP to go with it. Fortunately for you, you have an embarrassment of riches from which to choose. I'd recommend that you start with the one that someone'll pay you to use for development, whichever that may be. CF is, in my opinion, the easiest of all of them to learn and to become productive with, but none of them are especially hard, and they all work in essentially the same way. If this is your first foray into programming, you might find a general-purpose programming language to be a better choice, rather than CF, PHP or ASP (ASP isn't really a language, but I'll lump it in here anyway). I'd recommend Python for this - it's a free scripting language just like PHP and a bunch of others, you can use it for CGI programming as well as other programming tasks, it's easier to approach and use than Java, and it's a great introduction to programming in my opinion. (Of course, who am I to say - I mainly started programming with CF.) Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: (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: How much faster to develop in CF v PHP
Although I'm new to the list, I'll weigh in here... I actually love working in PHP, even though I do quite a bit of CF development (obviously, I took the time to sign up). The reason is simple -- community. There are just far more examples of workable FREE PHP code out there. Seems like a huge percentage of the CF developers want $$$ for their little snippets of code I mean, obviously that's a gross over-generalization, but as someone who learns mostly from other people's examples, PHP has been a godsend. That said, there are things I absolutely love about CF, as well -- the ease of hitting DB's and whatnot (although that's not terribly complicated in PHP, either). Cold Fusion finally got UDF's, the lack of which drove me absolutely insane... but that's not that amazing. In the end, I'm going to go out on a limb and say they're about equal. The only difference is the cost... which if you're building a substantial website is negligible. That said, if you're a small web d00d, you can be up and running with PHP/mysql(or Postgres)/Linux for free! -- jon From: Paris Lundis [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 27 Nov 2001 16:02:23 -0500 To: CF-Talk [EMAIL PROTECTED] Subject: RE: How much faster to develop in CF v PHP another good thread lets see if you want to see your children, have a social life, interact with people (not just machines), see life... Well then Cold Fusion is probably the best place for you... You can do enough to impress the knowledgeless... more than enough to make you go wow... and best of all you can start seeing result in little time... Perl, Python, CGI, Java, ASP, they all suffer from weird syntax and too low level type interactions for most people... thus their long development cycles, high cost, roll it yourself sort of typical behavior... Any of them will work... Kid no one about it PHP is a promising alternative to Cold Fusion but lacks a bunch of maturity where it might matter... if cost dictates, PHP is probably best followed by ASP second... the others I will let alone for lack on not wearing my fame retardant clothing today... Dave hit it pretty much square in the nose... -paris -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 15:57 To: CF-Talk Subject: RE: How much faster to develop in CF v PHP Recently, though, the whole OS/Web world is in a state of (even more than normal) change: .Net and Neo etc. Actually, I'd argue that things are changing a lot less rapidly now than, say, a couple of years ago. All this .NET and Neo stuff is (to slightly oversimplify things) just another way to write HTML-based CGI apps. I'm rethinking the whole thing because Vbscript is going to be dead. Why do you say this? For what it's worth, the Visual Basic syntax isn't going anywhere anytime soon. No one writes VBScript to execute within a browser, but it's fine for other scripting uses on the Windows platform (ASP, WSH). Note that you can use JavaScript any place you can use VBScript, though, so I'd recommend using JavaScript instead, unless you are or intend to be a Visual Basic programmer. My needs I guess are defined by keeping costs down and learning and developing quickly. I was wondering if I should go for CF mainly and learn a bit of PHP to go with it. Fortunately for you, you have an embarrassment of riches from which to choose. I'd recommend that you start with the one that someone'll pay you to use for development, whichever that may be. CF is, in my opinion, the easiest of all of them to learn and to become productive with, but none of them are especially hard, and they all work in essentially the same way. If this is your first foray into programming, you might find a general-purpose programming language to be a better choice, rather than CF, PHP or ASP (ASP isn't really a language, but I'll lump it in here anyway). I'd recommend Python for this - it's a free scripting language just like PHP and a bunch of others, you can use it for CGI programming as well as other programming tasks, it's easier to approach and use than Java, and it's a great introduction to programming in my opinion. (Of course, who am I to say - I mainly started programming with CF.) Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: (202) 797-5496 fax: (202) 797-5444 ~~ 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
OT: Best free Web stats program for Win32?
I use the Webalizer for my *nix boxes, but I wanted suggestions for something to use on my windows boxes. Anything recommendations? Tony Schreiber, Senior Partner Man and Machine, Limited mailto:[EMAIL PROTECTED] http://www.technocraft.com http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion http://www.is300.net ___The Enthusiast's Home of the Lexus IS300 http://www.digitacamera.com __DigitA Camera Scripts and Tips http://www.linklabexchange.com _Miata Link ECU Data Exchange ~~ 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: Best free Web stats program for Win32?
I've been very happy with Analog. Free and fast. === 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: Tony Schreiber [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 4:47 PM To: CF-Talk Subject: OT: Best free Web stats program for Win32? I use the Webalizer for my *nix boxes, but I wanted suggestions for something to use on my windows boxes. Anything recommendations? Tony Schreiber, Senior Partner Man and Machine, Limited mailto:[EMAIL PROTECTED] http://www.technocraft.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: MS word HTML page with a picture
I found a solution for my problem and am posting for the archives. I know this is easy stuff for most but it took me a few think of it. I let word create the sub directories with *_files names (Option in word). Then I build my pages based on the *.htm files in the directory structure. When I see sub directory with the same name and *_files as the html file I know I have supporting files to deal with for that page. I then parse out the path of the MS Word HTML document to get the various pieces of the string I need to use cfdirectory and cffile and the path replaces. From there I use cffile read in the original document saved by the end user with MS word and just replace the paths in the variable created with cffile and use writeoutput() to include it in my current web page. Seems to work well. I also set the user up with a web folder in explorer on her PC so she can save directly from MS word to the branch on the website. This seemed to make things very easy for the end user. Thanks David cfoutputcfdirectory action=LIST directory=#cTourPath# name=qTest4picture filter=#cTourSub#/cfoutput !--- Testing for a subdirectory created by word that has supporting files for page --- cfif qTest4picture.recordcount EQ 1 cfoutput cffile action=READ file=#cFullTourPath# variable=TourPage cfscript cReplPath = replacenocase(replacenocase(url.intour,.htm,_files/), ,%20,ALL) ; cTestPath = ./ replacenocase(left(cTourName,len(cTourName) - 1), ,%20,all) _files/ ; TourPage = replacenocase(TourPage,cTestPath,cReplPath,ALL) ; writeoutput(Tourpage) ; /cfscript /cfoutput cfelse table width=98%trtdcfinclude template=#url.intour#/td/tr/table /cfif - Original Message - From: Richard Meredith-Hardy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 2:23 AM Subject: Re: MS word HTML page with a picture DirectLoad does all this for you and more http://www.flymicro.com/cf/directload As for file naming, it names all the associated files my_file_image_001.jpg etc. and puts them by default in the same directory as the html file. This may not be very tidy but it does mean there can't be conflicts with similarly named files in another directory and a common images/ directory. David Green wrote: Hello list, Thanks all for the good material on this list! I am not sure how to ask this question. Is there a way to control the relative calling directory information when using cfinclude? I know questions does not make sense My problem is am including pages that are created in word and saved to HTML then uploaded by a user to a user defined directory structure on the server. I then use cfdirectory and cfinclude to make pages with links and display the pages with footers and back grounds ect. This all works great for pages without a pictures user is able to build and control there site with just word and some file management. Till they add a picture to the document created in word A page created/saved by MS word as HTML that includes a picture looks for a sub directory of (WebPageName_files) in the directory that the MS word page is in.My problem is that because am using cfinclude I am not in the directory that the MS word page is in so my relative directory path is not what was created by the word when the document was saved. The path to the image in the document created word will be something like ./tour/testpage_files/picture.jpg but because of the cfinclude am not in the directory with a subdirectory of tour. Am in the directory with my cfm pages (/webname/cf_pages ) and the page is looking here for the subdirectory of tour and the path to the image. Editing the path in the word after saving it html document is not an option.My user would not a clue on how to edit the code. So my question has anybody done something like this using word and cfinclude and how did you handle the file paths created by word? I am guessing some how I need to create a web page dynamically in the directory that the word doc is in and call it directly with maybe a cflocation or java script? Thanks the any help, Sorry if this makes no sense. David ~~ 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
OT Query Question
I almost have this query doing what I need. I want to select the most recent MyDetail.Entry_Date and MyDetail.Entry_Comment. Whats happening now is I get a single most recent MyDetail.Entry_Date (good) but multiple MyDetail.Entry_Comment 's (bad). Any suggestions or maybe an easier way to do this? SELECT a.Customer_Name,b.Entry_comments,c.MaxEntry_Date FROM MyMaster a LEFT OUTER JOIN MyDetail b ON a.id = b.MyMaster_ID LEFT JOIN (SELECT MyMaster_ID,MAX(Entry_Date) AS MaxEntry_Date FROM MyDetail GROUP BY MyMaster_ID) AS c ON b.MyMaster_ID = c.MyMaster_ID AND b.Entry_Date = c.MaxEntry_Date WHERE blah ORDER BY blah Here is the original Query, which works fine, it pulls all the Detail records for each Master: SELECT a.Customer_Name,b.Entry_Date,b.Entry_comments FROM MyMaster a LEFT OUTER JOIN MyDetail b ON a.id = b.MyMaster_ID WHERE blah ORDER BY blah Thanks,Adrian ~~ 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: OT: Best free Web stats program for Win32?
analog On Tue, 27 Nov 2001, Tony Schreiber wrote: I use the Webalizer for my *nix boxes, but I wanted suggestions for something to use on my windows boxes. Anything recommendations? Tony Schreiber, Senior Partner Man and Machine, Limited mailto:[EMAIL PROTECTED] http://www.technocraft.com http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion http://www.is300.net ___The Enthusiast's Home of the Lexus IS300 http://www.digitacamera.com __DigitA Camera Scripts and Tips http://www.linklabexchange.com _Miata Link ECU Data Exchange ~~ 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: flash based treeview
At 10:27 AM 11/28/2001, you wrote: There are a few different implementations already available... searching with tree at http://www.macromedia.com/exchange/flash will pull them up. Two of these are implemented as Smart Clips, which you just drop into your own movie and parameterize. Both pull XML-formatted data for menu items. (NB: The Macromedia Exchange for Flash can be quite slow right now... work is being done on migrating it to, ah, a zippier application server ;-) Yeah I looked at those, but none of them load incrementally from the server (that is, only loads contents of a folder when you open it), one of them is more like a hierarchical menu than a tree anyway. -- James Sleeman Innovative Media Ltd Phone: (03) 377 6262 http://www.websolutions.co.nz/ CAUTION: The information contained in this email message is confidential and may be legally privileged. If the reader of this message is not the intended recipient you are notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify the sender immediately and destroy the original message and any attachments. Views expressed in this communication may not be those of Innovative Media Ltd. ~~ 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
Why aren't there more CF programmers out there?
A higher up said If ColdFusion was so easy to learn why aren't there more CF programmers out there? So what do I tell him? How many CF Developers are there? How many sites use CF? Is there a Macromedia rep in the house? He thinks FrontPage is the way to go Let the games begin! ~~ 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: Why aren't there more CF programmers out there?
Frontpage? Um, BARF! :-) -Original Message- From: Justin Hansen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 5:40 PM To: CF-Talk Subject: Why aren't there more CF programmers out there? A higher up said If ColdFusion was so easy to learn why aren't there more CF programmers out there? So what do I tell him? How many CF Developers are there? How many sites use CF? Is there a Macromedia rep in the house? He thinks FrontPage is the way to go Let the games begin! ~~ 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