RE: using form.fieldNames and CFLOOP to insert selected radio but tons
Ron, Dave has given you two concrete solutions/options/direction to handle this issue. I have read many of his helpful responses to people on this board and I am sure he is an 'expert' here. 1. Use a 'cfif' statement within your 'cfloop' to process the form variable as long as it is 'not' (whatever form variable names that should be ignored) 2. Do not add the 'name' parameter to the input type=submit tag on the form. If there was something else that you were looking for, please let us know. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: Ron Eis [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:57 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons I agree Dave. That's why I posted the question here. I would really appreciate any concrete solutions/options/direction from the other experts here. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:36 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons It's returning the correct values that need to be inserted into the database, but it's also returning the value and name of my submit button. I thought using form.fieldNames was correct but I'm not sure how to return all the selected fields but not the submit? Thanks for any help! CF has no way of knowing which fields you care about, and which you don't. Your submit button creates a form variable, just like any other form field. You can avoid this by using conditional logic within your loop to exclude the fields you don't want, or by not giving those fields names in the first place. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295968 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: using form.fieldNames and CFLOOP to insert selected radio but tons
I agree Dave. That's why I posted the question here. I would really appreciate any concrete solutions/options/direction from the other experts here. Whenever I have radio buttons I need to read, I just create fieldnames you can pick up on, like this name=readThis_field When you process it, loop over the fieldnames and only read the ones you need, like Dave said. This is inside the loop: cfif listFirst(thisfield, _) EQ readThis Process it here /cfif But I've mostly done this when I had dynamic radio buttons from my db. Then I'll use this same method but encode a PK ID to the end of the name. whateverName_#shipOptionID# Then you can grab that ID using listLast() to use in your query WHERE clause or somethin. I think I picked up that technique from Ray's blog one day. Anyway, I've used the heck out of it ever since. www.coldfusionjedi.com hth, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295969 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Simple Employment Application
When I post it I keep getting a line 35 error Could you please show us the exact error? :) It really makes it tough when we can't see the error. It'd be like if I posted, which some would argue I have, somethin like this. hello, I have an error. Could you please tell me what caused it? You'd be like, and I'm supposed to figure it out how? hth, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295970 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: using form.fieldNames and CFLOOP to insert selected radio buttons
Thanks again William and Dave! I will try to word my responses better because I was not implying the lack of expert advice from anyone. I've learned alot of the posts and posters here! I named the submit button because I use cfif isDefined(form.inputButton) to run the loop/insert. I can avoid this by not including verything on the same page (which for me is easier organized) and to run my loop and insert in a new page? Is this the best option? Is using form.fieldNames the best way to retrieve the selected values from the form? If so, I'll add the conditional logic as Dave suggested. I was having so much trouble with the extra results that I was questioning whether or not I was using the best method or if there was a better one. -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 2:45 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Ron, Dave has given you two concrete solutions/options/direction to handle this issue. I have read many of his helpful responses to people on this board and I am sure he is an 'expert' here. 1. Use a 'cfif' statement within your 'cfloop' to process the form variable as long as it is 'not' (whatever form variable names that should be ignored) 2. Do not add the 'name' parameter to the input type=submit tag on the form. If there was something else that you were looking for, please let us know. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: Ron Eis [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:57 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons I agree Dave. That's why I posted the question here. I would really appreciate any concrete solutions/options/direction from the other experts here. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:36 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons It's returning the correct values that need to be inserted into the database, but it's also returning the value and name of my submit button. I thought using form.fieldNames was correct but I'm not sure how to return all the selected fields but not the submit? Thanks for any help! CF has no way of knowing which fields you care about, and which you don't. Your submit button creates a form variable, just like any other form field. You can avoid this by using conditional logic within your loop to exclude the fields you don't want, or by not giving those fields names in the first place. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295971 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SOT: Queying Excel spreadsheets
All, Has anyone done a join query across two Excel Spreadhseets.. I can do the join, I just don't know what the mechanism is to run the query across spreadsheets Thanks for any input. sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295972 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: lt;cfexecutegt; help.
Nope, unfortunately, that has absolutely not effect. The process does not close itself. I mean, I need to get a /c onto the command line somehow. However, I have no experience with batch files, or cfexecute, so I don't know how I could fit a /c onto the same arguments string as the rest of the ffmpeg command. Just putting ffmpeg /c doesn't seem to work, at least not in my limited testing. When you run ffmpeg from the command line yourself, you're actually running two programs, in a manner of speaking. You're running the command processor itself, and that's running ffmpeg for you: cmd /c ffmpeg ... Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295973 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: lt;cfexecutegt; help.
I tried this, but to no avail. Doesn't seem to end the process like I need. I mean, I need to get a /c onto the command line somehow. However, I have no experience with batch files, or cfexecute, so I don't know how I could fit a /c onto the same arguments string as the rest of the ffmpeg command. Just putting ffmpeg /c doesn't seem to work, at least not in my limited testing. When you run ffmpeg from the command line yourself, you're actually running two programs, in a manner of speaking. You're running the command processor itself, and that's running ffmpeg for you: cmd /c ffmpeg ... Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295974 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: using form.fieldNames and CFLOOP to insert selected radio but tons
PERFECT SOLUTION! Thanks Dave and everyone. Here's what I ended up with: cfif isDefined(form.inputButton) cfloop index=i list=#form.fieldNames# cfif #i# NEQ inputButton cfquery datasource=#dbname# name=addContact INSERT INTO contact (contactDbId,contactTypeId,contactDate) VALUES ('#Evaluate(i)#','#form[i]#','#DateFormat(Now(), '-mm-dd')#') /cfquery /cfif /cfloop cfelse... -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 10:00 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons You can avoid this by using conditional logic within your loop to exclude the fields you don't want, or by not giving those fields names in the first place. I would really appreciate any concrete solutions/options/direction ... I provided two solutions. They're about as concrete as you can get, without me writing the code. Did you try either? The first would involve wrapping your CFQUERY with CFIF tags: cfloop index=i list=#form.fieldNames# cfif i is not inputbutton cfquery datasource=#dbname# name=addContact INSERT INTO contact FIELDS (contactDbId,contactTypeId,contactDate) VALUES (#Evaluate(i)#,#form[i]#,#DateFormat(Now(), '-mm-dd')#) /cfquery /cfif /cfloop Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295975 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: using form.fieldNames and CFLOOP to insert selected radio buttons
Ron, Since you know what the name of the submit button is on the receiving page, you can check for it in loop and not have to worry about separating out your functions. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: Ron Eis [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 6:37 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Thanks again William and Dave! I will try to word my responses better because I was not implying the lack of expert advice from anyone. I've learned alot of the posts and posters here! I named the submit button because I use cfif isDefined(form.inputButton) to run the loop/insert. I can avoid this by not including verything on the same page (which for me is easier organized) and to run my loop and insert in a new page? Is this the best option? Is using form.fieldNames the best way to retrieve the selected values from the form? If so, I'll add the conditional logic as Dave suggested. I was having so much trouble with the extra results that I was questioning whether or not I was using the best method or if there was a better one. -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 2:45 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Ron, Dave has given you two concrete solutions/options/direction to handle this issue. I have read many of his helpful responses to people on this board and I am sure he is an 'expert' here. 1. Use a 'cfif' statement within your 'cfloop' to process the form variable as long as it is 'not' (whatever form variable names that should be ignored) 2. Do not add the 'name' parameter to the input type=submit tag on the form. If there was something else that you were looking for, please let us know. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: Ron Eis [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:57 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons I agree Dave. That's why I posted the question here. I would really appreciate any concrete solutions/options/direction from the other experts here. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:36 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons It's returning the correct values that need to be inserted into the database, but it's also returning the value and name of my submit button. I thought using form.fieldNames was correct but I'm not sure how to return all the selected fields but not the submit? Thanks for any help! CF has no way of knowing which fields you care about, and which you don't. Your submit button creates a form variable, just like any other form field. You can avoid this by using conditional logic within your loop to exclude the fields you don't want, or by not giving those fields names in the first place. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295976 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: using form.fieldNames and CFLOOP to insert selected radio buttons
Looks like you got it already, I didn't read all of the remaining string before replying to you. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 10:54 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Ron, Since you know what the name of the submit button is on the receiving page, you can check for it in loop and not have to worry about separating out your functions. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: Ron Eis [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 6:37 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Thanks again William and Dave! I will try to word my responses better because I was not implying the lack of expert advice from anyone. I've learned alot of the posts and posters here! I named the submit button because I use cfif isDefined(form.inputButton) to run the loop/insert. I can avoid this by not including verything on the same page (which for me is easier organized) and to run my loop and insert in a new page? Is this the best option? Is using form.fieldNames the best way to retrieve the selected values from the form? If so, I'll add the conditional logic as Dave suggested. I was having so much trouble with the extra results that I was questioning whether or not I was using the best method or if there was a better one. -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 2:45 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Ron, Dave has given you two concrete solutions/options/direction to handle this issue. I have read many of his helpful responses to people on this board and I am sure he is an 'expert' here. 1. Use a 'cfif' statement within your 'cfloop' to process the form variable as long as it is 'not' (whatever form variable names that should be ignored) 2. Do not add the 'name' parameter to the input type=submit tag on the form. If there was something else that you were looking for, please let us know. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: Ron Eis [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:57 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons I agree Dave. That's why I posted the question here. I would really appreciate any concrete solutions/options/direction from the other experts here. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:36 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons It's returning the correct values that need to be inserted into the database, but it's also returning the value and name of my submit button. I thought using form.fieldNames was correct but I'm not sure how to return all the selected fields but not the submit? Thanks for any help! CF has no way of knowing which fields you care about, and which you don't. Your submit button creates a form variable, just like any other form field. You can avoid this by using conditional logic within your loop to exclude the fields you don't want, or by not giving those fields names in the first place. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295978 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT: Queying Excel spreadsheets
Hi Scott, Try this blog posting from Ben Nadel as a starter: http://www.bennadel.com/blog/427-Reading-A-Microsoft-Excel-File-In-ColdFusion-Using-JExcel-API.htm hth, larry All, Has anyone done a join query across two Excel Spreadhseets.. I can do the join, I just don't know what the mechanism is to run the query across spreadsheets Thanks for any input. sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295977 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: using form.fieldNames and CFLOOP to insert selected radio buttons
Thanks for following up! I'm always looking for tips and tricks for steamlining my code so I really appreciate all the information. -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 12:58 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Looks like you got it already, I didn't read all of the remaining string before replying to you. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 10:54 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Ron, Since you know what the name of the submit button is on the receiving page, you can check for it in loop and not have to worry about separating out your functions. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: Ron Eis [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 6:37 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Thanks again William and Dave! I will try to word my responses better because I was not implying the lack of expert advice from anyone. I've learned alot of the posts and posters here! I named the submit button because I use cfif isDefined(form.inputButton) to run the loop/insert. I can avoid this by not including verything on the same page (which for me is easier organized) and to run my loop and insert in a new page? Is this the best option? Is using form.fieldNames the best way to retrieve the selected values from the form? If so, I'll add the conditional logic as Dave suggested. I was having so much trouble with the extra results that I was questioning whether or not I was using the best method or if there was a better one. -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 2:45 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Ron, Dave has given you two concrete solutions/options/direction to handle this issue. I have read many of his helpful responses to people on this board and I am sure he is an 'expert' here. 1. Use a 'cfif' statement within your 'cfloop' to process the form variable as long as it is 'not' (whatever form variable names that should be ignored) 2. Do not add the 'name' parameter to the input type=submit tag on the form. If there was something else that you were looking for, please let us know. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: Ron Eis [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:57 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons I agree Dave. That's why I posted the question here. I would really appreciate any concrete solutions/options/direction from the other experts here. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 6:36 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio but tons It's returning the correct values that need to be inserted into the database, but it's also returning the value and name of my submit button. I thought using form.fieldNames was correct but I'm not sure how to return all the selected fields but not the submit? Thanks for any help! CF has no way of knowing which fields you care about, and which you don't. Your submit button creates a form variable, just like any other form field. You can avoid this by using conditional logic within your loop to exclude the fields you don't want, or by not giving those fields names in the first place. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295979 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: using form.fieldNames and CFLOOP to insert selected radio buttons
Thanks for following up! I'm always looking for tips and tricks for steamlining my code so I really appreciate all the information. -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 12:58 PM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Looks like you got it already, I didn't read all of the remaining string before replying to you. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer http://William.Seiter.com -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 10:54 AM To: CF-Talk Subject: RE: using form.fieldNames and CFLOOP to insert selected radio buttons Ron, Since you know what the name of the submit button is on the receiving page, you can check for it in loop and not have to worry about separating out your functions. William ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295980 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ColdFusion LMS Systems
Is anybody familiar with any SCORM Learning Management Systems (LMS) that are built in ColdFusion? Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295981 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion LMS Systems
On 1/6/08, Philip Hayes [EMAIL PROTECTED] wrote: Is anybody familiar with any SCORM Learning Management Systems (LMS) that are built in ColdFusion? The Webmentor LMS from Avilar seems to be built on CF. We use the hosted version, however, so I have not had a look at the insides. http://www.avilar.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295982 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: using form.fieldNames and CFLOOP to insert selected radio but tons
Here's what I ended up with: cfif isDefined(form.inputButton) Just to add to this a bit, you might not want to use the submit button as a flag, since it's possible in many cases to submit a form without actually clicking on the submit button, in which case you wouldn't have a corresponding form variable in your action logic. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295983 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: ColdFusion LMS Systems
Is anybody familiar with any SCORM Learning Management Systems (LMS) that are built in ColdFusion? I'm not familiar with any. I'd recommend that you take a look at Moodle before building your own, though. It's not in CF, but it's free and open-source: http://www.moodle.org/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295984 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: Shop-system running on JBoss/Java
Hi list, does someone know an open source standard shop system running on JBoss with Java ? Uwe ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295985 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF8 + Apache Virtual host
Hi, I am having a hard time configuring Apache Virtual host with ColdFusion 8. Here is my setup 1. Windows XP. 2. Apache 2.2.6 3. ColdFusion 8 - Multi instance. Here is what I've done till now 1. Installed Apache and CF8 with JRUN. 2. Create a new CF intances in CF Admin 3. Ran the Web Connector for Apache and the two virtual host can connect to CF successfully. Here is the VH definitions VirtualHost *:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot E:\apachesites\qasim ServerName qasimrasheed.local ServerAlias www.qasimrasheed.local ErrorLog logs/qasimrasheed.local-error.log Directory / Order Allow,Deny Allow from all /Directory /VirtualHost VirtualHost *:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot E:\apachesites\qasim1 ServerName qasimrasheed1.local ServerAlias www.qasimrasheed1.local ErrorLog logs/qasimrasheed1.local-error.log Directory / Order Allow,Deny Allow from all /Directory /VirtualHost Here is how ColdFusion connector added things to Apache conf. IfModule mod_jrun22.c JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ignoresuffixmap false JRunConfig Serverstore C:/JRun4/lib/wsconfig/1/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51020 #JRunConfig Errorurl url optionally redirect to this URL on errors #JRunConfig ProxyRetryInterval 600 number of seconds to wait before trying to reconnect to unreachable clustered server #JRunConfig ConnectTimeout 15 number of seconds to wait on a socket connect to a jrun server #JRunConfig RecvTimeout 300 number of seconds to wait on a socket receive to a jrun server #JRunConfig SendTimeout 15 number of seconds to wait on a socket send to a jrun server AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf /IfModule Ok now I commented the serverstore and bootstrap from above and added these to individual Virtual Host. However it doesn't work and I see these errors in Apache log files [Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] can't retrieve servers from server, no bootstrap specified. [Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] can't load servers from serverstore, no serverstore specified. [Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] can't persist servers, no serverstore specified. [Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] Couldn't initialize from remote server, JRun server(s) probably down. [Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server. Thanks. Any help is greatly appreciated. Qasim. -- Qasim Rasheed Certified Advance ColdFusion MX Developer (IM qasimrasheed AT yahoo, msn or GTalk) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295986 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Shop-system running on JBoss/Java
Hi list, does someone know an open source standard shop system running on JBoss with Java ? Uwe You might want to try any number of shopping carts written in CF. As for JBoss and CF8, its very easy getting CF8 up and running on JBoss, Steven Brownlee has a great tutorial for setting up CF8 on JBoss: http://www.fusioncube.net/?p=94 and setting up CF8 and Jboss with the Apache Proxy. http://www.fusioncube.net/?p=111 hth, larry ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295987 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF8 Install Wizard Not Seeing IIS running on Windows 2000
I have a Windows 2000 Server running IIS just fine. Plain HTML Files are served without any problems. I am trying to install CF8 Dev, but when I get to the step Select webservers and/or website to configure for use with ColdFusion, the list is empty under Webservers/WebSites even though two IIS sites (different IPs) are running. Next is disabled unless I select Built-in web server which I don't want to do. Any ideas why the CF8 install wizard doesn't see my IIS server/websites? Paul Cormier ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295988 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 + Apache Virtual host
Are the Virtual Host definitions before or after the IfModule section in the file? On Jan 7, 2008 9:36 AM, Qasim Rasheed [EMAIL PROTECTED] wrote: Hi, I am having a hard time configuring Apache Virtual host with ColdFusion 8. Here is my setup 1. Windows XP. 2. Apache 2.2.6 3. ColdFusion 8 - Multi instance. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295989 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 + Apache Virtual host
James, Those are before IfMoule section, however if I do not specify anything on each Virtual Host they can all connect to the single CF server successfully. Regards Qasim On Jan 6, 2008 9:20 PM, James Holmes [EMAIL PROTECTED] wrote: Are the Virtual Host definitions before or after the IfModule section in the file? On Jan 7, 2008 9:36 AM, Qasim Rasheed [EMAIL PROTECTED] wrote: Hi, I am having a hard time configuring Apache Virtual host with ColdFusion 8. Here is my setup 1. Windows XP. 2. Apache 2.2.6 3. ColdFusion 8 - Multi instance. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295990 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 + Apache Virtual host
The virtual hosts needs to come after the ifmodule section. On Jan 7, 2008 11:26 AM, Qasim Rasheed [EMAIL PROTECTED] wrote: James, Those are before IfMoule section, however if I do not specify anything on each Virtual Host they can all connect to the single CF server successfully. Regards Qasim On Jan 6, 2008 9:20 PM, James Holmes [EMAIL PROTECTED] wrote: Are the Virtual Host definitions before or after the IfModule section in the file? On Jan 7, 2008 9:36 AM, Qasim Rasheed [EMAIL PROTECTED] wrote: Hi, I am having a hard time configuring Apache Virtual host with ColdFusion 8. Here is my setup 1. Windows XP. 2. Apache 2.2.6 3. ColdFusion 8 - Multi instance. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295991 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 Install Wizard Not Seeing IIS running on Windows 2000
I have a Windows 2000 Server running IIS just fine. Plain HTML Files are served without any problems. I am trying to install CF8 Dev, but when I get to the step Select webservers and/or website to configure for use with ColdFusion, the list is empty under Webservers/WebSites even though two IIS sites (different IPs) are running. Next is disabled unless I select Built-in web server which I don't want to do. Any ideas why the CF8 install wizard doesn't see my IIS server/websites? Paul Cormier ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295992 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: ColdFusion LMS Systems
Echo11 has a SCORM LMS in ColdFusion. There url is echoeleven.com John Mason [EMAIL PROTECTED] 770.337.8363 www.FusionLink.com - ColdFusion and Flex hosting Now offering ColdFusion 8 Enterprise hosting FREE Subversion hosting -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 3:40 PM To: CF-Talk Subject: RE: ColdFusion LMS Systems Is anybody familiar with any SCORM Learning Management Systems (LMS) that are built in ColdFusion? I'm not familiar with any. I'd recommend that you take a look at Moodle before building your own, though. It's not in CF, but it's free and open-source: http://www.moodle.org/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295993 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF7 Verity Issues. Any help/comments would be appreciated
Hi Rich, This happens when you try to access a cfm which includes cfindex action=refresh.. simultaneously from different browsers. Thanks, Asha. Jayesh, I was able to catch the stacktrace of the error while indexing, That causes this (-1705) error. It seems that this happens whether I have the collection set to englishx or english and is very frustrating. Your help is greatly appreciated. Here is the stack trace. General failure. (-2) The error occurred in F:\wwwroot\cxprod\COM\search.cfc: line 75 73 : cfindex 74 : collection=#arguments.CollectionName# 75 : urlpath=#Arguments.URLPath# 76 : action=REFRESH 77 : key=#Variables.rootdir##Arguments.RootPath# Resources: * Check the ColdFusion documentation to verify that you are using the correct syntax. * Search the Knowledge Base to find a solution to your problem. Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 ColdFire/1.0 Remote Address10.105.46.141 Referrer Date/Time 16-Nov-07 10:20 AM Stack Trace at cfsearch2ecfc553591659$funcINDEXFILECOLLECTION. runFunction(F:\wwwroot\cxprod\COM\search.cfc:75) at cfIndexFiles2ecfm510222358. runPage(F:\wwwroot\cxprod\scheduler\IndexFiles.cfm:20) com.verity.coll.VCollectionException: General failure. (-2) at com.verity.coll.VCollection.submitDocumentBatch(Unknown Source) at coldfusion.tagext.search.IndexTag.doUpdate(IndexTag.java:345) at coldfusion.tagext.search.IndexTag.doStartTag(IndexTag.java:162) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfsearch2ecfc553591659$funcINDEXFILECOLLECTION. runFunction(F:\wwwroot\cxprod\COM\search.cfc:75) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod. java:290) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter. invoke(UDFMethod.java:254) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter. java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:146) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634) at cfIndexFiles2ecfm510222358. runPage(F:\wwwroot\cxprod\scheduler\IndexFiles.cfm:20) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter. java:225) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter. java:51) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.ClientScopePersistenceFilter. invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter. java:22) at coldfusion.filter.RequestThrottleFilter. invoke(RequestThrottleFilter.java:115) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet. java:78) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at com.seefusion.Filter.doFilter(Filter.java:49) at com.seefusion.SeeFusion.doFilter(SeeFusion.java:1494) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain. java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher. java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService. java:541) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService. java:204) at jrunx.scheduler.ThreadPool$DownstreamMetrics. invokeRunnable(ThreadPool.java:318) at jrunx.scheduler.ThreadPool$ThreadThrottle. invokeRunnable(ThreadPool.java:426) at jrunx.scheduler.ThreadPool$UpstreamMetrics. invokeRunnable(ThreadPool.java:264) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Hi Rich/Jenny, Can you post the full stackstrace here? that will be more helpful to investigate it. Thanks Regards, Jayesh Viradiya Adobe CF Team Hi
Re: lt;cfexecutegt; help.
We have fixed this bug with cfexecute recently. We are evaluating if we should release a hotfix for the same. Thanks, Hemant ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295995 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4