RE: IDE for the Mac...?
For help on remote editing in VIM 6: :help netrw __ 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: VIM Questions was Re: IDE for the Mac...?
| OK, I have VIM running on the Mac. I know that others have | touted VIM, | but I don't see the advantage -- it looks like several other | command-line editors available on *nix systems. It appears | to be heavy | on key-entry and light on GUI. It appears that to become proficient, | one must learn yet another series of keyed commands. VIM is both CLI and GUI, the GUI version is called gvim. There is a threshold to get started into the whole world of vi, but it is worth it (if you ask me!). VIM can also operate modeless (like most other text-editors). | I guess my questions would be: | | 1) what are the advantages of using VIM over other editors | (CLI or GUI). It is available on virtually any platform there is. It is very customizable. It is very powerful when you get to know it. It supports folds, dictionaries, tags, scripts of all kinds, syntax editing for hundreds of languages, tab-completion, indenting, remote editing (ftp) and a lot more. | 2) what are the specific advantages to CFML, HTML,Java, JavaScript | coding. Syntax highlightning, custom dictionaries, custom scripts for each | 3) Is it worth the effort to learn to use this editor? I would say yes! | No offense intended, but VIM seems rather retrograde when compared to | some of the GUI editors currently available. | | I know an editor is a personal thing, but if one already is | comfortable | with BBEdit, JEdit, Studio, whatever -- what would be the | advantage of | learning VIM? | | It seems to me that you would be giving up quite a bit! | | I don't want to get into a Pi**ing contest -- I am sincerely | interested | in the advantages of VIM. | | Am I missing something? | | Dick | | | On Tuesday, September 24, 2002, at 11:08 AM, Dick Applebaum wrote: | | On Tuesday, September 24, 2002, at 10:30 AM, Hugo Ahlenius wrote: | | I am starting to get tired of promoting VIM as the best | editor/IDE for | all | CF related work... Which has almost any feature you throw | at it. And | thousands of more. | | No Emacs users out here? Or fellow VIM-mers? | | | | Mac OS X comes with emacs -- but a it is a CLI editor. | | There is a vim for Mac OS X at: | | http://macvim.swdev.org/OSX/ | | | I am downloading it now -- will give it a try and comment later. | | Dick | | __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Cold Fusion and Excel question
Depends where your excel file is. If it is on the server then you could set it up as a datasource (or on CF5 as a temporary datasource) and simply query it (not sure how reliable this is) If it is remote, then I have successfully managed to send wddx data directly from excel to the cf server via code in an excel add-in which generates the wddx packet using wddx_com.dll and sends it using AspTear.dll For more info see the wddx SDK I think the CFComet thing instantates Excel on the server which is probably not a good idea. Brian Ferrigno wrote: I need some help in having CF and excel play nice together. Basically I need to import data from an excel spreadsheet into cf, have my application read in the column headers from the first worksheet then try to match the data in each column with a particular column in a SQL Server table. The SQL bit is easy enough, what I need more information on is how to do the excel step. I've already been to cfcomet and can get the file to open in CF. What I need information on is the next few steps involved. This is the first time I am attempting this so any help would be great. Thanks. Brian __ 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: Forging a web page
Sounds like cheating... that should be an expellable offense... to put some balance back into the training of our future corporate execs. At 07:47 AM 9/24/02, you wrote: Are there any tools that allow users change data in a cfm/html page? A fax of one of my web sites' pages made it to my desk yesterday. A student is challenging grades with a forged date in the banner of the web page. I know the date is forged because two separate systems have logged a different date for the activity. I'm curious to know how easy it is to copy a page, all files included, and then modify it. There's the right click save method and notepad, but this is a little too convoluted and tedious. Are there any click and point type browser/editor hybrids that get a page then allow editing the page? Thanks, Brian __ 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: Forging a web page
We run a couple of online tests but in all cases the activity is logged and committed to a database. The Admin has access to run reports etc. ** Kevin Parker Web Services Manager WorkCover Corporation [EMAIL PROTECTED] www.workcover.com p: 08 82332548 f: 08 82332000 m: 0418 806 166 ** -Original Message- From: Brian Scandale [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 25 September 2002 4:43 PM To: CF-Talk Subject: Re: OT: Forging a web page Sounds like cheating... that should be an expellable offense... to put some balance back into the training of our future corporate execs. At 07:47 AM 9/24/02, you wrote: Are there any tools that allow users change data in a cfm/html page? A fax of one of my web sites' pages made it to my desk yesterday. A student is challenging grades with a forged date in the banner of the web page. I know the date is forged because two separate systems have logged a different date for the activity. I'm curious to know how easy it is to copy a page, all files included, and then modify it. There's the right click save method and notepad, but this is a little too convoluted and tedious. Are there any click and point type browser/editor hybrids that get a page then allow editing the page? Thanks, Brian __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: Can't use UNION
Paul Giesenhagen wrote: I am putting together an application and I canot use UNION, here is my query that I have used in the past, does anyone have a solution that would not use UNION? SELECT state, state_abv FROM #request.taxStateTable# UNION ALL SELECT province AS state, province_abv AS state_abv FROM #request.taxCanadaTable# ORDER BY 1 SELECT CASE WHEN tST.state IS NULL THEN tCT.province ELSE tST.state END AS state, CASE WHEN tST.state_abv IS NULL THEN tCT.province_abv ELSE tST.state_abv END AS state_abv FROM #request.taxStateTable# tST FULL OUTER JOIN #request.taxCanadaTable# tCT Jochem __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript Validation for Form Selects in CF ?
Hi I am trying to add javascipt validation to my form fields before the data is submitted to the database via coldfusion, however it is not working correctly and would appreciate any help anybody on the list can give. I am not getting any javascript error messages it is just ignoring the fields that are left blank when they are required to have a value. In the example below the first two fields form.dltitle is a text input field and form.dlsummary is a text area field The form.area and form.dlos are select boxes, and these are the major problem how can these be validated so that the user must select an option from the list ?? This is the javascript SCRIPT LANGUAGE=JavaScript !-- Begin function checkFields() { missinginfo = ; if (document.form.dltitle.value == ) { missinginfo += \n - Title of the File Uploaded; } if (document.form.dlsummary.value == ) { missinginfo += \n - Descriptive Summary of Uploaded File; } if(document.form.area.value == 1){ missinginfo += \n - Please select option for Sel1; } if(document.form.dlos.value == 1){ missinginfo += \n - Please select option for Sel2; } if (missinginfo != ) { missinginfo =_\n + You failed to correctly fill in the:\n + missinginfo + \n_ + \nPlease re-enter the required details and submit again!; alert(missinginfo); return false; } else return true; } // End -- /script form action=dltestaction.cfm ENCTYPE=multipart/form-data method=post name=form id=Form onSubmit=return checkFields(); input name=dltitle class=mini size=40 onkeydown=onKeyDown=textCounter(this.form.dltitle,this.form.remLen,35); onKeyUp=textCounter(this.form.dltitle,this.form.remLen,35); MESSAGE=You must enter a shortened headline for this story to be displayed on the homepage REQUIRED=YESnbsp input readonly type=text name=remLen size=3 class=mini maxlength=3 value=35 font class=modtxtspan id=prev_texto_2characters left/span textarea name=dlsummary class=mini wrap=PHYSICAL rows=4 cols=50 onkeydown=onKeyDown=textCounter(this.form.dlsummary,this.form.remLen1,200); onKeyUp=textCounter(this.form.dlsummary,this.form.remLen1,200); required=YES message=You need to fill in the Comments field/textareanbsp input readonly class=mini type=text name=remLen1 size=3 maxlength=3 value=200 font class=modtxtspan id=prev_texto_2characters left/span /font select size=1 style=font-size: 7.0pt; width: 183px; height: 20px; option selectedSelect File Description ---gt;/option optionPrinter Drivers/option optionSoftware Drivers / Patches/option optionInternet Utilities / Tools/option optionSoftware/option optionDocument Viewers/option optionConfig Viewers/option /select select size=1 name=dlos style=font-size: 7.0pt; width: 183px; height: 20px; option selectedWhat Operating System -/option optionWindows 95/option optionWindows 98+/option optionWindows NT/option optionWindows 2000/option optionUnix/option optionLinux/option optionNot Applicable/option /select input type=submit name=submit value=Submit Form! /form __ 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
Retrieval of cached query failed
oi CF-Talk,!! I keep gettin the above error on one of my servers all of a sudden, and also CFServer is pegging the cpu at 100% for no apparent reason, and will not settle until restarting the service. Anyone seen anything like this??? Or know what causes it? -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion Blog = http://blog.ctzc.com; __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Javascript Validation for Form Selects in CF ?
To check the selected value of a select, use if (document.form.dlos[document.form.dlos.selectedIndex].value == '') etc. also, your file description select doesn't have a name. HTH, Tim P. - Original Message - From: Ian Vaughan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 6:14 AM Subject: Javascript Validation for Form Selects in CF ? Hi I am trying to add javascipt validation to my form fields before the data is submitted to the database via coldfusion, however it is not working correctly and would appreciate any help anybody on the list can give. I am not getting any javascript error messages it is just ignoring the fields that are left blank when they are required to have a value. In the example below the first two fields form.dltitle is a text input field and form.dlsummary is a text area field The form.area and form.dlos are select boxes, and these are the major problem how can these be validated so that the user must select an option from the list ?? This is the javascript SCRIPT LANGUAGE=JavaScript !-- Begin function checkFields() { missinginfo = ; if (document.form.dltitle.value == ) { missinginfo += \n - Title of the File Uploaded; } if (document.form.dlsummary.value == ) { missinginfo += \n - Descriptive Summary of Uploaded File; } if(document.form.area.value == 1){ missinginfo += \n - Please select option for Sel1; } if(document.form.dlos.value == 1){ missinginfo += \n - Please select option for Sel2; } if (missinginfo != ) { missinginfo =_\n + You failed to correctly fill in the:\n + missinginfo + \n_ + \nPlease re-enter the required details and submit again!; alert(missinginfo); return false; } else return true; } // End -- /script form action=dltestaction.cfm ENCTYPE=multipart/form-data method=post name=form id=Form onSubmit=return checkFields(); input name=dltitle class=mini size=40 onkeydown=onKeyDown=textCounter(this.form.dltitle,this.form.remLen,35); onKeyUp=textCounter(this.form.dltitle,this.form.remLen,35); MESSAGE=You must enter a shortened headline for this story to be displayed on the homepage REQUIRED=YESnbsp input readonly type=text name=remLen size=3 class=mini maxlength=3 value=35 font class=modtxtspan id=prev_texto_2characters left/span textarea name=dlsummary class=mini wrap=PHYSICAL rows=4 cols=50 onkeydown=onKeyDown=textCounter(this.form.dlsummary,this.form.remLen1,200); onKeyUp=textCounter(this.form.dlsummary,this.form.remLen1,200); required=YES message=You need to fill in the Comments field/textareanbsp input readonly class=mini type=text name=remLen1 size=3 maxlength=3 value=200 font class=modtxtspan id=prev_texto_2characters left/span /font select size=1 style=font-size: 7.0pt; width: 183px; height: 20px; option selectedSelect File Description ---gt;/option optionPrinter Drivers/option optionSoftware Drivers / Patches/option optionInternet Utilities / Tools/option optionSoftware/option optionDocument Viewers/option optionConfig Viewers/option /select select size=1 name=dlos style=font-size: 7.0pt; width: 183px; height: 20px; option selectedWhat Operating System -/option optionWindows 95/option optionWindows 98+/option optionWindows NT/option optionWindows 2000/option optionUnix/option optionLinux/option optionNot Applicable/option /select input type=submit name=submit value=Submit Form! /form __ 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 Studio Search
Is there a way to stop a CF Studio Extended Search after you have set it off (erm, and not by killing the process!) __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Studio Search
escape Collin Tobin QA Engineer 617 219 2000 [EMAIL PROTECTED] Macromedia® What the web can be.(tm) -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 7:05 AM To: CF-Talk Subject: CF Studio Search Is there a way to stop a CF Studio Extended Search after you have set it off (erm, and not by killing the process!) __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Studio Search
nope, that doesnt do it -Original Message- From: Collin Tobin [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 12:08 To: CF-Talk Subject: RE: CF Studio Search escape Collin Tobin QA Engineer 617 219 2000 [EMAIL PROTECTED] Macromedia® What the web can be.(tm) -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 7:05 AM To: CF-Talk Subject: CF Studio Search Is there a way to stop a CF Studio Extended Search after you have set it off (erm, and not by killing the process!) __ 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 Studio Search
oh my mistake, it does...it just takes ages... -Original Message- From: Collin Tobin [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 12:08 To: CF-Talk Subject: RE: CF Studio Search escape Collin Tobin QA Engineer 617 219 2000 [EMAIL PROTECTED] Macromedia® What the web can be.(tm) -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 7:05 AM To: CF-Talk Subject: CF Studio Search Is there a way to stop a CF Studio Extended Search after you have set it off (erm, and not by killing the process!) __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Studio Search
It does in Studio 5, not sure which version you have... Collin Tobin QA Engineer 617 219 2000 [EMAIL PROTECTED] Macromedia® What the web can be.(tm) -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 7:11 AM To: CF-Talk Subject: RE: CF Studio Search nope, that doesnt do it -Original Message- From: Collin Tobin [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 12:08 To: CF-Talk Subject: RE: CF Studio Search escape Collin Tobin QA Engineer 617 219 2000 [EMAIL PROTECTED] Macromedia® What the web can be.(tm) -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 7:05 AM To: CF-Talk Subject: CF Studio Search Is there a way to stop a CF Studio Extended Search after you have set it off (erm, and not by killing the process!) __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Studio Search
sorry Collin; I have version 5. -Original Message- From: Collin Tobin [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 12:14 To: CF-Talk Subject: RE: CF Studio Search It does in Studio 5, not sure which version you have... Collin Tobin QA Engineer 617 219 2000 [EMAIL PROTECTED] Macromedia® What the web can be.(tm) -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 7:11 AM To: CF-Talk Subject: RE: CF Studio Search nope, that doesnt do it -Original Message- From: Collin Tobin [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 12:08 To: CF-Talk Subject: RE: CF Studio Search escape Collin Tobin QA Engineer 617 219 2000 [EMAIL PROTECTED] Macromedia® What the web can be.(tm) -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 7:05 AM To: CF-Talk Subject: CF Studio Search Is there a way to stop a CF Studio Extended Search after you have set it off (erm, and not by killing the process!) __ 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: Javascript Validation for Form Selects in CF ?
- Original Message - From: Ian Vaughan [EMAIL PROTECTED] I am trying to add javascipt validation to my form fields before the data is submitted to the database via coldfusion, however it is not working correctly and would appreciate any help anybody on the list can give. The form.area and form.dlos are select boxes, and these are the major problem how can these be validated so that the user must select an option from the list ?? Haven't tried to debug your code, but I thought these might be helpful, the set of JS functions I use for client-side validation of select boxes: /* This checks to ensure that no less than a minimum number of options have been selected in a multiple select box formName = the name of the form minChecks = 2-dimensional array - First dimension contains list of fields to be checked - Second dimension contains corresponding minimum number of options to be selected for each one */ function isMinSelected(formName,minChecks) { for (element=0;elementminChecks.length;element++) { var field = eval('document.forms[formName].'+minChecks[element][0]); var check = minChecks[element][1]; if (optionsSelected(formName,minChecks[element][0])check) { alert('The select box \''+minChecks[element][0]+'\' must have at least '+check+' options selected. Sort it out!'); field.focus(); return false; } } return true; } /* This checks to ensure that no more than a maximum number of options have been selected in a multiple select box formName = the name of the form maxChecks = 2-dimensional array - First dimension contains list of fields to be checked - Second dimension contains corresponding maximum number of options to be selected for each one */ function isMaxSelected(formName,maxChecks) { for (element=0;elementmaxChecks.length;element++) { var field = eval('document.forms[formName].'+maxChecks[element][0]); var check = maxChecks[element][1]; if (optionsSelected(formName,maxChecks[element][0])check) { alert('The select box \''+maxChecks[element][0]+'\' cannot have more than '+check+' options selected. Sort it out!'); field.focus(); return false; } } return true; } /* Counts how many options are selected in a multiple select box formName = the name of the form elementName = the name of the select box element */ function optionsSelected(formName,elementName) { var totalSelected = 0; var field = eval('document.forms[formName].'+elementName); for (option=0;optionfield.length;option++) { if (field.options[option].selected) { totalSelected++; } } return totalSelected; } HTH, - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ 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
CFFILE/SCHEDULE
Hey, A few suggestions on how to achieve the following would be GREATLY appreciated. I am creating an app that requires the user to enter their username and password (NO VALIDATION AVAILBLE)... This then sets up an .ins file so that when opens configures their internet settings. I will be using CFFILE to write the file, not sure how to offer it for download, and delete the file after they have downloaded it... Any help appreciated. Kind Regards, Mark Stephenson New Media Director Evolution Internet T: 0870 757 1631 F: 0870 757 1632 W: www.evolutioninternet.co.uk E: [EMAIL PROTECTED] WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. AVIS IMPORTANT: --- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. __ 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
Display 3 column text
Here is my code below. I still can't get it to display in 3 columns? cfquery name=GetEnv datasource=user-profiles dbtype=ODBC SELECT strUsername,strGroup,strSelect FROMprofiles WHERE strUsername = '#auth#' /cfquery table wisth=100% cellpadding=6 cellspacing=0 border=0 align=center tr class=wdirlinks td colspan=2 cfif COOKIE.DisplaySelect GT 0 cfloop index=ListElement list=#COOKIE.DisplaySelect# delimiters=, cfoutput table width=100% cellpadding=2 cellspacing=2 border=0 tr cfset x=1 cfif NOT x MOD 3/trcfif x NEQ #ListElement.RecordCount#tr/cfif/cfif cfset x = x + 1 td class=wdirlinksinput type=checkbox name=select value=checked#ListElement#/td /tr /table /cfoutput /cfloop cfelse nbsp;bNone Selected/b /cfif /td /tr /table --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- __ 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: Retrieval of cached query failed
I have seen this error message in the past for long-running queries on CF 4.5. It appeared to me that CF was marking the query as cached when it began to execute, rather than when the results were returned successfully. If the same query was then executed a second time while the first one was still trying to return results, that error message would appear. I have not seen the same error in CF 5 or CFMX, though that doesn't mean it couldn't still be the case. Chip -Original Message- From: Critter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 6:54 AM To: CF-Talk Subject: Retrieval of cached query failed oi CF-Talk,!! I keep gettin the above error on one of my servers all of a sudden, and also CFServer is pegging the cpu at 100% for no apparent reason, and will not settle until restarting the service. Anyone seen anything like this??? Or know what causes it? -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion Blog = http://blog.ctzc.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
Encryption
Does Encrypt on CFMX still use 32-bit encryption? If so, is there any talk of going higher? __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can't use UNION
Use Q of Q. It provides support for UNIONS. HTH, Sam - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 8:50 PM Subject: Re: Can't use UNION It is a distributed app .. Paul Giesenhagen QuillDesign - Original Message - From: Ken Wilson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 7:50 PM Subject: RE: Can't use UNION I need a query that works in both MySQL and MS SQL 2000 Why? __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Display 3 column text *FOLLOWUP*
Hi, It just occured to me that the examples I've been receiving might not work with my application. The line I'm grabbing from the database and want to display in 3 columns is a comma delimited line which could contain 5-100 names separated by a comma. inetpub,program files, test,temp I need to loop through that string. In my case, #ListElement# which would contain the above line inetpub,program files, test,temp Am I making sense? Here is my code below. I still can't get it to display in 3 columns? cfquery name=ListElement datasource=user-profiles dbtype=ODBC SELECT strUsername,strGroup,strSelect FROMprofiles WHERE strUsername = '#auth#' /cfquery table wisth=100% cellpadding=6 cellspacing=0 border=0 align=center tr class=wdirlinks td colspan=2 cfif COOKIE.DisplaySelect GT 0 cfloop index=ListElement list=#COOKIE.DisplaySelect# delimiters=, cfoutput table width=100% cellpadding=2 cellspacing=2 border=0 tr cfset x=1 cfif NOT x MOD 3/trcfif x NEQ #ListElement.RecordCount#tr/cfif/cfif cfset x = x + 1 td class=wdirlinksinput type=checkbox name=select value=checked#ListElement#/td /tr /table /cfoutput /cfloop cfelse nbsp;bNone Selected/b /cfif /td /tr /table --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: DATE TAG
I rewrote this into a UDF last night called MDYAsString and submitted it to cflib along with DayAsString and YearAsString I will include them below: cfscript /** * Returns an String representation of the day passed into it. * * @return Returns a string. * @author Larry Juncker ([EMAIL PROTECTED]) * @version 1, September 24, 2002 */ function dayAsString(daynum) { var dayList=First,Second,Third,Fourth,Fifth,Sixth,Seventh,Eighth,Ninth,Tenth,El eventh,Twelveth,Thirteenth,Fourteenth,Fifteenth,Sixteenth,Seventeenth,Eighte enth,Nineteenth,Twentieth,Twenty First,Twenty Second,Twenty Third,Twenty Fourth,Twenty Fifth,Twenty Sixth,Twenty Seventh,Twenty Eighth,Twenty Ninth,Thirtieth,Thirty First; var DayAsString = ListGetAt(dayList,daynum); return DayAsString; } /cfscript cfscript /** * Returns a String representation of the Year passed into it. * * @return Returns a stringvalue for aNumeric year. * @author Larry Juncker ([EMAIL PROTECTED]) * @version 1, September 24, 2002 */ function YearAsString(yearnum) { var numTenList=Ten,Twenty,Thirty,Fourty,Fifty,Sixty,Seventy,Eighty,Ninety; var numList=One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten,Eleven,Twelve,Thir teen,Fourteen,Fifteen,Sixteen,Seventeen,Eighteen,Nineteen; var y1=mid(yearnum,1,1); var y2=mid(yearnum,2,1); var y3=mid(yearnum,3,1); var y4=mid(yearnum,4,1); var y2Str = ''; var y3Str = ''; if(y2 gt 0) y2Str = ListGetAt(numList,y2) Hundred; if(y3 gt 0) y3Str = ListGetAt(numTenList,y3); YAS = ListGetAt(numList,y1) Thousand y2Str and y3Str ListGetAt(numList,y4); return YAS; } /cfscript And then the Grandaddy - cfscript /** * Returns an String representation of the day passed into it. * * @input provide a date * @return Returns a string. * @author Larry Juncker ([EMAIL PROTECTED]) * @version 1, September 24, 2002 */ function MDYAsString(daytString) { var dayList=First,Second,Third,Fourth,Fifth,Sixth,Seventh,Eighth,Ninth,Tenth,El eventh,Twelveth,Thirteenth,Fourteenth,Fifteenth,Sixteenth,Seventeenth,Eighte enth,Nineteenth,Twentieth,Twenty First,Twenty Second,Twenty Third,Twenty Fourth,Twenty Fifth,Twenty Sixth,Twenty Seventh,Twenty Eighth,Twenty Ninth,Thirtieth,Thirty First; var DayAsString = ListGetAt(dayList,Day(DaytString)); var numTenList=Ten,Twenty,Thirty,Fourty,Fifty,Sixty,Seventy,Eighty,Ninety; var numList=One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten,Eleven,Twelve,Thir teen,Fourteen,Fifteen,Sixteen,Seventeen,Eighteen,Nineteen; var y1=mid(Year(DaytString),1,1); var y2=mid(Year(DaytString),2,1); var y3=mid(Year(DaytString),3,1); var y4=mid(Year(DaytString),4,1); var y2Str = ''; var y3Str = ''; if(y2 gt 0) y2Str = ListGetAt(numList,y2) Hundred; if(y3 gt 0) y3Str = ListGetAt(numTenList,y3); YAS = The DayAsString day of MonthAsString(Month(DaytString)) , in the year ListGetAt(numList,y1) Thousand y2Str and y3Str ListGetAt(numList,y4); return YAS; } /cfscript cfoutput cfset DaytString = 9/02/1986 #DaytString# - #MDYAsString(DaytString)#BRBR #DateFormat(DateAdd(D,10,DaytString),MM/DD/)# - #MDYAsString(DateAdd(D,10,DaytString))#BRBR #DateFormat(DateAdd(D,20,DaytString),MM/DD/)# - #MDYAsString(DateAdd(D,20,DaytString))#BRBR #DateFormat(DateAdd(D,30,DaytString),MM/DD/)# - #MDYAsString(DateAdd(D,30,DaytString))#BRBR #DateFormat(DateAdd(D,40,DaytString),MM/DD/)# - #MDYAsString(DateAdd(D,40,DaytString))#BRBR /cfoutput Hope these help Larry Juncker Senior Cold fusion Developer Heartland Communications Group, Inc. [EMAIL PROTECTED] (515) 574-2122 CONFIDENTIALITY NOTICE The information contained in this e-mail is intended only for the use of the individual or entity to which it is addressed. This e-mail may contain information that is privileged, confidential and/or personal. If the reader of this message is not the intended recipient (or the employee or agent responsible to deliver it to the intended recipient), you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this communication in error, please notify us at the e-mail listed above. -Original Message- From: Larry Juncker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 4:25 PM To: CF-Talk Subject: RE: DATE TAG Try this - A bit long but it works: cfswitch expression=#Day(Now())# cfcase value=1 cfset dayAsString = First /cfcase cfcase value=2
Mime type
Does anybody knows what is the mime type for chm (compressed help file). thank you Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm __ 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: Javascript Validation for Form Selects in CF ?
Changed the code to and added a name one of the form fields but a javascript syntx error is occuring? what could cause this in the code below?? SCRIPT LANGUAGE=JavaScript !-- Begin function checkFields() { missinginfo = ; if (document.form.dltitle.value == ) { missinginfo += \n - Title of the File Uploaded; } if (document.form.dlsummary.value == ) { missinginfo += \n - Descriptive Summary of Uploaded File; } if (document.form.dlos.selectedIndex == 0 || document.form.dlos.selectedIndex == 1) missinginfo += \n - Please select an operating system; } if (document.form.area.selectedIndex == 0 || document.form.area.selectedIndex == 1) missinginfo += \n - Please select the required area; } if (missinginfo != ) { missinginfo =_\n + You failed to correctly fill in the:\n + missinginfo + \n_ + \nPlease re-enter the required details and submit again!; alert(missinginfo); return false; } else return true; } // End -- - Original Message - From: Tim Painter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 11:53 AM Subject: Re: Javascript Validation for Form Selects in CF ? To check the selected value of a select, use if (document.form.dlos[document.form.dlos.selectedIndex].value == '') etc. also, your file description select doesn't have a name. HTH, Tim P. - Original Message - From: Ian Vaughan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 6:14 AM Subject: Javascript Validation for Form Selects in CF ? Hi I am trying to add javascipt validation to my form fields before the data is submitted to the database via coldfusion, however it is not working correctly and would appreciate any help anybody on the list can give. I am not getting any javascript error messages it is just ignoring the fields that are left blank when they are required to have a value. In the example below the first two fields form.dltitle is a text input field and form.dlsummary is a text area field The form.area and form.dlos are select boxes, and these are the major problem how can these be validated so that the user must select an option from the list ?? This is the javascript SCRIPT LANGUAGE=JavaScript !-- Begin function checkFields() { missinginfo = ; if (document.form.dltitle.value == ) { missinginfo += \n - Title of the File Uploaded; } if (document.form.dlsummary.value == ) { missinginfo += \n - Descriptive Summary of Uploaded File; } if(document.form.area.value == 1){ missinginfo += \n - Please select option for Sel1; } if(document.form.dlos.value == 1){ missinginfo += \n - Please select option for Sel2; } if (missinginfo != ) { missinginfo =_\n + You failed to correctly fill in the:\n + missinginfo + \n_ + \nPlease re-enter the required details and submit again!; alert(missinginfo); return false; } else return true; } // End -- /script form action=dltestaction.cfm ENCTYPE=multipart/form-data method=post name=form id=Form onSubmit=return checkFields(); input name=dltitle class=mini size=40 onkeydown=onKeyDown=textCounter(this.form.dltitle,this.form.remLen,35); onKeyUp=textCounter(this.form.dltitle,this.form.remLen,35); MESSAGE=You must enter a shortened headline for this story to be displayed on the homepage REQUIRED=YESnbsp input readonly type=text name=remLen size=3 class=mini maxlength=3 value=35 font class=modtxtspan id=prev_texto_2characters left/span textarea name=dlsummary class=mini wrap=PHYSICAL rows=4 cols=50 onkeydown=onKeyDown=textCounter(this.form.dlsummary,this.form.remLen1,200); onKeyUp=textCounter(this.form.dlsummary,this.form.remLen1,200); required=YES message=You need to fill in the Comments field/textareanbsp input readonly class=mini type=text name=remLen1 size=3 maxlength=3 value=200 font class=modtxtspan id=prev_texto_2characters left/span /font select size=1 style=font-size: 7.0pt; width: 183px; height: 20px; option selectedSelect File Description ---gt;/option optionPrinter Drivers/option optionSoftware Drivers / Patches/option optionInternet Utilities / Tools/option optionSoftware/option optionDocument Viewers/option optionConfig Viewers/option /select select size=1 name=dlos style=font-size: 7.0pt; width: 183px; height: 20px; option selectedWhat Operating System -/option optionWindows 95/option optionWindows 98+/option optionWindows NT/option optionWindows 2000/option optionUnix/option optionLinux/option optionNot Applicable/option /select input type=submit name=submit value=Submit Form! /form __ This list and all House of
RE: Mime type
application/mshelp, hlp chm, ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Marius Milosav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:02 AM To: CF-Talk Subject: Mime type Does anybody knows what is the mime type for chm (compressed help file). thank you Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm __ 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: Display 3 column text *FOLLOWUP*
cfset j = 1 cfloop list=#listElements# index=i cfoutput#i#/cfoutputcfif check if it j is 3, 6, 9, etc, if so, br or start a new tr cfset j = j + 1 /cfloop Ade -Original Message- From: FlashGuy [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 13:46 To: CF-Talk Subject: Display 3 column text *FOLLOWUP* Hi, It just occured to me that the examples I've been receiving might not work with my application. The line I'm grabbing from the database and want to display in 3 columns is a comma delimited line which could contain 5-100 names separated by a comma. inetpub,program files, test,temp I need to loop through that string. In my case, #ListElement# which would contain the above line inetpub,program files, test,temp Am I making sense? Here is my code below. I still can't get it to display in 3 columns? cfquery name=ListElement datasource=user-profiles dbtype=ODBC SELECT strUsername,strGroup,strSelect FROMprofiles WHERE strUsername = '#auth#' /cfquery table wisth=100% cellpadding=6 cellspacing=0 border=0 align=center tr class=wdirlinks td colspan=2 cfif COOKIE.DisplaySelect GT 0 cfloop index=ListElement list=#COOKIE.DisplaySelect# delimiters=, cfoutput table width=100% cellpadding=2 cellspacing=2 border=0 tr cfset x=1 cfif NOT x MOD 3/trcfif x NEQ #ListElement.RecordCount#tr/cfif/cfif cfset x = x + 1 td class=wdirlinksinput type=checkbox name=select value=checked#ListElement#/td /tr /table /cfoutput /cfloop cfelse nbsp;bNone Selected/b /cfif /td /tr /table --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Display 3 column text *FOLLOWUP*
cfif check if it j is 3, 6, 9, etc, if so, Simplest way (I think) is cfif j MOD 3 EQ 0 Better is if you use a variable for your columns. cfif j MOD columnCount EQ 0 -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:14 AM To: CF-Talk Subject: RE: Display 3 column text *FOLLOWUP* cfset j = 1 cfloop list=#listElements# index=i cfoutput#i#/cfoutputcfif check if it j is 3, 6, 9, etc, if so, br or start a new tr cfset j = j + 1 /cfloop Ade -Original Message- From: FlashGuy [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 13:46 To: CF-Talk Subject: Display 3 column text *FOLLOWUP* Hi, It just occured to me that the examples I've been receiving might not work with my application. The line I'm grabbing from the database and want to display in 3 columns is a comma delimited line which could contain 5-100 names separated by a comma. inetpub,program files, test,temp I need to loop through that string. In my case, #ListElement# which would contain the above line inetpub,program files, test,temp Am I making sense? Here is my code below. I still can't get it to display in 3 columns? cfquery name=ListElement datasource=user-profiles dbtype=ODBC SELECT strUsername,strGroup,strSelect FROMprofiles WHERE strUsername = '#auth#' /cfquery table wisth=100% cellpadding=6 cellspacing=0 border=0 align=center tr class=wdirlinks td colspan=2 cfif COOKIE.DisplaySelect GT 0 cfloop index=ListElement list=#COOKIE.DisplaySelect# delimiters=, cfoutput table width=100% cellpadding=2 cellspacing=2 border=0 tr cfset x=1 cfif NOT x MOD 3/trcfif x NEQ #ListElement.RecordCount#tr/cfif/cfif cfset x = x + 1 td class=wdirlinksinput type=checkbox name=select value=checked#ListElement#/td /tr /table /cfoutput /cfloop cfelse nbsp;bNone Selected/b /cfif /td /tr /table --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- __ 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: DATE TAG
I did consider it (for about a second) and realized I would never ever have a need for this function, and the tagging and submission would double the development time. =) Thankfully Larry Juncker spruced it and posted it to cflib.org Jerry Johnson [EMAIL PROTECTED] 09/24/02 06:01PM Thanks, you might want to consider wrapping it into a UDF or cf_tag. Thanks again, STEVE At 05:21 PM 9/24/2002 -0400, you wrote: Don't blame me if it doesn't work. Hasn't been tested. The paint is still wet. cfparam name=dateString default=#now()# cfset dayList=First,Second,Third,Fourth,Fifth,Sixth,Seventh,Eighth,Ninth,Tenth,Eleventh,Twelveth,Thirteenth,Fourteenth,Fifteenth,Sixteenth,Seventeenth,Eighteenth,Nineteenth,Twentieth,Twenty First,Twenty Second,Twenty Third,Twenty Fourth,Twenty Fifth,Twenty Sixth,Twenty Seventh,Twenty Eighth,Twenty Ninth,Thirtieth,Thirty First cfset numList=One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten,Eleven,Twelve,Thirteen,Fourteen,Fifteen,Sixteen,Seventeen,Eighteen,Nineteen cfset numTenList=Ten,Twenty,Thirty,Fourty,Fifty,Sixty,Seventy,Eighty,Ninety cfset y=year(dateString) cfset m=monthasstring(month(dateString)) cfset d=listGetAt(dayList,day(dateString)) cfset y=right(1+y,4) cfset d1=mid(y,4,1) cfset d2=mid(y,3,1) cfset d3=mid(y,2,1) cfset d4=mid(y,1,1) cfset returnString=The #d# Day of #m#, in the year cfif d4 gt 0 cfset returnString=listAppend(returnString,#listGetAt(numList,d4)# Thousand, ) /cfif cfif d3 gt 0 cfset returnString=listAppend(returnString,#listGetAt(numList,d3)# Hundred, ) /cfif cfif d2 gt 0 or d1 gt 0 cfset returnString=listAppend(returnString,and, ) /cfif cfif d2 eq 1 cfif d2 gt 0 cfset returnString=listAppend(returnString,#listGetAt(numList,d2d1)#, ) /cfif cfelse cfif d2 gt 0 cfset returnString=listAppend(returnString,#listGetAt(numTenList,d2)#, ) /cfif cfif d1 gt 0 cfset returnString=listAppend(returnString,#listGetAt(numList,d1)#, ) /cfif /cfif brbr cfoutput #returnString# /cfoutput [EMAIL PROTECTED] 09/24/02 04:34PM Has anyone seen a tag or know of a way to get CF to produce the date in the following format: 09/22/2002 would read..The Twenty Second day of September, in the year Two Thousand and Two. Steve __ 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: Display 3 column text *FOLLOWUP*
OK...I added your code and now I get an error. Why? Error Diagnostic Information LIST The value cannot be converted to a string because it is not a simple value. Simple values are booleans, numbers, strings and date-time values. The error occurred while processing an element with a general identifier of (CFLOOP) Here is my code with yours included: cfquery name=ListElement datasource=user-profiles dbtype=ODBC SELECT strUsername,strGroup,strSelect FROMprofiles WHERE strUsername = '#auth#' /cfquery table width=100% cellpadding=6 cellspacing=0 border=0 align=center tr class=wdirlinks td colspan=2 cfif COOKIE.DisplaySelect GT 0 cfset j = 1 cfloop list=#listElement# index=i cfoutput#i#/cfoutput cfif j MOD 3 EQ 0 tr /cfif cfset j = j + 1 /cfloop cfelse nbsp;bNone Selected/b /cfif /td /tr /table --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Javascript Validation for Form Selects in CF ?
Changed the code to and added a name one of the form fields but a javascript syntx error is occuring? what could cause this in the code below?? SCRIPT LANGUAGE=JavaScript !-- Begin function checkFields() { missinginfo = ; if (document.form.dltitle.value == ) { missinginfo += \n - Title of the File Uploaded; } if (document.form.dlsummary.value == ) { missinginfo += \n - Descriptive Summary of Uploaded File; } if (document.form.dlos.selectedIndex == 0 || document.form.dlos.selectedIndex == 1) missinginfo += \n - Please select an operating system; } if (document.form.area.selectedIndex == 0 || document.form.area.selectedIndex == 1) missinginfo += \n - Please select the required area; } if (missinginfo != ) { missinginfo =_\n + You failed to correctly fill in the:\n + missinginfo + \n_ + \nPlease re-enter the required details and submit again!; alert(missinginfo); return false; } else return true; } // End -- I think you need to be referring to your form elements as: document.forms[0].fieldname.value == as opposed to: document.form.fieldname.value == where forms[0] assumes there is only one form on your page. If there is more than one form, you would use forms[1], forms[2], etc. Alternatively, you can refer to the name attribute of the form tag: document.myForm.fieldname.value I didn't check to see if form is what you named your form. If it is, try changing it, as it might be a reserved word. Hope this helps, 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: Display 3 column text *FOLLOWUP*
Hi all, I figured out me error. It's working now! Thanks for all your help. On Wed, 25 Sep 2002 09:26:53 -0400, FlashGuy wrote: OK...I added your code and now I get an error. Why? Error Diagnostic Information LIST The value cannot be converted to a string because it is not a simple value. Simple values are booleans, numbers, strings and date-time values. The error occurred while processing an element with a general identifier of (CFLOOP) Here is my code with yours included: cfquery name=ListElement datasource=user-profiles dbtype=ODBC SELECT strUsername,strGroup,strSelect FROMprofiles WHERE strUsername = '#auth#' /cfquery table width=100% cellpadding=6 cellspacing=0 border=0 align=center tr class=wdirlinks td colspan=2 cfif COOKIE.DisplaySelect GT 0 cfset j = 1 cfloop list=#listElement# index=i cfoutput#i#/cfoutput cfif j MOD 3 EQ 0 tr /cfif cfset j = j + 1 /cfloop cfelse nbsp;bNone Selected/b /cfif /td /tr /table --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- __ 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: Display 3 column text *FOLLOWUP*
ListElement isn't a list. It's a query. Did you want cfloop list=#listElement.ColumnList# index=i ? -Original Message- From: FlashGuy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:27 AM To: CF-Talk Subject: RE: Display 3 column text *FOLLOWUP* OK...I added your code and now I get an error. Why? Error Diagnostic Information LIST The value cannot be converted to a string because it is not a simple value. Simple values are booleans, numbers, strings and date-time values. The error occurred while processing an element with a general identifier of (CFLOOP) Here is my code with yours included: cfquery name=ListElement datasource=user-profiles dbtype=ODBC SELECT strUsername,strGroup,strSelect FROMprofiles WHERE strUsername = '#auth#' /cfquery table width=100% cellpadding=6 cellspacing=0 border=0 align=center tr class=wdirlinks td colspan=2 cfif COOKIE.DisplaySelect GT 0 cfset j = 1 cfloop list=#listElement# index=i cfoutput#i#/cfoutput cfif j MOD 3 EQ 0 tr /cfif cfset j = j + 1 /cfloop cfelse nbsp;bNone Selected/b /cfif /td /tr /table --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Javascript Validation for Form Selects in CF ?
Ian, You have a couple of extra left curly braces after the check on dlos and area -- missinginfo += \n - Please select an operating system; } --- Remove this missinginfo += \n - Please select the required area; } --- and this one too. Tim P. - Original Message - From: Ian Vaughan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:06 AM Subject: Re: Javascript Validation for Form Selects in CF ? Changed the code to and added a name one of the form fields but a javascript syntx error is occuring? what could cause this in the code below?? SCRIPT LANGUAGE=JavaScript !-- Begin function checkFields() { missinginfo = ; if (document.form.dltitle.value == ) { missinginfo += \n - Title of the File Uploaded; } if (document.form.dlsummary.value == ) { missinginfo += \n - Descriptive Summary of Uploaded File; } if (document.form.dlos.selectedIndex == 0 || document.form.dlos.selectedIndex == 1) missinginfo += \n - Please select an operating system; } if (document.form.area.selectedIndex == 0 || document.form.area.selectedIndex == 1) missinginfo += \n - Please select the required area; } if (missinginfo != ) { missinginfo =_\n + You failed to correctly fill in the:\n + missinginfo + \n_ + \nPlease re-enter the required details and submit again!; alert(missinginfo); return false; } else return true; } // End -- - Original Message - From: Tim Painter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 11:53 AM Subject: Re: Javascript Validation for Form Selects in CF ? To check the selected value of a select, use if (document.form.dlos[document.form.dlos.selectedIndex].value == '') etc. also, your file description select doesn't have a name. HTH, Tim P. - Original Message - From: Ian Vaughan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 6:14 AM Subject: Javascript Validation for Form Selects in CF ? Hi I am trying to add javascipt validation to my form fields before the data is submitted to the database via coldfusion, however it is not working correctly and would appreciate any help anybody on the list can give. I am not getting any javascript error messages it is just ignoring the fields that are left blank when they are required to have a value. In the example below the first two fields form.dltitle is a text input field and form.dlsummary is a text area field The form.area and form.dlos are select boxes, and these are the major problem how can these be validated so that the user must select an option from the list ?? This is the javascript SCRIPT LANGUAGE=JavaScript !-- Begin function checkFields() { missinginfo = ; if (document.form.dltitle.value == ) { missinginfo += \n - Title of the File Uploaded; } if (document.form.dlsummary.value == ) { missinginfo += \n - Descriptive Summary of Uploaded File; } if(document.form.area.value == 1){ missinginfo += \n - Please select option for Sel1; } if(document.form.dlos.value == 1){ missinginfo += \n - Please select option for Sel2; } if (missinginfo != ) { missinginfo =_\n + You failed to correctly fill in the:\n + missinginfo + \n_ + \nPlease re-enter the required details and submit again!; alert(missinginfo); return false; } else return true; } // End -- /script form action=dltestaction.cfm ENCTYPE=multipart/form-data method=post name=form id=Form onSubmit=return checkFields(); input name=dltitle class=mini size=40 onkeydown=onKeyDown=textCounter(this.form.dltitle,this.form.remLen,35); onKeyUp=textCounter(this.form.dltitle,this.form.remLen,35); MESSAGE=You must enter a shortened headline for this story to be displayed on the homepage REQUIRED=YESnbsp input readonly type=text name=remLen size=3 class=mini maxlength=3 value=35 font class=modtxtspan id=prev_texto_2characters left/span textarea name=dlsummary class=mini wrap=PHYSICAL rows=4 cols=50 onkeydown=onKeyDown=textCounter(this.form.dlsummary,this.form.remLen1,200); onKeyUp=textCounter(this.form.dlsummary,this.form.remLen1,200); required=YES message=You need to fill in the Comments field/textareanbsp input readonly class=mini type=text name=remLen1 size=3 maxlength=3 value=200 font class=modtxtspan id=prev_texto_2characters left/span /font select size=1 style=font-size: 7.0pt; width: 183px; height: 20px; option selectedSelect File Description ---gt;/option optionPrinter Drivers/option optionSoftware Drivers / Patches/option optionInternet Utilities / Tools/option
Re: Mime type
Thanks, but unfortunately application/mshelp is not the one for compressed help files, just for normal ones (hlp) Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:11 AM Subject: RE: Mime type application/mshelp, hlp chm, ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Marius Milosav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:02 AM To: CF-Talk Subject: Mime type Does anybody knows what is the mime type for chm (compressed help file). thank you Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm __ 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: Can't use UNION
v3.2.3 doesn't support FULL OUTER JOIN... Jochem .. I thought you had it for me, dang! Paul Giesenhagen QuillDesign - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 4:31 AM Subject: Re: OT: Can't use UNION Paul Giesenhagen wrote: I am putting together an application and I canot use UNION, here is my query that I have used in the past, does anyone have a solution that would not use UNION? SELECT state, state_abv FROM #request.taxStateTable# UNION ALL SELECT province AS state, province_abv AS state_abv FROM #request.taxCanadaTable# ORDER BY 1 SELECT CASE WHEN tST.state IS NULL THEN tCT.province ELSE tST.state END AS state, CASE WHEN tST.state_abv IS NULL THEN tCT.province_abv ELSE tST.state_abv END AS state_abv FROM #request.taxStateTable# tST FULL OUTER JOIN #request.taxCanadaTable# tCT Jochem __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Mime type
shite. sorry. thought it was right. ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Marius Milosav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:54 AM To: CF-Talk Subject: Re: Mime type Thanks, but unfortunately application/mshelp is not the one for compressed help files, just for normal ones (hlp) Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:11 AM Subject: RE: Mime type application/mshelp, hlp chm, ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Marius Milosav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:02 AM To: CF-Talk Subject: Mime type Does anybody knows what is the mime type for chm (compressed help file). thank you Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: OT: Forging a web page
Not necessarily cheating...Just using whatever resources are available to get the job done. Isn't that what real life is all about? Give this guy an A! But explain it better NOT happen again. Brian Yager President - North AL Cold Fusion Users Group http://www.nacfug.com Sr. Systems Analyst Sverdrup/CIC [EMAIL PROTECTED] (256) 842-8342 -Original Message- From: Brian Scandale [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 2:13 AM To: CF-Talk Subject: Re: OT: Forging a web page Sounds like cheating... that should be an expellable offense... to put some balance back into the training of our future corporate execs. At 07:47 AM 9/24/02, you wrote: Are there any tools that allow users change data in a cfm/html page? A fax of one of my web sites' pages made it to my desk yesterday. A student is challenging grades with a forged date in the banner of the web page. I know the date is forged because two separate systems have logged a different date for the activity. I'm curious to know how easy it is to copy a page, all files included, and then modify it. There's the right click save method and notepad, but this is a little too convoluted and tedious. Are there any click and point type browser/editor hybrids that get a page then allow editing the page? Thanks, Brian __ 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[2]: Retrieval of cached query failed
oi Chip!! thanks, i'll have a look at it. -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion Blog = http://blog.ctzc.com; Wednesday, September 25, 2002, 8:17:40 AM, you wrote: CG I have seen this error message in the past for long-running queries on CG CF 4.5. It appeared to me that CF was marking the query as cached when CG it began to execute, rather than when the results were returned CG successfully. If the same query was then executed a second time while CG the first one was still trying to return results, that error message CG would appear. CG I have not seen the same error in CF 5 or CFMX, though that doesn't mean CG it couldn't still be the case. CG Chip CG -Original Message- CG From: Critter [mailto:[EMAIL PROTECTED]] CG Sent: Wednesday, September 25, 2002 6:54 AM CG To: CF-Talk CG Subject: Retrieval of cached query failed CG oi CF-Talk,!! CG I keep gettin the above error on one of my servers all of a sudden, CG and also CFServer is pegging CG the cpu at 100% for no apparent reason, and will not settle until CG restarting the service. Anyone CG seen anything like this??? Or know what causes it? CG -- CG Critz CGMacromedia Certified Advanced ColdFusion Developer CGCFX_BotMaster Network=Efnet CG Channel=ColdFusion Blog = http://blog.ctzc.com; CG __ 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
input tag
I'm using 3 column frames on my site with the following names. | left | middle | right | I have this input line on a page in the right frame. When I click on the Refresh button I want the middle frame refreshed. The below only refreshes the right frame when clicked. Whats wrong with my syntax or JS? input type=button value=Refresh class=navlinks onClick=javascript:history.go(0); target=middle --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- __ 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
Mass Database update
We have a client that wants to drop a database table and replace it with a new one every once and a while. Is there any dummy proof ways of doing this? Have them upload a CSV, use CFFILE to loop over the information and import it? The data will start as an Excel table. __ 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: Can't use UNION
Paul, are you using CFMX? Because you could run your separate queries and then QoQ with a UNION statement. I know it's not a SQL solution, but it might do you alright- Tyler email | [EMAIL PROTECTED] - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:53 AM Subject: Re: OT: Can't use UNION v3.2.3 doesn't support FULL OUTER JOIN... Jochem .. I thought you had it for me, dang! Paul Giesenhagen QuillDesign - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 4:31 AM Subject: Re: OT: Can't use UNION Paul Giesenhagen wrote: I am putting together an application and I canot use UNION, here is my query that I have used in the past, does anyone have a solution that would not use UNION? SELECT state, state_abv FROM #request.taxStateTable# UNION ALL SELECT province AS state, province_abv AS state_abv FROM #request.taxCanadaTable# ORDER BY 1 SELECT CASE WHEN tST.state IS NULL THEN tCT.province ELSE tST.state END AS state, CASE WHEN tST.state_abv IS NULL THEN tCT.province_abv ELSE tST.state_abv END AS state_abv FROM #request.taxStateTable# tST FULL OUTER JOIN #request.taxCanadaTable# tCT Jochem __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Mass Database update
run it all in a dts package truncate the table and then use bcp to import the csv file. -Original Message- From: Chad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 10:37 AM To: CF-Talk Subject: Mass Database update We have a client that wants to drop a database table and replace it with a new one every once and a while. Is there any dummy proof ways of doing this? Have them upload a CSV, use CFFILE to loop over the information and import it? The data will start as an Excel table. __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Mass Database update
BCP? -Original Message- From: Joshua Tipton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:38 AM To: CF-Talk Subject: RE: Mass Database update run it all in a dts package truncate the table and then use bcp to import the csv file. -Original Message- From: Chad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 10:37 AM To: CF-Talk Subject: Mass Database update We have a client that wants to drop a database table and replace it with a new one every once and a while. Is there any dummy proof ways of doing this? Have them upload a CSV, use CFFILE to loop over the information and import it? The data will start as an Excel table. __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Mass Database update
You'll probably not want to tackle this with ColdFusion. Use a transformation tool native to your DB if it's truly 'massive'. This will give you the most integrity/performance. If you want to automate the process using ColdFusion, that would be fine. Have them upload the Excel spreadsheet via CFFILE, and then have CF fire a StoredProcedure on your DB to import the information properly from Excel. You could pass the Stored Procedure the excel file name and make it truly dynamic/automated. Adam. -Original Message- From: Chad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:37 AM To: CF-Talk Subject: Mass Database update We have a client that wants to drop a database table and replace it with a new one every once and a while. Is there any dummy proof ways of doing this? Have them upload a CSV, use CFFILE to loop over the information and import it? The data will start as an Excel table. __ 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/localhost/OpenwaveSDK/WML, anyone?
I have done it, but never had any problems with 505 errors. Did you try typing the absolute URL? http://localhost/wap_test/index.cfm ( or whatever ). Beyond that I'm not sure what your problem might be. At 09:46 PM 9/24/2002 -0400, you wrote: Hi all, has anyone ever used the Openwave SDK? I downloaded it at developer.openwave.com and set it up and it's working fine when I just write wml docs. What I'd like to do, is set up files in my wwwroot and test CF/wml pages in the testing environment of the SDK without having to upload things, using the single server CF license... Why isn't this possible? Whenever I type in http://localhost/wap_test/ as the url (which is all set up correctly) I can't get the browser to open the page? I'm trying to run a basic CFM page and I get an error 505 on the little test browser in the SDK. It's a Service not Supported error. Anyone know of anyway to program pages in CF and preview them as they'd look and operate in the WAP Browser without having to upload it all? You *DO* get charged for on-line air time, and it'd be a WHOLE lot cheaper to just test on my machine...lol __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Mass Database update
If you're using SQL server then you can do this much more efficiently with a DTS. http://www.sqlteam.com/item.asp?ItemID=10627 HTH, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com - 631-737-4668 x101 *** Please vote for iMS here: http://www.sys-con.com/coldfusion/readerschoice2002/nominationform.cfm *** inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm - Original Message - From: Chad [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 10:36 AM Subject: Mass Database update We have a client that wants to drop a database table and replace it with a new one every once and a while. Is there any dummy proof ways of doing this? Have them upload a CSV, use CFFILE to loop over the information and import it? The data will start as an Excel table. __ 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: input tag
http://developer.irt.org/script/frame.htm -Original Message- From: FlashGuy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:28 AM To: CF-Talk Subject: input tag I'm using 3 column frames on my site with the following names. | left | middle | right | I have this input line on a page in the right frame. When I click on the Refresh button I want the middle frame refreshed. The below only refreshes the right frame when clicked. Whats wrong with my syntax or JS? input type=button value=Refresh class=navlinks onClick=javascript:history.go(0); target=middle --- Colonel Nathan R. Jessop Commanding Officer Marine Ground Forces Guatanamo Bay, Cuba --- __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Mass Database update
Chad, DTS will allow you to import from a .CSV. To dummy proof it use the column transformations tool in the package designer and write little validation routines in VB script. The little IDE makes it pretty easy. You can validate for length, numeric, date etc. (the date validation is tricky). I've always liked this approach rather than CF for file import. CF is ok if you have a limited number of rows, but long running HTTP requests are not usually the way to go - my .02. -mk -Original Message- From: Chad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:37 AM To: CF-Talk Subject: Mass Database update We have a client that wants to drop a database table and replace it with a new one every once and a while. Is there any dummy proof ways of doing this? Have them upload a CSV, use CFFILE to loop over the information and import it? The data will start as an Excel table. __ 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
IP Address as CF Number
Can an IP address be safely manipulated as a CF numeric variable? I want to be able to apply network masks using the BitAND() function to determine if a given address is on a particular subnet. My concern is that IP addresses are 32 bit unsigned numbers, but if I'm not mistaken, CF numeric variable are 32 bit signed. Jim __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: IP Address as CF Number
they are effectively just lists with a period delimiter AFAIK -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 15:38 To: CF-Talk Subject: IP Address as CF Number Can an IP address be safely manipulated as a CF numeric variable? I want to be able to apply network masks using the BitAND() function to determine if a given address is on a particular subnet. My concern is that IP addresses are 32 bit unsigned numbers, but if I'm not mistaken, CF numeric variable are 32 bit signed. Jim __ 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: IP Address as CF Number
sorry, I totally missed the point of that post.:-) I just read the first line!!! aahhh its nearly hometime. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 16:07 To: CF-Talk Subject: RE: IP Address as CF Number they are effectively just lists with a period delimiter AFAIK -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 15:38 To: CF-Talk Subject: IP Address as CF Number Can an IP address be safely manipulated as a CF numeric variable? I want to be able to apply network masks using the BitAND() function to determine if a given address is on a particular subnet. My concern is that IP addresses are 32 bit unsigned numbers, but if I'm not mistaken, CF numeric variable are 32 bit signed. Jim __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: IP Address as CF Number
Yes, that's how IP addresses are normally represented in a human readable form. I've created a function to apply a network mask to an address in this form, but it would be much faster to do a single AND. // Return the network base address given an ipaddress and an ip // network mask -- both must be in dotted quad notation. function IPNetwork(ipaddress, ipmask) { var i = 1; var r = ; for (i=1; i lte 4; i=i+1) r = ListAppend(r, BitAnd(ListGetAt(ipaddress, i, .), ListGetAt(ipmask, i, .)), .); return r; } - Original Message - From: Robertson-Ravo, Neil (REC) [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:07 AM Subject: RE: IP Address as CF Number they are effectively just lists with a period delimiter AFAIK -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 15:38 To: CF-Talk Subject: IP Address as CF Number Can an IP address be safely manipulated as a CF numeric variable? I want to be able to apply network masks using the BitAND() function to determine if a given address is on a particular subnet. My concern is that IP addresses are 32 bit unsigned numbers, but if I'm not mistaken, CF numeric variable are 32 bit signed. Jim __ 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: milonic menus question
Quick question. I'm having problems passing a variable with the milonic menus. In my testing I've found that CLIENT variables pass fine- it's my attributes.variable or form.variable that doesn't pass. Can milonic only pass client or session variables? Thanks for any insight. Janine __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Advanced Statistical Analysis
Hi Folks, So, we have a client that wants some complex statistical analysis of her data. The way we've always dealt with that in the past is we've given the client an excel download that she can import into SAS or SPSS, but now she thinks it's important for our institution to be able to do this stuff real-time on the web. The boss has pretty much said, no way. But, I'm curious. Has anyone done things like regression anaylsis, t-tests, and the like using CF? If so, did you hook into some more powerful stats package behind the scenes, etc. etc? Thanks. -d Deanna Schneider Interactive Media Developer [EMAIL PROTECTED] __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Web Search NS Error
I have a search form on a page that uses js (which I didn't write) to call a new window using whichever search engine was selected. Anyone have any ideas why it won't work with Netscape 4.7? It calls up a new window with a 405 error. I may just do it with CF for Nutscrape. Here's the code: script language=javascript !-- shields up! var isIE = false; if (parseInt(navigator.appVersion) = 4) { if (navigator.appName == Netscape) { } else { isIE = true; } } /* Begin Kill Nesting */ setTimeout (changePage(), 3000); function changePage() { if (self.parent.frames.length != 0) self.parent.location=document.location; } /* End Kill Nesting */ /*yummy Cookies*/ function setCookie(name,value,expires,path,domain,secure){ var curCookie = name + = + escape(value) + ((expires) ? ; expires= + expires.toGMTString() : ) + ((path) ? ; path= + path : ) + ((domain) ? ; domain= + domain : ) + ((secure) ? ; secure : ); document.cookie = curCookie; } function DeleteCookie(name,path,domain){ if(getCookie(name)){ document.cookie = name + = + ((path) ? ; path= + path : ) + ((domain) ? ; domain= + domain : ) + ; expires=Thu, 27-Sep-74 12:32:01 GMT; } } function processSearch() { formObj = document.internetsearch; mySearcher = formObj.tosearch.value; mySearch = formObj.search.value; var searchSite; switch (mySearcher) { case google: searchSite = 'http://www.google.com'; myQuery ='http://www.google.com/search?q='+mySearch; break; case yahoo: searchSite = 'http://www.yahoo.com'; myQuery ='http://search.yahoo.com/bin/search?p='+mySearch; break; case dogpile: searchSite = 'http://www.dogpile.com'; myQuery ='http://search.dogpile.com/texis/search?q='+mySearch+'geo=nofs=web'; break; case mamma: searchSite = 'http://www.mamma.com'; myQuery ='http://www.mamma.com/Mamma?query='+mySearch+'qtype=0'; break; case altavista: searchSite = 'http://www.altavista.com'; myQuery ='http://altavista.com/sites/search/web?q='+mySearch+'pg=qkl=XX'; break; case lycos: searchSite = 'http://www.lycos.com'; myQuery ='http://search.lycos.com/main/default.asp?lpv=1loc=searchhpquery='+my Search; break; case infoseek: searchSite = 'http://www.infoseek.com'; myQuery ='http://www.overture.com/d/search/p/go/?Partner=go_homeKeywords='+mySe arch+'Go=Searchinput='; break; case metacrawler: searchSite = 'http://www.metacrawler.com'; myQuery ='http://search.metacrawler.com/crawler?general='+mySearch+'method=0re direct=rpp=20hpe=10region=0timeout=0sort=0theme=classic'; break; case webcrawler: searchSite = 'http://www.webcrawler.com'; myQuery ='http://search.excite.com/search.gw?c=weblk=webcrawleronload=s='+myS earch; break; case excite: searchSite = 'http://www.excite.com'; myQuery ='http://search.excite.com/search.gw?c=websearch='+mySearch; break; default: myQuery =''; } var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(lastSearch, mySearch, now, /); var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(mySearcher, mySearcher, now, /); if (mySearch == ) { window.open(searchSite); return false; } if (myQuery){ window.open(myQuery); return false; } else { return true; } } function setSearchCookie() { formObj = document.internetsearch; mySearcher = formObj.tosearch.value; mySearch = formObj.search.value; var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(mySearcher, mySearcher, now, /); } -- /script table width=195 border=0 cellspacing=0 cellpadding=0 cfform name=internetsearch method=post onSubmit=return processSearch() action= tr td width=142 class=arial_10Type your keyword or phrase then press 'GO'/td td height=28input type=image border=0 name=search_go src=images/go.gif width=26 height=28 alt=go/td /tr tr td colspan=2 cfif browser eq NS cfinput type=Text name=search message=You must enter Keyword or Phrase to search required=Yes size=8 style=font-family: Verdana; font-size: x-small; cfelse cfinput type=Text name=search message=You must enter Keyword or Phrase to search required=Yes size=15 style=font-family: Verdana; font-size: xx-small; /cfif cfselect name=tosearch onChange=setSearchCookie() style=font-family: Verdana; font-size: xx-small; option value='altavista'Alta Vista/option option value='dogpile'DogPile/option option
Properly handling checkboxes
I've got an HTML form that consists of mostly checkboxes. Initially, when I tested submitting the form, it was giving me problems for the checkboxes that were NOT checked. So I figured, OK, I need to figure out some way to get the current value of the checkbox, then go ahead and set it to checked, and then I'll be able to submit the form. So I wrote a little JavaScript function that loops through all of the items in the form, if it's a checkbox, it checks whether or not it is checked, and sets it's value, then it sets it to checked, and then it submits the form. All well and good, and actually does what I need it to do, IF the user ends up being satisfied with the options that they checked. I'd like to go ahead have the action template for the form also be a confirmation page, which will allow the user to review the options that they've checked, and then submit their options to our database. My problem now though, is that if a user realizes that they've inadvertently c! hecked a box that they didn't mean to, or didn't check a box that they needed to, I can put a link on that page so that they can go back to the form and correct their options, but when you just go back (using something like javascript: history.go(-1) or something like that), now ALL of the checkboxes are checked. Is there a better way (I'm sure there must be, I just don't know what it is) to handle the submission of forms with checkboxes, so that if a user has to go back to the form and make changes, that it will set the form back to what they had originally selected? Any thoughts or ideas would be greatly appreciated. ::YEX:: ))) /* || Robert D. Yexley || Oracle Programmer/Analyst || Northrop Grumman IT || Contractor - Wright Research Site MIS || Det-1 AFRL/WSI Bldg. 45 Rm. 062 || (937) 255-1984 || [EMAIL PROTECTED] || ))) */ Robert D. Yexley (E-mail).vcf __ 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: Advanced Statistical Analysis
We played a little bit...a long time ago, in a galaxy far, far away :-) Actually, we did some stuff with SAS by establishing an ODBC connection to an existing SAS dataset, which then could be displayed with CF. But if you don't have SAS that could be a problem. Dave Deeds Idaho Power Company [EMAIL PROTECTED] -Original Message- From: Deanna Schneider [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:21 AM To: CF-Talk Subject: Advanced Statistical Analysis Hi Folks, So, we have a client that wants some complex statistical analysis of her data. The way we've always dealt with that in the past is we've given the client an excel download that she can import into SAS or SPSS, but now she thinks it's important for our institution to be able to do this stuff real-time on the web. The boss has pretty much said, no way. But, I'm curious. Has anyone done things like regression anaylsis, t-tests, and the like using CF? If so, did you hook into some more powerful stats package behind the scenes, etc. etc? Thanks. -d Deanna Schneider Interactive Media Developer [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
OT: ColdFusion Enterprise For Sale
I apologize for the off-topic post. I have a copy of ColdFusion MX Enterprise for sale. This is the full version, not an upgrade. This is unused and was only opened to verify the box contents. I may be willing to consider an exchange. ( I have a fondness for all things musical and am looking for microphones and pre-amps to boost my home studio and / or I'm looking to get my hands on a Microsoft-publisher type of program ) If anyone is interested, you can contact me off-list. Thank You! -- Jeffry Houser | mailto:[EMAIL PROTECTED] Need a Web Developer? Contact me! AIM: Reboog711 | Phone: 1-203-379-0773 -- Vote for ColdFusion: A Beginner's Guide in the ColdFusion Developer's Journal Readers Choice Awards http://www.sys-con.com/coldfusion/readerschoice2002/ -- My CFMX Book: http://www.amazon.com/exec/obidos/ASIN/0072225564/instantcoldfu-20 My Books: http://www.instantcoldfusion.com My Band: http://www.farcryfly.com __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Question about RE: Re-Sort a Query...
I actually had to just accomplish something similar to this last week, but I had to sort just a subset of a main query, basically just sort the N records you were viewing on the screen. (N is set by user) I did this by building a new query from the main query but only using the rows shown: !--- Set a variable that can be evaluated as the users query columnlist --- cfset qry_cols = Evaluate(query_name '.columnlist') !--- Build a new query, getdata, limited to just the records we want on that page --- cfset getdata = queryNew(qry_cols) cfoutput query=#query_name# startrow=#start_row# maxrows=#NumRowsDisplay# cfset tmp = queryAddRow(getdata) cfloop list=#qry_cols# index=i cfset CurrField = '#query_name#.' '#i#' cfset tmp = querySetCell(getdata,i,evaluate(CurrField)) /cfloop /cfoutput Then I use a query of query to do the ordering: !--- Overwrite new query using query of query with OBC --- cfquery name=getdata dbtype=query select * from getdata MY ORDER BY CLAUSE /cfquery MY QUESTION: Now I have been asked to make this work on 4.5. Anyone know an easy way of accomplishing this? I figure on my original query output I can build a list of what ID's are displayed on that page, then to sort requery with my Order By clause where id IN (ID LIST), but was wondering if there was a better way. Thanks, Scott -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 3:01 PM To: CF-Talk Subject: RE: Re-Sort a Query... I'd start with the CFDocs. I'll echo Charlie Arehart and say this is a wonderful place to begin with _all_ your CF skills. Next, go to the Resources page on www.cflib.org - we have links to articles on UDF usage that should help. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Brian Scandale [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 3:54 PM To: CF-Talk Subject: RE: Re-Sort a Query... That UDF looks direct and to the point... I'd love to use it. Can you provide a hint or two to get me started on using UDF's ... where they go ... how they are installed ... etc? Thanks Brian At 12:39 PM 9/23/02, you wrote: If you are using CF5 or higher, you can use QofQ. If you are using MX, I've even got a UDF for it... cfset query = querySort(query,new column to sort by) = == Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Brian Scandale [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 3:33 PM To: CF-Talk Subject: Re-Sort a Query... I want to Re-Sort a Query that I have added several columns of data to... It is the new columns that I would like to sort by and I can't go back to the database to use it's sorting routines. I need to do this in CF. Browsing the docs I'm not seeing anything obvious. Thanks. At 10:08 AM 9/23/02, you wrote: That looks very promising! and jeeze... right under my nose the whole time. That's embarrassing. Thanks Jochem At 01:53 AM 9/23/02, you wrote: Brian Scandale wrote: How do I go about adding a column to a query dataset? QueryAddColumn()? Jochem __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Admin Settings
Does anyone know why they omitted the Restart after n unresponsive requests from MX? 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: Advanced Statistical Analysis
You might be able to use CF to call C routines that crunch the numbers but CF itself would be too slow. I have used MATLAB but it's expensive. A free solution would be to use python with a matrix library (numeric), maybe C extensions, and gnuplot to generate the ever important visuals. On Wed, 25 Sep 2002, Deanna Schneider wrote: Hi Folks, So, we have a client that wants some complex statistical analysis of her data. The way we've always dealt with that in the past is we've given the client an excel download that she can import into SAS or SPSS, but now she thinks it's important for our institution to be able to do this stuff real-time on the web. The boss has pretty much said, no way. But, I'm curious. Has anyone done things like regression anaylsis, t-tests, and the like using CF? If so, did you hook into some more powerful stats package behind the scenes, etc. etc? Thanks. -d Deanna Schneider Interactive Media Developer [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: Properly handling checkboxes
Does the ISdefined(form.checkbox) function not work for what you were trying to do? Can we see the code? (Hey from a fellow Daytonian) Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] [EMAIL PROTECTED] 9/25/2002 11:30:40 AM I've got an HTML form that consists of mostly checkboxes. Initially, when I tested submitting the form, it was giving me problems for the checkboxes that were NOT checked. So I figured, OK, I need to figure out some way to get the current value of the checkbox, then go ahead and set it to checked, and then I'll be able to submit the form. So I wrote a little JavaScript function that loops through all of the items in the form, if it's a checkbox, it checks whether or not it is checked, and sets it's value, then it sets it to checked, and then it submits the form. All well and good, and actually does what I need it to do, IF the user ends up being satisfied with the options that they checked. I'd like to go ahead have the action template for the form also be a confirmation page, which will allow the user to review the options that they've checked, and then submit their options to our database. My problem now though, is that if a user realizes that they've inadvertently c! hecked a box that they didn't mean to, or didn't check a box that they needed to, I can put a link on that page so that they can go back to the form and correct their options, but when you just go back (using something like javascript: history.go(-1) or something like that), now ALL of the checkboxes are checked. Is there a better way (I'm sure there must be, I just don't know what it is) to handle the submission of forms with checkboxes, so that if a user has to go back to the form and make changes, that it will set the form back to what they had originally selected? Any thoughts or ideas would be greatly appreciated. ::YEX:: ))) /* || Robert D. Yexley || Oracle Programmer/Analyst || Northrop Grumman IT || Contractor - Wright Research Site MIS || Det-1 AFRL/WSI Bldg. 45 Rm. 062 || (937) 255-1984 || [EMAIL PROTECTED] || ))) */ Robert D. Yexley (E-mail).vcf __ 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: Properly handling checkboxes
Use a CFPARAM on the page that receives the form submission and default the checkbox fields to FALSE. Because the checkbox does not get submitted if unchecked (ie, set to false), the receiving page handles it properly. Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com -Original Message- From: Yexley Robert D Contr Det 1 AFRL/WSI [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:31 AM To: CF-Talk Subject: Properly handling checkboxes I've got an HTML form that consists of mostly checkboxes. Initially, when I tested submitting the form, it was giving me problems for the checkboxes that were NOT checked. So I figured, OK, I need to figure out some way to get the current value of the checkbox, then go ahead and set it to checked, and then I'll be able to submit the form. So I wrote a little JavaScript function that loops through all of the items in the form, if it's a checkbox, it checks whether or not it is checked, and sets it's value, then it sets it to checked, and then it submits the form. All well and good, and actually does what I need it to do, IF the user ends up being satisfied with the options that they checked. I'd like to go ahead have the action template for the form also be a confirmation page, which will allow the user to review the options that they've checked, and then submit their options to our database. My problem now though, is that if a user realizes that they've inadvertently c! hecked a box that they didn't mean to, or didn't check a box that they needed to, I can put a link on that page so that they can go back to the form and correct their options, but when you just go back (using something like javascript: history.go(-1) or something like that), now ALL of the checkboxes are checked. Is there a better way (I'm sure there must be, I just don't know what it is) to handle the submission of forms with checkboxes, so that if a user has to go back to the form and make changes, that it will set the form back to what they had originally selected? Any thoughts or ideas would be greatly appreciated. ::YEX:: ))) /* || Robert D. Yexley || Oracle Programmer/Analyst || Northrop Grumman IT || Contractor - Wright Research Site MIS || Det-1 AFRL/WSI Bldg. 45 Rm. 062 || (937) 255-1984 || [EMAIL PROTECTED] || ))) */ Robert D. Yexley (E-mail).vcf __ 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: Advanced Statistical Analysis
Is your database at the same location as the SAS server? Why not let SAS feed reports back out to your site leaving the heavy processing on the SAS side rather than on CF. Some of the standard SAS-generated html reports are pretty ugly but you can improve that if your willing to invest the time. Ken -Original Message- From: Deanna Schneider [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:21 AM To: CF-Talk Subject: Advanced Statistical Analysis Hi Folks, So, we have a client that wants some complex statistical analysis of her data. The way we've always dealt with that in the past is we've given the client an excel download that she can import into SAS or SPSS, but now she thinks it's important for our institution to be able to do this stuff real-time on the web. The boss has pretty much said, no way. But, I'm curious. Has anyone done things like regression anaylsis, t-tests, and the like using CF? If so, did you hook into some more powerful stats package behind the scenes, etc. etc? Thanks. -d Deanna Schneider Interactive Media Developer [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: CF/localhost/OpenwaveSDK/WML, anyone?
on 9/25/02 7:20 AM, Jeffry Houser at [EMAIL PROTECTED] wrote: I have done it, but never had any problems with 505 errors. Did you try typing the absolute URL? http://localhost/wap_test/index.cfm ( or whatever ). Beyond that I'm not sure what your problem might be. Yeah, for some reason, when I type in the absolute address in both localhost style, and C:/directory style the page with wml on the end works fine, and Hello World pops right up. But the EXACT same page, with nothing in it more than pHello World/p, I get an error. It's like CF isn't properly creating WML files. I've tried eliminating extra carriage returns, as I read someplace that those can hang up the browser, still to no good. I've got the proper WML mime types set up, and I've got default documents set for index.cfm in IIS administrator. All I want, is to use the Openwave SDK and that great little WAP browser it comes with, to test and debug dynamic CF on my own machine without having to upload and waste time/money using my phone. Arrrgh... __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Properly handling checkboxes
I tried the whole cfparam name=form.checkboxName default=F thing, and it didn't work for me. It kept generating errors telling me that checkboxName is undefined in form. I thought that would be the answer too, but it didn't work properly. Bob ))) -Original Message- From: Chris Lofback [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:46 AM To: CF-Talk Subject: RE: Properly handling checkboxes Use a CFPARAM on the page that receives the form submission and default the checkbox fields to FALSE. Because the checkbox does not get submitted if unchecked (ie, set to false), the receiving page handles it properly. Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com -Original Message- From: Yexley Robert D Contr Det 1 AFRL/WSI [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:31 AM To: CF-Talk Subject: Properly handling checkboxes I've got an HTML form that consists of mostly checkboxes. Initially, when I tested submitting the form, it was giving me problems for the checkboxes that were NOT checked. So I figured, OK, I need to figure out some way to get the current value of the checkbox, then go ahead and set it to checked, and then I'll be able to submit the form. So I wrote a little JavaScript function that loops through all of the items in the form, if it's a checkbox, it checks whether or not it is checked, and sets it's value, then it sets it to checked, and then it submits the form. All well and good, and actually does what I need it to do, IF the user ends up being satisfied with the options that they checked. I'd like to go ahead have the action template for the form also be a confirmation page, which will allow the user to review the options that they've checked, and then submit their options to our database. My problem now though, is that if a user realizes that they've inadvertently c! hecked a box that they didn't mean to, or didn't check a box that they needed to, I can put a link on that page so that they can go back to the form and correct their options, but when you just go back (using something like javascript: history.go(-1) or something like that), now ALL of the checkboxes are checked. Is there a better way (I'm sure there must be, I just don't know what it is) to handle the submission of forms with checkboxes, so that if a user has to go back to the form and make changes, that it will set the form back to what they had originally selected? Any thoughts or ideas would be greatly appreciated. ::YEX:: ))) /* || Robert D. Yexley || Oracle Programmer/Analyst || Northrop Grumman IT || Contractor - Wright Research Site MIS || Det-1 AFRL/WSI Bldg. 45 Rm. 062 || (937) 255-1984 || [EMAIL PROTECTED] || ))) */ Robert D. Yexley (E-mail).vcf __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Advanced Statistical Analysis
While MATLAB costs money, GNU Octave (which does everything MATLAB does, sometimes even better) is free. It would not be difficult to use Octave instead of MATLAB. I have used Octave for some Linear Algebra work and found it just as good in Octave in almost every way. (As in, there was nothing I could do in MATLAB that I could not do in Octave). Jeremy __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Properly handling checkboxes
Problem with checkboxes is that they only exist and show a value if they have been checked. For instance, you might have input type=checkbox name=var value=foo If its checked when the form is submitted, you will have form.var and the value 'foo' to play with but if its not, then you get nothing so any code that references form.var will break as it doesn't exist. To get round it, declare the variables that are checkboxes in the page that processes the form: cfparam name=form.var default= hth, Doug -Original Message- From: Candace Cottrell [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 16:40 To: CF-Talk Subject: Re: Properly handling checkboxes Does the ISdefined(form.checkbox) function not work for what you were trying to do? Can we see the code? (Hey from a fellow Daytonian) Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] [EMAIL PROTECTED] 9/25/2002 11:30:40 AM I've got an HTML form that consists of mostly checkboxes. Initially, when I tested submitting the form, it was giving me problems for the checkboxes that were NOT checked. So I figured, OK, I need to figure out some way to get the current value of the checkbox, then go ahead and set it to checked, and then I'll be able to submit the form. So I wrote a little JavaScript function that loops through all of the items in the form, if it's a checkbox, it checks whether or not it is checked, and sets it's value, then it sets it to checked, and then it submits the form. All well and good, and actually does what I need it to do, IF the user ends up being satisfied with the options that they checked. I'd like to go ahead have the action template for the form also be a confirmation page, which will allow the user to review the options that they've checked, and then submit their options to our database. My problem now though, is that if a user realizes that they've inadvertently c! hecked a box that they didn't mean to, or didn't check a box that they needed to, I can put a link on that page so that they can go back to the form and correct their options, but when you just go back (using something like javascript: history.go(-1) or something like that), now ALL of the checkboxes are checked. Is there a better way (I'm sure there must be, I just don't know what it is) to handle the submission of forms with checkboxes, so that if a user has to go back to the form and make changes, that it will set the form back to what they had originally selected? Any thoughts or ideas would be greatly appreciated. ::YEX:: ))) /* || Robert D. Yexley || Oracle Programmer/Analyst || Northrop Grumman IT || Contractor - Wright Research Site MIS || Det-1 AFRL/WSI Bldg. 45 Rm. 062 || (937) 255-1984 || [EMAIL PROTECTED] || ))) */ Robert D. Yexley (E-mail).vcf __ 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: Web Search NS Error
The js code to set MySearcher in the processSearch function looks off: mySearcher = formObj.tosearch.value; change to: mySearcher = formObj.tosearch[formObj.tosearch.selectedIndex].value; If that did work in IE, I guess IE doesn't require the selectedIndex to get the selected item in a dropdown. -Original Message- From: Greg Luce [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:32 AM To: CF-Talk Subject: Web Search NS Error I have a search form on a page that uses js (which I didn't write) to call a new window using whichever search engine was selected. Anyone have any ideas why it won't work with Netscape 4.7? It calls up a new window with a 405 error. I may just do it with CF for Nutscrape. Here's the code: script language=javascript !-- shields up! var isIE = false; if (parseInt(navigator.appVersion) = 4) { if (navigator.appName == Netscape) { } else { isIE = true; } } /* Begin Kill Nesting */ setTimeout (changePage(), 3000); function changePage() { if (self.parent.frames.length != 0) self.parent.location=document.location; } /* End Kill Nesting */ /*yummy Cookies*/ function setCookie(name,value,expires,path,domain,secure){ var curCookie = name + = + escape(value) + ((expires) ? ; expires= + expires.toGMTString() : ) + ((path) ? ; path= + path : ) + ((domain) ? ; domain= + domain : ) + ((secure) ? ; secure : ); document.cookie = curCookie; } function DeleteCookie(name,path,domain){ if(getCookie(name)){ document.cookie = name + = + ((path) ? ; path= + path : ) + ((domain) ? ; domain= + domain : ) + ; expires=Thu, 27-Sep-74 12:32:01 GMT; } } function processSearch() { formObj = document.internetsearch; mySearcher = formObj.tosearch.value; mySearch = formObj.search.value; var searchSite; switch (mySearcher) { case google: searchSite = 'http://www.google.com'; myQuery ='http://www.google.com/search?q='+mySearch; break; case yahoo: searchSite = 'http://www.yahoo.com'; myQuery ='http://search.yahoo.com/bin/search?p='+mySearch; break; case dogpile: searchSite = 'http://www.dogpile.com'; myQuery ='http://search.dogpile.com/texis/search?q='+mySearch+'geo=nofs=web'; break; case mamma: searchSite = 'http://www.mamma.com'; myQuery ='http://www.mamma.com/Mamma?query='+mySearch+'qtype=0'; break; case altavista: searchSite = 'http://www.altavista.com'; myQuery ='http://altavista.com/sites/search/web?q='+mySearch+'pg=qkl=XX'; break; case lycos: searchSite = 'http://www.lycos.com'; myQuery ='http://search.lycos.com/main/default.asp?lpv=1loc=searchhpquery='+my Search; break; case infoseek: searchSite = 'http://www.infoseek.com'; myQuery ='http://www.overture.com/d/search/p/go/?Partner=go_homeKeywords='+mySe arch+'Go=Searchinput='; break; case metacrawler: searchSite = 'http://www.metacrawler.com'; myQuery ='http://search.metacrawler.com/crawler?general='+mySearch+'method=0re direct=rpp=20hpe=10region=0timeout=0sort=0theme=classic'; break; case webcrawler: searchSite = 'http://www.webcrawler.com'; myQuery ='http://search.excite.com/search.gw?c=weblk=webcrawleronload=s='+myS earch; break; case excite: searchSite = 'http://www.excite.com'; myQuery ='http://search.excite.com/search.gw?c=websearch='+mySearch; break; default: myQuery =''; } var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(lastSearch, mySearch, now, /); var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(mySearcher, mySearcher, now, /); if (mySearch == ) { window.open(searchSite); return false; } if (myQuery){ window.open(myQuery); return false; } else { return true; } } function setSearchCookie() { formObj = document.internetsearch; mySearcher = formObj.tosearch.value; mySearch = formObj.search.value; var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(mySearcher, mySearcher, now, /); } -- /script table width=195 border=0 cellspacing=0 cellpadding=0 cfform name=internetsearch method=post onSubmit=return processSearch() action= tr td width=142 class=arial_10Type your keyword or phrase then press 'GO'/td td height=28input type=image border=0 name=search_go src=images/go.gif width=26 height=28 alt=go/td /tr tr td colspan=2 cfif browser eq NS cfinput type=Text name=search message=You must enter Keyword or Phrase to search required=Yes size=8 style=font-family: Verdana; font-size: x-small; cfelse
Re: milonic menus question
I think you're trying to pass URL scope on your variables, not FORM. Dave - Original Message - From: Janine Jakim [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 11:19 AM Subject: ot: milonic menus question Quick question. I'm having problems passing a variable with the milonic menus. In my testing I've found that CLIENT variables pass fine- it's my attributes.variable or form.variable that doesn't pass. Can milonic only pass client or session variables? Thanks for any insight. Janine __ 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: Admin Settings
Not 100% but it's probably because there's no exec service monitoring the main CF process anymore. Stace -Original Message- From: Chris Jenkins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:41 AM To: CF-Talk Subject: Admin Settings Does anyone know why they omitted the Restart after n unresponsive requests from MX? 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 AVIS IMPORTANT: --- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. __ 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
MX, IE6 and Client Vars
Has anyone had the problem where the standard code you stick in your application.cfm to kill sessions (when using client vars) does not work for users on IE6 when your site is being delivered by CFMX? __ 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: Urgent - Multiple CF Applications with common sessions?
Let me see if I can summarize how we handled this... The common login system runs under its own application and handles user authentication then provides a list of applications the authenticated user has access to. We link to the child application and the first item in the child application is a check for a session var that indicates an authenticated user. This is a session var that is uniquely named and only used in the login application system. We then set the userID to a local var, start the new cfapplication then run a custom tag that populates a new session variable (in our case a structure) of all the current users data. This approach does cause 1 more DB hit, but does allow the end applications to be independent of the login/authentication system. I'm leaving out some workarounds we created for cfapplicationless applications, and other finessing, but you get the general idea. The basic approach was to create a custom tag that can be called by any application to query the users authentication status and information. Hope that at least begins to shed some light on a different way to approach this. Trey Rouse Internet Project Supervisor Rice University -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 5:46 PM To: CF-Talk Subject: RE: Urgent - Muliple CF Applications with common sessions? Thanks Shawn. We were hoping to avoid a database hit on every page. I think our best solution is to use ONE application.cfm file, and structures to keep our variable names separate from each other. Somthing like App1.Username, App2., App3.User - the use of the structures will avoid variables with common names. Such is life Shawn Grover -Original Message- From: Shawn Regan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 4:34 PM To: CF-Talk Subject: RE: Urgent - Muliple CF Applications with common sessions? One way I have heard of it done is to store the common session vars in a database, which all the applications can access. HTH Shawn Regan pacifictechnologysolutions 15530-B Rockfield Blvd. Suite 4 Irvine, CA 92618 949.830.1623 w w w . p t s 1 . c o m -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 3:19 PM To: CF-Talk Subject: Urgent - Muliple CF Applications with common sessions? My appologies if this is a double post, but I've yet to see the email posted back to me (therefore, I'm not sure if anyone else has seen it, even though it is in the archives). We have built a common logon system for a few of our applications. This logon system sets some session variables, but these vars don't appear to be available in the other applications. Each application has it's own directory below wwwroot and it's own application.cfm file with the CFApplication tag. Each CFApplication tag specifies a different application name. Is this the cause of the session variable problem? (i.e. application A sets a session variable, but application B cannot see it.) If so, how has anyone else handled this? The easiest ways I can think of are to create a common application.cfm file which includes a file from each application to setup their environment. Either that, or get creative with CFHTTP and post form data to a setVars.cfm page in each application which would setup their session variables. Can't really think of any other way around the problem. Thanks for any input. Shawn Grover __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Advanced Statistical Analysis
I don't really know much about SAS or SPSS, but my understanding was that folks are using a desktop version to do their crunching. Is that even possible, or does a server have to exist somewhere that I could potentially tap into? (If there is a server, it's not one of ours. It would belong to the campus computing.) -d Deanna Schneider Interactive Media Developer [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Web Search NS Error
Seth, you rock! The only problem left is when you enter 2 words in the form. It looks like this in the url: http://www.google.com/search?q=hotel Chicago, when it needs to have a + between the search words. Do you see a good place to parse that into the search string? -Original Message- From: Turetsky, Seth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:57 AM To: CF-Talk Subject: RE: Web Search NS Error The js code to set MySearcher in the processSearch function looks off: mySearcher = formObj.tosearch.value; change to: mySearcher = formObj.tosearch[formObj.tosearch.selectedIndex].value; If that did work in IE, I guess IE doesn't require the selectedIndex to get the selected item in a dropdown. -Original Message- From: Greg Luce [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:32 AM To: CF-Talk Subject: Web Search NS Error I have a search form on a page that uses js (which I didn't write) to call a new window using whichever search engine was selected. Anyone have any ideas why it won't work with Netscape 4.7? It calls up a new window with a 405 error. I may just do it with CF for Nutscrape. Here's the code: script language=javascript !-- shields up! var isIE = false; if (parseInt(navigator.appVersion) = 4) { if (navigator.appName == Netscape) { } else { isIE = true; } } /* Begin Kill Nesting */ setTimeout (changePage(), 3000); function changePage() { if (self.parent.frames.length != 0) self.parent.location=document.location; } /* End Kill Nesting */ /*yummy Cookies*/ function setCookie(name,value,expires,path,domain,secure){ var curCookie = name + = + escape(value) + ((expires) ? ; expires= + expires.toGMTString() : ) + ((path) ? ; path= + path : ) + ((domain) ? ; domain= + domain : ) + ((secure) ? ; secure : ); document.cookie = curCookie; } function DeleteCookie(name,path,domain){ if(getCookie(name)){ document.cookie = name + = + ((path) ? ; path= + path : ) + ((domain) ? ; domain= + domain : ) + ; expires=Thu, 27-Sep-74 12:32:01 GMT; } } function processSearch() { formObj = document.internetsearch; mySearcher = formObj.tosearch.value; mySearch = formObj.search.value; var searchSite; switch (mySearcher) { case google: searchSite = 'http://www.google.com'; myQuery ='http://www.google.com/search?q='+mySearch; break; case yahoo: searchSite = 'http://www.yahoo.com'; myQuery ='http://search.yahoo.com/bin/search?p='+mySearch; break; case dogpile: searchSite = 'http://www.dogpile.com'; myQuery ='http://search.dogpile.com/texis/search?q='+mySearch+'geo=nofs=web'; break; case mamma: searchSite = 'http://www.mamma.com'; myQuery ='http://www.mamma.com/Mamma?query='+mySearch+'qtype=0'; break; case altavista: searchSite = 'http://www.altavista.com'; myQuery ='http://altavista.com/sites/search/web?q='+mySearch+'pg=qkl=XX'; break; case lycos: searchSite = 'http://www.lycos.com'; myQuery ='http://search.lycos.com/main/default.asp?lpv=1loc=searchhpquery='+my Search; break; case infoseek: searchSite = 'http://www.infoseek.com'; myQuery ='http://www.overture.com/d/search/p/go/?Partner=go_homeKeywords='+mySe arch+'Go=Searchinput='; break; case metacrawler: searchSite = 'http://www.metacrawler.com'; myQuery ='http://search.metacrawler.com/crawler?general='+mySearch+'method=0re direct=rpp hperegion=0timeout=0sort=0theme=classic'; break; case webcrawler: searchSite = 'http://www.webcrawler.com'; myQuery ='http://search.excite.com/search.gw?c=weblk=webcrawleronload=s='+myS earch; break; case excite: searchSite = 'http://www.excite.com'; myQuery ='http://search.excite.com/search.gw?c=websearch='+mySearch; break; default: myQuery =''; } var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(lastSearch, mySearch, now, /); var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(mySearcher, mySearcher, now, /); if (mySearch == ) { window.open(searchSite); return false; } if (myQuery){ window.open(myQuery); return false; } else { return true; } } function setSearchCookie() { formObj = document.internetsearch; mySearcher = formObj.tosearch.value; mySearch = formObj.search.value; var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(mySearcher, mySearcher, now, /); } -- /script table width=195 border=0 cellspacing=0 cellpadding=0 cfform name=internetsearch method=post onSubmit=return processSearch() action= tr td width=142 class=arial_10Type your keyword or phrase then press 'GO'/td
connectstring in CFMX
Are DNS-less connections still possible in CFMX? I'm getting an Attribute validation error for tag query error when I try and use a connectstring. TIA Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: connectstring in CFMX
oi Bryan!! they cannot be used in cfmx -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion Blog=http://blog.ctzc.com; Wednesday, September 25, 2002, 12:16:31 PM, you wrote: BS Are DNS-less connections still possible in CFMX? I'm getting an Attribute BS validation error for tag query error when I try and use a connectstring. BS TIA BS Bryan Stevenson B.Comm. BS VP Director of E-Commerce Development BS Electric Edge Systems Group Inc. BS t. 250.920.8830 BS e. [EMAIL PROTECTED] BS - BS Macromedia Associate Partner BS www.macromedia.com BS - BS Vancouver Island ColdFusion Users Group BS Founder Director BS www.cfug-vancouverisland.com BS __ 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
RegEx - POSIX
Looking in the books, PUNCT doesn't seem to include double or single quotes. Is there one that includes ALL non letters or numbers? I have a form that needs the user can only put letters and numbers in. I've started using RegExs over other ways of checking the field, I thought punct covered all bases. Am I wrong, is there something out there that does? Adrian Lynch Thoughtbubble Ltd -- United Kingdom http://www.thoughtbubble.net Ph: +44 (0) 20 7387 8890 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s) . Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0) 20 7387 8890 __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: RegEx - POSIX
Why not negate letters and numbers (rather that listing those you can;t have, list only those you can) [^[:alnum:]] Jerry Johnson [EMAIL PROTECTED] 09/25/02 12:17PM Looking in the books, PUNCT doesn't seem to include double or single quotes. Is there one that includes ALL non letters or numbers? I have a form that needs the user can only put letters and numbers in. I've started using RegExs over other ways of checking the field, I thought punct covered all bases. Am I wrong, is there something out there that does? Adrian Lynch Thoughtbubble Ltd -- United Kingdom http://www.thoughtbubble.net Ph: +44 (0) 20 7387 8890 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s) . Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0) 20 7387 8890 __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: WYSIWYG html editor applet?
Really, the online demo doesn't appear to be JAVA compliant, that is to say it isn't working on any of our MAC or Unix/Opera installs. I fished around the site for some actual supported platforms information and didn't really find any details. Can you point me to the creamy filling? The only info I see on the web indicates it still requires a windows platform? Trey Rouse Internet Project Supervisor Web Services - Rice University -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 3:56 PM To: CF-Talk Subject: RE: WYSIWYG html editor applet? I don't think any of these 3 are Java based. ActivEdit 3, now comes with a Java Applet WYSIWYG Editor: http://www.cfdev.com/activedit/ _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: Crystal Reports (subreports)
Has anyone found a workaround for having a subreport within a subreport? __ 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: RegEx - POSIX
Nice one Jerry, that was rather obvious :OP So is there no posix char class that wraps all non letters and numbers? Ade -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 17:30 To: CF-Talk Subject: Re: RegEx - POSIX Why not negate letters and numbers (rather that listing those you can;t have, list only those you can) [^[:alnum:]] Jerry Johnson [EMAIL PROTECTED] 09/25/02 12:17PM Looking in the books, PUNCT doesn't seem to include double or single quotes. Is there one that includes ALL non letters or numbers? I have a form that needs the user can only put letters and numbers in. I've started using RegExs over other ways of checking the field, I thought punct covered all bases. Am I wrong, is there something out there that does? Adrian Lynch Thoughtbubble Ltd -- United Kingdom http://www.thoughtbubble.net Ph: +44 (0) 20 7387 8890 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s) . Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0) 20 7387 8890 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Properly handling checkboxes
Remember that the CFPARAM default value doesn't necessarily have to be FALSE. It should be whatever value you want the checkbox to return when it is unchecked. Just as a reality check, did you make sure that you do have a DEFAULT parameter value in the CFPARAM and that the checkbox name matches? Can you post your form and receiving page code so we can look it over? Something is mixed up somewhere... Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com -Original Message- From: Yexley Robert D Contr Det 1 AFRL/WSI [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:53 AM To: CF-Talk Subject: RE: Properly handling checkboxes I tried the whole cfparam name=form.checkboxName default=F thing, and it didn't work for me. It kept generating errors telling me that checkboxName is undefined in form. I thought that would be the answer too, but it didn't work properly. Bob ))) -Original Message- From: Chris Lofback [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:46 AM To: CF-Talk Subject: RE: Properly handling checkboxes Use a CFPARAM on the page that receives the form submission and default the checkbox fields to FALSE. Because the checkbox does not get submitted if unchecked (ie, set to false), the receiving page handles it properly. Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com -Original Message- From: Yexley Robert D Contr Det 1 AFRL/WSI [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:31 AM To: CF-Talk Subject: Properly handling checkboxes I've got an HTML form that consists of mostly checkboxes. Initially, when I tested submitting the form, it was giving me problems for the checkboxes that were NOT checked. So I figured, OK, I need to figure out some way to get the current value of the checkbox, then go ahead and set it to checked, and then I'll be able to submit the form. So I wrote a little JavaScript function that loops through all of the items in the form, if it's a checkbox, it checks whether or not it is checked, and sets it's value, then it sets it to checked, and then it submits the form. All well and good, and actually does what I need it to do, IF the user ends up being satisfied with the options that they checked. I'd like to go ahead have the action template for the form also be a confirmation page, which will allow the user to review the options that they've checked, and then submit their options to our database. My problem now though, is that if a user realizes that they've inadvertently c! hecked a box that they didn't mean to, or didn't check a box that they needed to, I can put a link on that page so that they can go back to the form and correct their options, but when you just go back (using something like javascript: history.go(-1) or something like that), now ALL of the checkboxes are checked. Is there a better way (I'm sure there must be, I just don't know what it is) to handle the submission of forms with checkboxes, so that if a user has to go back to the form and make changes, that it will set the form back to what they had originally selected? Any thoughts or ideas would be greatly appreciated. ::YEX:: ))) /* || Robert D. Yexley || Oracle Programmer/Analyst || Northrop Grumman IT || Contractor - Wright Research Site MIS || Det-1 AFRL/WSI Bldg. 45 Rm. 062 || (937) 255-1984 || [EMAIL PROTECTED] || ))) */ Robert D. Yexley (E-mail).vcf __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Filemaker faults to win a bid for using CF
It better be a fairly small application cause it doesn't scale well at all. -Original Message- From: Kodjo Ackah [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 9:00 AM To: CF-Talk Subject: Filemaker faults to win a bid for using CF I need some strong points on the shortcomings of filemaker to win a bid to use CF. Any bright ideas? Kodjo Ackah Principal Consultant Concrete Media Ltd 32 Great Sutton Street Clerkenwell London, EC1V 0DX Tel:+44 (0)20 7251 8090 Fax: +44 (0)20 7251 8780 Mobile: +44 (0)7748 79 1038 Office Location: http://www.streetmap.co.uk/streetmap.dll?G2M?X=531852Y=182204A=YZ=1 __ 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
Set Return Path through CFMail?
Hey everyone, I'm looking to set the return-path of email we set out different from the FROM address. For example: FROM: [EMAIL PROTECTED] Return-path: [EMAIL PROTECTED] Does anyone have any suggestions? I've not seen anything yet. Stephen Cassady [EMAIL PROTECTED] 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: connectstring in CFMX
Thanks Critz ;-) DOH! That sucks. Anybody have an explanation as to why they went away? Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Critter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:18 AM Subject: Re: connectstring in CFMX oi Bryan!! they cannot be used in cfmx -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion Blog=http://blog.ctzc.com; Wednesday, September 25, 2002, 12:16:31 PM, you wrote: BS Are DNS-less connections still possible in CFMX? I'm getting an Attribute BS validation error for tag query error when I try and use a connectstring. BS TIA BS Bryan Stevenson B.Comm. BS VP Director of E-Commerce Development BS Electric Edge Systems Group Inc. BS t. 250.920.8830 BS e. [EMAIL PROTECTED] BS - BS Macromedia Associate Partner BS www.macromedia.com BS - BS Vancouver Island ColdFusion Users Group BS Founder Director BS www.cfug-vancouverisland.com BS __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Set Return Path through CFMail?
cfmailparam name = Reply-To value = [EMAIL PROTECTED] Right from the documentation. -Original Message- From: Stephen Cassady [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:41 AM To: CF-Talk Subject: Set Return Path through CFMail? Hey everyone, I'm looking to set the return-path of email we set out different from the FROM address. For example: FROM: [EMAIL PROTECTED] Return-path: [EMAIL PROTECTED] Does anyone have any suggestions? I've not seen anything yet. Stephen Cassady [EMAIL PROTECTED] 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 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
JVM setting?
Anybody know the correct settings for JVM using JRE 1.4.1 for 1. CF4.5 2. CF5.40 3. CFMX. in windows machines. There jvm.dll 's in the 1. Java/j2re1.4.1/bin/client/jvm.dll 2. JavaSoft/JRE/1.3.0_01/bin/hotspot/jvm.dll directory. is it better to use one or the other eventhough they are different versions? Joe Eugene Certified Advanced ColdFusion Developer __ 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: connectstring in CFMX
DOH! That sucks. Anybody have an explanation as to why they went away? Because that feature isn't supported in JDBC. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 : dream :: design :: develop : MXDC 02 :: Join us at this all day conference for designers developers to learn tips, tricks, best practices and more for the entire Macromedia MX suite. September 28, 2002 :: http://www.mxdc02.com/ (Register today, seats are limited!) :: __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Log File Option missing in CF Administrator
Strange: Log File option is missing in the CF Administrator (CFMX). WinNT. Only similar forums post was Unix permissions issue. The options to set the log files directory and log settings are there, but no option to view/filter the log files. Anyone else see this before? Thanks, -- Alex Sherwood PHS Collection Agency THE COLLECTORS 301.215.4200 T 301.664.6834 F www.phs-net.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: WYSIWYG html editor applet?
Here are the requirements, Java 2 (eg JRE 1.3 and up), and browser supporting the LiveConnect API. The key there is the LiveConnect API, its the API that allows JavaScript and the Applet to talk. The API was developed by Netscape, and works great on windows. Works on most Unix, but Mac does not support it very well (parts of the API are implemented, but most of it isn't). This is the same reason fscommand in Flash doesn't work well on OS X. So with LiveConnect not working well on OS X, that is really limits what developers can do with Applets, and even Flash. Believe me, I'd love to be able to support Mac, but right now there is no good way to do it, short of writing your own Browser plug-in. _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ -Original Message- From: Trey Rouse [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 12:25 PM To: CF-Talk Subject: RE: WYSIWYG html editor applet? Really, the online demo doesn't appear to be JAVA compliant, that is to say it isn't working on any of our MAC or Unix/Opera installs. I fished around the site for some actual supported platforms information and didn't really find any details. Can you point me to the creamy filling? The only info I see on the web indicates it still requires a windows platform? Trey Rouse Internet Project Supervisor Web Services - Rice University -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 3:56 PM To: CF-Talk Subject: RE: WYSIWYG html editor applet? I don't think any of these 3 are Java based. ActivEdit 3, now comes with a Java Applet WYSIWYG Editor: http://www.cfdev.com/activedit/ _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.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: connectstring in CFMX
Thanks Dave Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:49 AM Subject: RE: connectstring in CFMX DOH! That sucks. Anybody have an explanation as to why they went away? Because that feature isn't supported in JDBC. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 : dream :: design :: develop : MXDC 02 :: Join us at this all day conference for designers developers to learn tips, tricks, best practices and more for the entire Macromedia MX suite. September 28, 2002 :: http://www.mxdc02.com/ (Register today, seats are limited!) :: __ 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: JVM setting?
There jvm.dll 's in the 1. Java/j2re1.4.1/bin/client/jvm.dll 2. JavaSoft/JRE/1.3.0_01/bin/hotspot/jvm.dll directory. is it better to use one or the other even though they are different versions? I don't think you'd want to use the one in the client directory. If I recall correctly, Sun distributes two JVMs within the J2 SDK - one for client use, and another for server use. I suspect that the JRE only comes with one of those, but I'm not sure. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 : dream :: design :: develop : MXDC 02 :: Join us at this all day conference for designers developers to learn tips, tricks, best practices and more for the entire Macromedia MX suite. September 28, 2002 :: http://www.mxdc02.com/ (Register today, seats are limited!) :: __ 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: Web Search NS Error
Right before you open the window, this should work You may need to do some regular expressions in case they put in multiple spaces though. if (myQuery){ myQuery = myQuery.replace(' ','+'); window.open(myQuery,newwin); return false; } -Original Message- From: Greg Luce [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 12:12 PM To: CF-Talk Subject: RE: Web Search NS Error Seth, you rock! The only problem left is when you enter 2 words in the form. It looks like this in the url: http://www.google.com/search?q=hotel Chicago, when it needs to have a + between the search words. Do you see a good place to parse that into the search string? -Original Message- From: Turetsky, Seth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:57 AM To: CF-Talk Subject: RE: Web Search NS Error The js code to set MySearcher in the processSearch function looks off: mySearcher = formObj.tosearch.value; change to: mySearcher = formObj.tosearch[formObj.tosearch.selectedIndex].value; If that did work in IE, I guess IE doesn't require the selectedIndex to get the selected item in a dropdown. -Original Message- From: Greg Luce [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:32 AM To: CF-Talk Subject: Web Search NS Error I have a search form on a page that uses js (which I didn't write) to call a new window using whichever search engine was selected. Anyone have any ideas why it won't work with Netscape 4.7? It calls up a new window with a 405 error. I may just do it with CF for Nutscrape. Here's the code: script language=javascript !-- shields up! var isIE = false; if (parseInt(navigator.appVersion) = 4) { if (navigator.appName == Netscape) { } else { isIE = true; } } /* Begin Kill Nesting */ setTimeout (changePage(), 3000); function changePage() { if (self.parent.frames.length != 0) self.parent.location=document.location; } /* End Kill Nesting */ /*yummy Cookies*/ function setCookie(name,value,expires,path,domain,secure){ var curCookie = name + = + escape(value) + ((expires) ? ; expires= + expires.toGMTString() : ) + ((path) ? ; path= + path : ) + ((domain) ? ; domain= + domain : ) + ((secure) ? ; secure : ); document.cookie = curCookie; } function DeleteCookie(name,path,domain){ if(getCookie(name)){ document.cookie = name + = + ((path) ? ; path= + path : ) + ((domain) ? ; domain= + domain : ) + ; expires=Thu, 27-Sep-74 12:32:01 GMT; } } function processSearch() { formObj = document.internetsearch; mySearcher = formObj.tosearch.value; mySearch = formObj.search.value; var searchSite; switch (mySearcher) { case google: searchSite = 'http://www.google.com'; myQuery ='http://www.google.com/search?q='+mySearch; break; case yahoo: searchSite = 'http://www.yahoo.com'; myQuery ='http://search.yahoo.com/bin/search?p='+mySearch; break; case dogpile: searchSite = 'http://www.dogpile.com'; myQuery ='http://search.dogpile.com/texis/search?q='+mySearch+'geo=nofs=web'; break; case mamma: searchSite = 'http://www.mamma.com'; myQuery ='http://www.mamma.com/Mamma?query='+mySearch+'qtype=0'; break; case altavista: searchSite = 'http://www.altavista.com'; myQuery ='http://altavista.com/sites/search/web?q='+mySearch+'pg=qkl=XX'; break; case lycos: searchSite = 'http://www.lycos.com'; myQuery ='http://search.lycos.com/main/default.asp?lpv=1loc=searchhpquery='+my Search; break; case infoseek: searchSite = 'http://www.infoseek.com'; myQuery ='http://www.overture.com/d/search/p/go/?Partner=go_homeKeywords='+mySe arch+'Go=Searchinput='; break; case metacrawler: searchSite = 'http://www.metacrawler.com'; myQuery ='http://search.metacrawler.com/crawler?general='+mySearch+'method=0re direct=rpp hperegion=0timeout=0sort=0theme=classic'; break; case webcrawler: searchSite = 'http://www.webcrawler.com'; myQuery ='http://search.excite.com/search.gw?c=weblk=webcrawleronload=s='+myS earch; break; case excite: searchSite = 'http://www.excite.com'; myQuery ='http://search.excite.com/search.gw?c=websearch='+mySearch; break; default: myQuery =''; } var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(lastSearch, mySearch, now, /); var now = new Date(); now.setTime(now.getTime() + (365 * 24 * 60 * 1000)); setCookie(mySearcher, mySearcher, now, /); if (mySearch == ) { window.open(searchSite); return false; } if (myQuery){ window.open(myQuery); return false; } else { return true; } } function setSearchCookie() { formObj = document.internetsearch; mySearcher =
IRC or chat room where CF'rs hang out
Is there an IRC room or a chat room where cold fusion developers/sysadmin's and the like hang out through out the day and have discussions... answer questions, etc. I recently joined a couple free source projects that have their own IRC channel and have found it not only to be incredibly helpful but extremely efficient. Also, if fusionscript has an IRC channel I would be interested in that as well, thanks for your time. -Jason 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: JVM setting?
1.4.1 should work with all versions of CF. I think sun combined the hotspot JIT and the client JVM (optimized for GUI) into one JVM, because the 1.4.x download doesn't include the hotspot jvm.dll anymore. So use the 1.4.1 but specify -server option, that optimizes for server, rather than GUI stuff (-client). _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 12:43 PM To: CF-Talk Subject: JVM setting? Anybody know the correct settings for JVM using JRE 1.4.1 for 1. CF4.5 2. CF5.40 3. CFMX. in windows machines. There jvm.dll 's in the 1. Java/j2re1.4.1/bin/client/jvm.dll 2. JavaSoft/JRE/1.3.0_01/bin/hotspot/jvm.dll directory. is it better to use one or the other eventhough they are different versions? Joe Eugene Certified Advanced ColdFusion Developer __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JVM setting?
I don't think you'd want to use the one in the client directory. If I recall correctly, Sun distributes two JVMs within the J2 SDK - one for client use, and another for server use. I suspect that the JRE only comes with one of those, but I'm not sure. Yeah looks like the SDK for 1.4.x does come with the Server dll (and client dll), the JRE download comes with only the client jvm.dll. So they must not have combined them, I'll have to look into this further. There should be a way to download just the server JRE. _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: IRC or chat room where CF'rs hang out
There is, but the guy who manages this list got bad mouthed on one of those IRC forums. They kinda seem like jerks from the sound of things. This is likely your best resource honestly... -Original Message- From: Stevens, Jason [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:58 AM To: CF-Talk Subject: IRC or chat room where CF'rs hang out Is there an IRC room or a chat room where cold fusion developers/sysadmin's and the like hang out through out the day and have discussions... answer questions, etc. I recently joined a couple free source projects that have their own IRC channel and have found it not only to be incredibly helpful but extremely efficient. Also, if fusionscript has an IRC channel I would be interested in that as well, thanks for your time. -Jason 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 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Filemaker faults to win a bid for using CF
I have used it in the past. The Filemaker application MUST be open as GUI on the target server for it to interact as a web data source. It does ok with simple queries, slows down with large queries and sorting. It ques request one at a time - linear But, if the client already has Filemaker set up as an internal database ( which it does very well ) it's a breeze to web-enable out of the box. So, for low traffic, keep Filemaker. Here is a thought.. if the client wants to keep Filemaker internally and you can use SQL Server, set up a DTS to extract data out of Filemaker into SQL Server and then use ColdFusion. Dave - Original Message - From: Kodjo Ackah [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 10:00 AM Subject: Filemaker faults to win a bid for using CF I need some strong points on the shortcomings of filemaker to win a bid to use CF. Any bright ideas? Kodjo Ackah Principal Consultant Concrete Media Ltd 32 Great Sutton Street Clerkenwell London, EC1V 0DX Tel:+44 (0)20 7251 8090 Fax: +44 (0)20 7251 8780 Mobile: +44 (0)7748 79 1038 Office Location: http://www.streetmap.co.uk/streetmap.dll?G2M?X=531852Y=182204A=YZ=1 __ 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