MX6.1 in J2EE and Apache Myfaces/Spring
Has anyone ever tried to get Apache Myfaces and/or Spring loaded into the same J2EE instance as ColdFusion ? Any gotchas ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227138 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: MX6.1 in J2EE and Apache Myfaces/Spring
On Friday 16 December 2005 09:24, Thomas Chiverton wrote: Has anyone ever tried to get Apache Myfaces and/or Spring loaded into the same J2EE instance as ColdFusion ? Answer my own question: No problems at all. -- Tom Chiverton Advanced ColdFusion Programmer ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227139 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Cfmx7: request timeout in cfadmin - even for uploads?
Does http-post uploading contribute to the request timeout in cfmx7? or is the number of seconds in CFadmin only tracked post-receipt of the full request (including POST data). Also, how does it impact the max simultaneous thread count? Thanks in advance dov NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227140 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: AJAX related: onClick grab all form elements
Check out prototype.js. Anyopne that does AJAX should seriously check out prototype.js its got some great functionality. Good documentation requires you to go to google, though the script itself is fairly easy to read/understand. The documentation I found useful was http://blogs.ebusiness-apps.com/jordan/pages/Prototype%20Library%20Info.htm Adam On 12/15/05, dave [EMAIL PROTECTED] wrote: http://www.formassembly.com/index.php ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ From: Bryan Stevenson [EMAIL PROTECTED] Sent: Thursday, December 15, 2005 5:18 PM To: CF-Talk cf-talk@houseoffusion.com Subject: AJAX related: onClick grab all form elements Hey All, Now that I'm looking into AJAX, I'm wondering how I can grab the values of ALL form elements with an onClick event? I'd like to grab them all as a structure or array and send the FORM scope off to a CFC to perform server-side validation and passback the results ( i.e. avoid the full form post and page refresh as you'd have in normal server-side validation). Hopefully that was clear enough ;-) TIA Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227141 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
client variables IE problem
Hi, I'm forever having problems with users who use IE (and that's a huge lot of them). If they log in with Firefox they are usually fine. I am using client variables, when they log in with their email and password I assign some client variables like: !--- check password --- cfif CheckAuthor.authorPassword IS form.authorPassword AND compare(CheckAuthor.authorPassword, form.authorPassword) IS 0 cfset Client.AuthorID = #CheckAuthor.authorID# cfset Client.authorFirstName = #CheckAuthor.authorFirstName# cfset Client.authorSurname = #CheckAuthor.authorSurname# cfset Client.authorEmailAddress = #CheckAuthor.authorEmailAddress# cfset Client.authorLevel = #CheckAuthor.authorLevel# cfif #DateFormat(CheckAuthor.authorDateLastSuccessfulLogin, mm/dd/)# NEQ #DateFormat(UKTodayDate, mm/dd/)# cfset CheckAuthor.authorDaysVisitedSite = #CheckAuthor.authorDaysVisitedSite# + 1 /cfif !-- update login details to DB -- CFQUERY NAME=Update_authorDetails datasource=user020 UPDATE tbl_020authorDetails SET authorDateLastSuccessfulLogin = #UKTodayDate#, authorDaysVisitedSite = '#CheckAuthor.authorDaysVisitedSite#' WHERE authorID = '#Client.authorID#' /CFQUERY cflocation url=/webs/020/projects/projects.cfm addtoken=no cfelse cfset client.errorMessage = Incorrect email or password cflocation url=/webs/020/projects/projects.cfm addtoken=no /cfif It's hard and fast code I know but is there anything wrong with the way I am setting the client variables? Thanks, Saturday ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227142 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Firefox Problem
Hi All, I'm having a session variable issue with firefox. We have a login that if it is valid, it will set the values in a user cfc that they are logged in and all their user data and allow them to access member or admin sections of the site. This works perfectly fine in IE but fails in firefox. If I dump the variables in the user cfc in the stored in the session scope on the results page that processes the login, all is good. Once I get forwarded to the admin main page and dump the object, it shows not logged in and no user info. I have checked and there is no code recreating the session object and this is happening whether it's cflocation forwarding it or clicking a link on the results page. Any help would be appreciated. Thanks, Trevor Holm-Laursen eBusiness Developer FCS (Fundy Computer Services Ltd.) Phone: (902)463-5953 Tel: 877-993-8636 Fax: 902-484-5887 [EMAIL PROTECTED] http://www.fcs.ca http://www.fcs.ca The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Re-transmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If received in error, please accept my apologies, contact the sender and delete the material from any computer. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227143 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Linux CFMX 6.1 / JVM crash revisited
On Tuesday 06 December 2005 22:29, Terry Ford wrote: Any help with finding a stable, high performance JVM for CFMX on linux would be much appreciated. We use JRockit 1.4 (under Weblogic) fine. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227144 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: For emergency only
On Tuesday 06 December 2005 19:45, Burns, John D wrote: Nice, which cell phone are you using? I'd love to have that ability on mine! My Sony Ericson P900 does it, SSH too. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227145 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: REPOST: Redundancy Options
On Wednesday 07 December 2005 14:38, Rick Root wrote: Doesn't anyone have any comments on failover/redundancy in a coldfusion environment? You answered your own question in the last paragraph of your post. By two of everything and a pair of load balancers. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227146 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Firefox Problem
On Friday 16 December 2005 13:47, Trevor Holm-Laursen wrote: I'm having a session variable issue with firefox. We have a login that if it is valid, it will set the values in a user cfc that they are logged in Have you checked that both IE and firefox start from clear cache's and cookies ? Can you install an extension into firefox (or run both browsers through a proxy) and verify cookies etc are being set as expected (assuming you use the normal CF CFID/CFTOKEN) ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227147 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Love flash in CFCHART but hate...
I think you posted the wrong URL. That URL led to a tech note on memory usage. On 12/15/05, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Steve, You can configure a _lot_ of stuff via the cfcharts command line designer program. It is in your cfusion/bin folder I believe. If you search Tim Buntel's blog, he wrote an entry about it a few months back. Here's some info I blogged a while back: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17517 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227148 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Firefox Problem
I have had that problem before, but It was IE that broke not Firefox... it was happening to use because IE was not holding the session, so a new session was getting created every page refresh. Try dumping out the CFID/CFTOKEN on every page to see if that is being kept across page calls. If it is not, we found that we could fix the problem by making the site a Trusted Site in the IE security settings. I am not sure what the FireFox equiv would be, but its worth looking in to. ... Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for Pedro -Original Message- From: Trevor Holm-Laursen [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:47 AM To: CF-Talk Subject: Firefox Problem Hi All, I'm having a session variable issue with firefox. We have a login that if it is valid, it will set the values in a user cfc that they are logged in and all their user data and allow them to access member or admin sections of the site. This works perfectly fine in IE but fails in firefox. If I dump the variables in the user cfc in the stored in the session scope on the results page that processes the login, all is good. Once I get forwarded to the admin main page and dump the object, it shows not logged in and no user info. I have checked and there is no code recreating the session object and this is happening whether it's cflocation forwarding it or clicking a link on the results page. Any help would be appreciated. Thanks, Trevor Holm-Laursen eBusiness Developer FCS (Fundy Computer Services Ltd.) Phone: (902)463-5953 Tel: 877-993-8636 Fax: 902-484-5887 [EMAIL PROTECTED] http://www.fcs.ca http://www.fcs.ca The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Re-transmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If received in error, please accept my apologies, contact the sender and delete the material from any computer. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227149 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Required DSN Username Password
I'm using a web host that requires a DSN username password for every query. I am nervous about storing these values on the server in a globals setting file for obvious security reasons. Does anyone have a suggestion how to safely store a DSN username password? I've thought about encrypting, but with encrypting I would need a way for CF/BD to decrypt for each query which is like leaving the keys to your car on the front seat when you go into a store. Thank you, Aftershock Web Design, Inc. by: Stan Winchester President/Developer http://www.aftershockweb.com/ ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227150 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfloop vs cfoutput query - best practice
Well that's okay then. But I was HOPING you'd tell me you had a way to group using cfloop darnit! !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 4:18 PM To: CF-Talk Subject: Re: cfloop vs cfoutput query - best practice That's not possible. What if you want to group on a column? Cfloop can't do that, only cfoutput. How do you get around that limitation? Because I would maim to be able to use group with cfloop. Well yes it is possible if you never (at least not in about 5 years) use the grouping ability of CFOUTPUT ;-) never say never Andy ;-) Cheers Bryan Stevenson B.Comm. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227151 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: For emergency only
The SE P990 is looking like it will be a great phone when its released next year adding wi-fi, 3G and a 2megapixel camera to the P900. I just hope it's out by the time I need to renew my contract. http://www.mobilegazette.com/sony-ericsson-p990i-051010.htm On 12/16/05, Thomas Chiverton [EMAIL PROTECTED] wrote: On Tuesday 06 December 2005 19:45, Burns, John D wrote: Nice, which cell phone are you using? I'd love to have that ability on mine! My Sony Ericson P900 does it, SSH too. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227152 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Required DSN Username Password
We store ours in a CF struct: DSN = StructNew(); DSN.Source = DSN.Username = DSN.Password = And then we use that in the queries. We put that in a file that starts with an _ and then we deny any access to files that start with an _ so people can access it by some means. My boss is a stickler for security and he is cool with it. Just make sure you never dump it out to screen anywhere and you should be good. We have never had a problem. You could maybe go further if you are worried and make then private variables inside a DSN coldfusion component. That way, they wouldn't even be able to be seen in a dump. Then use getters for values: DSN.GetSource(), DSN.GetPassword(), etc. But that is probably overkill. ... Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for Pedro -Original Message- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:13 AM To: CF-Talk Subject: Required DSN Username Password I'm using a web host that requires a DSN username password for every query. I am nervous about storing these values on the server in a globals setting file for obvious security reasons. Does anyone have a suggestion how to safely store a DSN username password? I've thought about encrypting, but with encrypting I would need a way for CF/BD to decrypt for each query which is like leaving the keys to your car on the front seat when you go into a store. Thank you, Aftershock Web Design, Inc. by: Stan Winchester President/Developer http://www.aftershockweb.com/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227153 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfloop vs cfoutput query - best practice
Well you can, but you wouldn't want to. Just do the logic yourself by seeing if the grouping column has changed, if it has, you've moved onto the next group. Ade -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: 16 December 2005 14:13 To: CF-Talk Subject: RE: cfloop vs cfoutput query - best practice Well that's okay then. But I was HOPING you'd tell me you had a way to group using cfloop darnit! !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 4:18 PM To: CF-Talk Subject: Re: cfloop vs cfoutput query - best practice That's not possible. What if you want to group on a column? Cfloop can't do that, only cfoutput. How do you get around that limitation? Because I would maim to be able to use group with cfloop. Well yes it is possible if you never (at least not in about 5 years) use the grouping ability of CFOUTPUT ;-) never say never Andy ;-) Cheers Bryan Stevenson B.Comm. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227154 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfloop vs cfoutput query - best practice
I meant having a built-in option for doing it, like with cfoutput. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:24 AM To: CF-Talk Subject: RE: cfloop vs cfoutput query - best practice Well you can, but you wouldn't want to. Just do the logic yourself by seeing if the grouping column has changed, if it has, you've moved onto the next group. Ade -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: 16 December 2005 14:13 To: CF-Talk Subject: RE: cfloop vs cfoutput query - best practice Well that's okay then. But I was HOPING you'd tell me you had a way to group using cfloop darnit! !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 4:18 PM To: CF-Talk Subject: Re: cfloop vs cfoutput query - best practice That's not possible. What if you want to group on a column? Cfloop can't do that, only cfoutput. How do you get around that limitation? Because I would maim to be able to use group with cfloop. Well yes it is possible if you never (at least not in about 5 years) use the grouping ability of CFOUTPUT ;-) never say never Andy ;-) Cheers Bryan Stevenson B.Comm. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227155 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Required DSN Username Password
Ben, Thanks for the suggestion! Are you restricting the file access at the web server level, or in CF? If in CF, are you testing for the file name in CGI scope to deny access? We store ours in a CF struct: DSN = StructNew(); DSN.Source = DSN.Username = DSN.Password = And then we use that in the queries. We put that in a file that starts with an _ and then we deny any access to files that start with an _ so people can access it by some means. My boss is a stickler for security and he is cool with it. Just make sure you never dump it out to screen anywhere and you should be good. We have never had a problem. You could maybe go further if you are worried and make then private variables inside a DSN coldfusion component. That way, they wouldn't even be able to be seen in a dump. Then use getters for values: DSN.GetSource(), DSN.GetPassword(), etc. But that is probably overkill. .. Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for Pedro ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227156 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Required DSN Username Password
I restrict access at the CF level I get the page from the directory path... and if the file begins with _ then I throw an error. ... Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for Pedro -Original Message- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:32 AM To: CF-Talk Subject: Re: Required DSN Username Password Ben, Thanks for the suggestion! Are you restricting the file access at the web server level, or in CF? If in CF, are you testing for the file name in CGI scope to deny access? We store ours in a CF struct: DSN = StructNew(); DSN.Source = DSN.Username = DSN.Password = And then we use that in the queries. We put that in a file that starts with an _ and then we deny any access to files that start with an _ so people can access it by some means. My boss is a stickler for security and he is cool with it. Just make sure you never dump it out to screen anywhere and you should be good. We have never had a problem. You could maybe go further if you are worried and make then private variables inside a DSN coldfusion component. That way, they wouldn't even be able to be seen in a dump. Then use getters for values: DSN.GetSource(), DSN.GetPassword(), etc. But that is probably overkill. .. Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for Pedro ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227157 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Displaying a Javascript menu in front of a SWF file
The problem is that by default Flash effectively has an infinite z-axis on the page. IIRC, it has to do with the way embedded content gets rendered to the page. A common fix is to set the embedded item to have wmode=transparent. See if that helps. --- Kevin Graeme Cooperative Extension Technology Services University of Wisconsin-Extension -Original Message- From: Terry Troxel [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 11:33 AM To: CF-Talk Subject: OT: Displaying a Javascript menu in front of a SWF file I am dynamically writing static pages as well as the menu and One of the pages calls several SWF (shockwave) files and I cannot Figure how to make the submenu slideouts display above the SWF's. Sure would appreacite any help. Terry Troxel ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227158 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Running SESSION CLIENT together
Hi guys, Is it possible to run client and session variables together? I have been running client variables for a while but now am about to start using session. Instead of changing all my client variables to session in one shot i'd like to make a gradual move but i noticed the following lines in my Application.cfm don't work together. cfapplication name=020 clientmanagement=Yes cfapplication name=02005 sessionmanagement=Yes setclientcookies=no sessiontimeout=#CreateTimeSpan(0,2,0,0)# cflock Scope=Session Type=ReadOnly Timeout=20 cfcookie name=CFID value=#Session.CFID# cfcookie name=CFTOKEN value=#Session.CFTOKEN# /cflock Should I be doing it a different way? Thanks, Saturday ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227159 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Attribute Order Preferences
I'm curious as to what others do when entering attributes. For those of you who use an IDE that has the Tag Insight feature such as Dreamweaver or Homesite, as you know, these applications typically present a list of attributes in alphabetical order. So, do you add attributes in alpha order, do you group related attributes or do you not even care? I, for one, tend to keep optional attributes to the far right of the tag. I also tend to keep the commonly-changed attributes toward the left. My reasoning is that I want to see the most-important attributes without having to scroll to the right in case the tag won't fit on a single screen. I also tend to break up large tags, such as CFLDAP on multiple lines. Tags with few attributes tend to stay on a single line. For example: cfldap action= attributes= filter= name= password= port= scope= server= username= or cfldap action= attributes= name= server= username= password= port= I know the order doesn't matter, but do you sort of have a system? So, what do y'all do? M!chael A Dawson Manager of Web Applications Office of Technology Services University of Evansville 1800 Lincoln Avenue Evansville, IN 47722 812-488-2581 MSN Messenger ID: [EMAIL PROTECTED] There are 10 types of people in the world: Those who understand binary numbers and those who don't. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227160 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Running SESSION CLIENT together
I know of no reason why you can't use both client and session variables at the same time. First, why do you have two CFAPPLICATION tags? You can use both client and session variables in the same application. You don't need to switch applications. Second, what doesn't work? M!ke -Original Message- From: Stuart Kidd [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 9:12 AM To: CF-Talk Subject: Running SESSION CLIENT together Hi guys, Is it possible to run client and session variables together? I have been running client variables for a while but now am about to start using session. Instead of changing all my client variables to session in one shot i'd like to make a gradual move but i noticed the following lines in my Application.cfm don't work together. cfapplication name=020 clientmanagement=Yes cfapplication name=02005 sessionmanagement=Yes setclientcookies=no sessiontimeout=#CreateTimeSpan(0,2,0,0)# cflock Scope=Session Type=ReadOnly Timeout=20 cfcookie name=CFID value=#Session.CFID# cfcookie name=CFTOKEN value=#Session.CFTOKEN# /cflock Should I be doing it a different way? Thanks, Saturday ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227161 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Running SESSION CLIENT together
Thanks Mike. Whilst using client variables I have had lots of users saying they can't use IE to login, only Firefox. So now I'm trying to use Session instead which i've just now played around with (allowing both client and session in my cfapplication). Just tested it now and it all seems ok. :) However I have noticed a problem which also dogged me while using client. It's when a user for instance is on a page and they click on the logout button. The logout more or less is: cfelseif isDefined('url.logout') !--- set to logged out --- cflock scope=session type=exclusive timeout=30 cfset session.IsLoggedIn = 'N' /cflock !--- send them back to the referring page--- cflocation url=#session.refpage020# addtoken=no Well, when they go back to the referring page for some reason the page displays like they are really still logged in. But they aren't really logged in as any link they click on will react like they are logged out (ie showing form for logging in). It's weird because i'm clearly logging them out before using cflocation. Thanks, Saturday From: Dawson, Michael [EMAIL PROTECTED] Sent: Friday, December 16, 2005 10:45 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Running SESSION CLIENT together I know of no reason why you can't use both client and session variables at the same time. First, why do you have two CFAPPLICATION tags? You can use both client and session variables in the same application. You don't need to switch applications. Second, what doesn't work? M!ke -Original Message- From: Stuart Kidd [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 9:12 AM To: CF-Talk Subject: Running SESSION CLIENT together Hi guys, Is it possible to run client and session variables together? I have been running client variables for a while but now am about to start using session. Instead of changing all my client variables to session in one shot i'd like to make a gradual move but i noticed the following lines in my Application.cfm don't work together. Should I be doing it a different way? Thanks, Saturday ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227162 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Love flash in CFCHART but hate...
Raymond, Thanks. I occasionally have issues w/Remote Desktop and my Clipboard. Here's the correct URL: http://blog.pengoworks.com/blogger/index.cfm?action=blog:479 -Dan -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 9:04 AM To: CF-Talk Subject: Re: Love flash in CFCHART but hate... I think you posted the wrong URL. That URL led to a tech note on memory usage. On 12/15/05, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Steve, You can configure a _lot_ of stuff via the cfcharts command line designer program. It is in your cfusion/bin folder I believe. If you search Tim Buntel's blog, he wrote an entry about it a few months back. Here's some info I blogged a while back: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17517 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227163 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Attribute Order Preferences
In CFEclipse, the required attributes are delineated from the optional with the whole list in alphabetical order, so I like to go through and do all the required ones first, then snag any optional I need. -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:31 AM To: CF-Talk Subject: Attribute Order Preferences I'm curious as to what others do when entering attributes. For those of you who use an IDE that has the Tag Insight feature such as Dreamweaver or Homesite, as you know, these applications typically present a list of attributes in alphabetical order. So, do you add attributes in alpha order, do you group related attributes or do you not even care? I, for one, tend to keep optional attributes to the far right of the tag. I also tend to keep the commonly-changed attributes toward the left. My reasoning is that I want to see the most-important attributes without having to scroll to the right in case the tag won't fit on a single screen. I also tend to break up large tags, such as CFLDAP on multiple lines. Tags with few attributes tend to stay on a single line. For example: cfldap action= attributes= filter= name= password= port= scope= server= username= or cfldap action= attributes= name= server= username= password= port= I know the order doesn't matter, but do you sort of have a system? So, what do y'all do? M!chael A Dawson Manager of Web Applications Office of Technology Services University of Evansville 1800 Lincoln Avenue Evansville, IN 47722 812-488-2581 MSN Messenger ID: [EMAIL PROTECTED] There are 10 types of people in the world: Those who understand binary numbers and those who don't. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227164 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: AJAX related: onClick grab all form elements
Bryan, qForms has this functionality: You can do: oForm = new qForm(frmName); // return all form fields in the document.frmName form structOfFields = oForm.getFields(); // return all form fields in every form object in the DOM structOfAllFields = qFormAPI.getFields(); -Dan -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 5:17 PM To: CF-Talk Subject: AJAX related: onClick grab all form elements Hey All, Now that I'm looking into AJAX, I'm wondering how I can grab the values of ALL form elements with an onClick event? I'd like to grab them all as a structure or array and send the FORM scope off to a CFC to perform server-side validation and passback the results (i.e. avoid the full form post and page refresh as you'd have in normal server-side validation). Hopefully that was clear enough ;-) TIA Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227165 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFMX and Sql Server 2005 (mirrored instances)
hola peeps... ok, we are thinking of bringing a new SQL Server 2005 into our application systems and one of the things we are thinking about using is two mirrored servers... both are going to be the same data and structure however they will not share an ip address, or name. ..NET can handle this in its new connection string setting Failover and im just wondering how/if ColdFusion MX 7 will handle this, or not handle this. Anyone doing this yet? Thanks! tony ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227166 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Need help with tricky XPath syntax
Howdy -- I'm having difficulty crafting a tricky XPath expression and would appreciate help from any XPath gurus out there. Sample document: IDMS identity idms_id=90282 sponsorship status=Inactive start_date=Jul 20 2004Provost/sponsorship sponsorship status=Active start_date=May 28 2004 Residents/sponsorship /identity identity idms_id=900018891 sponsorship status=Active start_date=May 6 2003HR/sponsorship sponsorship status=Active start_date=May 9 2003Provost/sponsorship sponsorship status=Active start_date=May 8 2003UMA/sponsorship /identity /IDMS I need an XPath expression that will extract the array of identity elements with Active Provost sponsorship. Applying the expression I seek against the above document would yield a one-element array containing only the second identity element from the document. Extracting the identity elements with Provost sponsorship is trivial: /IDMS/identity[sponsorship='Provost'] The tricky part seems to be restricting the selection to only the *Active* Provost sponsorships. I've tried a zillion permutations on the following as the second argument to my XMLSearch() call, but none of my experiments has worked right yet: /IDMS/identity[sponsorship='Provost' and [EMAIL PROTECTED]'Active']] I've looked through all the XPath tutorials I could find but couldn't find an answer to this question (at least, not an answer I could understand). Looking at some complex examples I've found in some tutorials, I've gotten a vague sense that somehow id() and self:: are going to be involved in a solution, but otherwise I'm just totally lost. Greatly appreciate any help anyone can provide. -- Larry Afrin Medical University of South Carolina ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227167 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
DW 8 CF Syntax Help
Does anyone if and where I can find out how to add the F1 validation To CF tags? such as highlighting a CF function (ex: DATEFORMAT ), and press F1 it will display the help for that function. It was part of CF Studio but not DW 8. Thanks! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227168 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: DW 8 CF Syntax Help
Its shift+f1 now Thank You Troy Montour Vampires Internet Company 4663 Main ST Fridley, MN 55421 [EMAIL PROTECTED] P: 763.571.3872 M: 763.458.2368 F: 763.586.0552 On Dec 16, 2005, at 10:18 AM, Adkins, Randy wrote: Does anyone if and where I can find out how to add the F1 validation To CF tags? such as highlighting a CF function (ex: DATEFORMAT ), and press F1 it will display the help for that function. It was part of CF Studio but not DW 8. Thanks! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227169 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: DW 8 CF Syntax Help
shift + f1? or right click the tag and choose Reference? john On 12/16/05, Adkins, Randy [EMAIL PROTECTED] wrote: Does anyone if and where I can find out how to add the F1 validation To CF tags? such as highlighting a CF function (ex: DATEFORMAT ), and press F1 it will display the help for that function. It was part of CF Studio but not DW 8. Thanks! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227170 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: DW 8 CF Syntax Help
Well don't I feel like a moron now.. Thanks! -Original Message- From: Troy Montour [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 11:22 AM To: CF-Talk Subject: Re: DW 8 CF Syntax Help Its shift+f1 now Thank You Troy Montour Vampires Internet Company 4663 Main ST Fridley, MN 55421 [EMAIL PROTECTED] P: 763.571.3872 M: 763.458.2368 F: 763.586.0552 On Dec 16, 2005, at 10:18 AM, Adkins, Randy wrote: Does anyone if and where I can find out how to add the F1 validation To CF tags? such as highlighting a CF function (ex: DATEFORMAT ), and press F1 it will display the help for that function. It was part of CF Studio but not DW 8. Thanks! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227171 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMX and Sql Server 2005 (mirrored instances)
We have two mirrored SQL 2000 servers (soon to be 2005). We use Legato CoStandby Server in an active/passive mode. You create a VIP address and use that in your data source setup. We have been using it for about 6 years now and have had no problems. Not sure if this helps you for your situation, but just another idea. Jacob -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:07 AM To: CF-Talk Subject: CFMX and Sql Server 2005 (mirrored instances) hola peeps... ok, we are thinking of bringing a new SQL Server 2005 into our application systems and one of the things we are thinking about using is two mirrored servers... both are going to be the same data and structure however they will not share an ip address, or name. ...NET can handle this in its new connection string setting Failover and im just wondering how/if ColdFusion MX 7 will handle this, or not handle this. Anyone doing this yet? Thanks! tony ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227172 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMX and Sql Server 2005 (mirrored instances)
VIP address? is that a legato thing? so legato sits in front and manages the ACTIVE/PASSIVE setup, and cfmx looks to legato for WHERE TO LOOK or something like that? tw On 12/16/05, Jacob [EMAIL PROTECTED] wrote: We have two mirrored SQL 2000 servers (soon to be 2005). We use Legato CoStandby Server in an active/passive mode. You create a VIP address and use that in your data source setup. We have been using it for about 6 years now and have had no problems. Not sure if this helps you for your situation, but just another idea. Jacob -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:07 AM To: CF-Talk Subject: CFMX and Sql Server 2005 (mirrored instances) hola peeps... ok, we are thinking of bringing a new SQL Server 2005 into our application systems and one of the things we are thinking about using is two mirrored servers... both are going to be the same data and structure however they will not share an ip address, or name. ...NET can handle this in its new connection string setting Failover and im just wondering how/if ColdFusion MX 7 will handle this, or not handle this. Anyone doing this yet? Thanks! tony ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227173 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Required DSN Username Password
The below example seems to work with regard to the cfc's though I must admit I'm a newbie with cfc's. As a test I called a non-existant variable in the _dns.cfc to see what would happend and it did expose the user name and password, but when I wrapped a cftry/cfcatch block around the calling template and dumped the error it only said the variable did not exist and the user name and password were not exposed. Also, are you using CGI.CF_TEMPLATE_PATH to deny access? start contents of _dsn.cfc cfcomponent displayname=DSN hint=I store dsn setting information cfset InitDsn() / cffunction name=InitDsn access=package hint=I store dsn settings returntype=void cfset dsn = StructNew() / cfset dsn.Source = [my dsn] / cfset dsn.UserName = [my user name] / cfset dsn.Password = [my password] / cfreturn /cffunction !--- GetSource() [instance method] --- cffunction name=GetSource access=package returntype=string hint=I return the value of dsn.Source cfreturn dsn.Source /cffunction !--- GetUserName() [instance method] --- ... the rest of the functions ... /cfcomponent end contents of _dsn.cfc start of foo.cfc cfcomponent extends=_dsn displayname=Foo Component hint=The Foo ... !--- Foo Initialization Area --- cfscript This.LockName = CreateUUID(); ... /cfscript !--- InitFoo() [class method] --- cffunction name=InitFoo access=package hint=I initialize the Foo object. returntype=void cflock timeout=10 throwontimeout=Yes name=#This.LockName# type=EXCLUSIVE cfscript myDsn = CreateObject(Component,_dsn); argParams = StructNew(); argParams.dsn = myDsn.GetSource(); argParams.dsnUserName = myDsn.GetUserName(); argParams.dsnPassword = myDsn.GetPassword(); ...the rest of the Foo.cfc If you see any holes in the above code, PLEASE let me know. Thank you, Aftershock Web Design, Inc. by: Stan Winchester President/Developer [EMAIL PROTECTED] http://www.aftershockweb.com/ Phone 503-244-3440 Fax 503-244-3454 I restrict access at the CF level I get the page from the directory path... and if the file begins with _ then I throw an error. .. Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for Pedro -Original Message- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:32 AM To: CF-Talk Subject: Re: Required DSN Username Password Ben, Thanks for the suggestion! Are you restricting the file access at the web server level, or in CF? If in CF, are you testing for the file name in CGI scope to deny access? people be ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227174 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMX and Sql Server 2005 (mirrored instances)
Last I heard CF couldn't connect to SQL Server 2005 yet. But I must confess I haven't been listening too closely so I may have missed an update. -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 9:30 AM To: CF-Talk Subject: RE: CFMX and Sql Server 2005 (mirrored instances) We have two mirrored SQL 2000 servers (soon to be 2005). We use Legato CoStandby Server in an active/passive mode. You create a VIP address and use that in your data source setup. We have been using it for about 6 years now and have had no problems. Not sure if this helps you for your situation, but just another idea. Jacob -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:07 AM To: CF-Talk Subject: CFMX and Sql Server 2005 (mirrored instances) hola peeps... ok, we are thinking of bringing a new SQL Server 2005 into our application systems and one of the things we are thinking about using is two mirrored servers... both are going to be the same data and structure however they will not share an ip address, or name. NET can handle this in its new connection string setting Failover and im just wondering how/if ColdFusion MX 7 will handle this, or not handle this. Anyone doing this yet? Thanks! tony ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227175 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMX and Sql Server 2005 (mirrored instances)
I guess Pete Freitag got it working (at least the Express version): http://www.petefreitag.com/item/458.cfm -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 9:48 AM To: CF-Talk Subject: RE: CFMX and Sql Server 2005 (mirrored instances) Last I heard CF couldn't connect to SQL Server 2005 yet. But I must confess I haven't been listening too closely so I may have missed an update. -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 9:30 AM To: CF-Talk Subject: RE: CFMX and Sql Server 2005 (mirrored instances) We have two mirrored SQL 2000 servers (soon to be 2005). We use Legato CoStandby Server in an active/passive mode. You create a VIP address and use that in your data source setup. We have been using it for about 6 years now and have had no problems. Not sure if this helps you for your situation, but just another idea. Jacob -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:07 AM To: CF-Talk Subject: CFMX and Sql Server 2005 (mirrored instances) hola peeps... ok, we are thinking of bringing a new SQL Server 2005 into our application systems and one of the things we are thinking about using is two mirrored servers... both are going to be the same data and structure however they will not share an ip address, or name. NET can handle this in its new connection string setting Failover and im just wondering how/if ColdFusion MX 7 will handle this, or not handle this. Anyone doing this yet? Thanks! [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227176 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
how to put a timeout around a piece of CF code?
Hi, Is there any way to put a timeout for a piece of CF code? E.g. I have a CF script with file operations and db queries, I want to make sure the file/db operations take no longer than a predefined timeout, if that happens the code should throw an error I could catch with the surrounding code. Is it possible at all? Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227177 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMX and Sql Server 2005 (mirrored instances)
You set up both SQL servers. Install SQL and what not. Once those servers are set, you then install CoStandby Server (now named AutoStart) In Legato, you create a virtual IP address for the two servers to use. This IP address will be the IP address you use in the data source in the CF administration. (assuming you us TCP/IP, in which you must for Legato to work) This IP address will be different from the physical IP address of the machines. When the primary database server crashes, Legato brings the secondary server active using the virtual IP address. Legato manages the active/passive setup. CF will never know if one goes down or the other. It is transparent to CF. I have a 3 second delay in my Legato setup. If my primary server crashes, I give Legato a 3 second wait until it makes the secondary server active. This is so a hiccup in the network does not cause the secondary server to become active unnecessary. For the amount of database transactions we do, this is acceptable to us. I like Legato over Microsoft because with Microsoft, the two servers share the mirrored drive. In Legato, the servers have a separate hard drive that Legato mirrors. http://legato.com/products/autostart_se/index.htm Jacob -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:41 AM To: CF-Talk Subject: Re: CFMX and Sql Server 2005 (mirrored instances) VIP address? is that a legato thing? so legato sits in front and manages the ACTIVE/PASSIVE setup, and cfmx looks to legato for WHERE TO LOOK or something like that? tw On 12/16/05, Jacob [EMAIL PROTECTED] wrote: We have two mirrored SQL 2000 servers (soon to be 2005). We use Legato CoStandby Server in an active/passive mode. You create a VIP address and use that in your data source setup. We have been using it for about 6 years now and have had no problems. Not sure if this helps you for your situation, but just another idea. Jacob -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:07 AM To: CF-Talk Subject: CFMX and Sql Server 2005 (mirrored instances) hola peeps... ok, we are thinking of bringing a new SQL Server 2005 into our application systems and one of the things we are thinking about using is two mirrored servers... both are going to be the same data and structure however they will not share an ip address, or name. ...NET can handle this in its new connection string setting Failover and im just wondering how/if ColdFusion MX 7 will handle this, or not handle this. Anyone doing this yet? Thanks! tony ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227178 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: how to put a timeout around a piece of CF code?
This is probably not the best way to do it, but you could throw a CFLOCK around the code and use a NAME lock rather than a scope lock, except in the name user a UUID. You can set a lock timeout that throws an error, and no two locks should conflict. Again, probably not the best way, but just off the top of my head. cflock timeout=30 throwontimeout=Yes name=#CreateUUID()# type=EXCLUSIVE ... Code goes here ... /cflock ... Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for Pedro -Original Message- From: wolf2k5 [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 12:18 PM To: CF-Talk Subject: how to put a timeout around a piece of CF code? Hi, Is there any way to put a timeout for a piece of CF code? E.g. I have a CF script with file operations and db queries, I want to make sure the file/db operations take no longer than a predefined timeout, if that happens the code should throw an error I could catch with the surrounding code. Is it possible at all? Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227179 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Required DSN Username Password
I think the idea behind doing this sort of thing (requiring U P in the code) is its easier to hack the CF stuff -- which often resides in a known location, for example -- than it is to get at the templates themselves. And if they get at the templates you're through anyway. One thing I make a point of doing wherever I have the control to do it is set up a datasource that is restricted to the bone. SQL Server only allows it to get to certain tables. CF has all unnecessary operations disabled (stuff like ALTER, DROP, GRANT). I only enable CREATE or DROP when I am doing that operation and then I disable it again. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227180 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Need help with tricky XPath syntax
Larry, Not sure whether this is what you are looking for: /IDMS/identity/[EMAIL PROTECTED]'Active' and text()='Provost'] Returns this element: sponsorship status=Active start_date=May 9 2003Provost/sponsorship Hua -Original Message- From: Lawrence B. Afrin, M.D. [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 11:25 AM To: CF-Talk Subject: Need help with tricky XPath syntax Howdy -- I'm having difficulty crafting a tricky XPath expression and would appreciate help from any XPath gurus out there. Sample document: IDMS identity idms_id=90282 sponsorship status=Inactive start_date=Jul 20 2004Provost/sponsorship sponsorship status=Active start_date=May 28 2004 Residents/sponsorship /identity identity idms_id=900018891 sponsorship status=Active start_date=May 6 2003HR/sponsorship sponsorship status=Active start_date=May 9 2003Provost/sponsorship sponsorship status=Active start_date=May 8 2003UMA/sponsorship /identity /IDMS I need an XPath expression that will extract the array of identity elements with Active Provost sponsorship. Applying the expression I seek against the above document would yield a one-element array containing only the second identity element from the document. Extracting the identity elements with Provost sponsorship is trivial: /IDMS/identity[sponsorship='Provost'] The tricky part seems to be restricting the selection to only the *Active* Provost sponsorships. I've tried a zillion permutations on the following as the second argument to my XMLSearch() call, but none of my experiments has worked right yet: /IDMS/identity[sponsorship='Provost' and [EMAIL PROTECTED]'Active']] I've looked through all the XPath tutorials I could find but couldn't find an answer to this question (at least, not an answer I could understand). Looking at some complex examples I've found in some tutorials, I've gotten a vague sense that somehow id() and self:: are going to be involved in a solution, but otherwise I'm just totally lost. Greatly appreciate any help anyone can provide. -- Larry Afrin Medical University of South Carolina ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227181 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfloop vs cfoutput query - best practice
Well that's okay then. But I was HOPING you'd tell me you had a way to group using cfloop darnit! Well you can do it...but it's not that efficientrole your own code that keeps track of the LAST loops value of the field you want to group onwhen LAST value is not equal to current value you toss in a special bit of display code (like grouping using CFOUTPUT would)so say if the current department neq to last department...through in a departmnet title row. Brute force but it works fine ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227182 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: For emergency only
The SE P990 is looking like it will be a great phone when its released next year adding wi-fi, 3G and a 2megapixel camera to the P900. I just hope it's out by the time I need to renew my contract. You knowdecent cell networks sure would be nice to have in Canada...we're lagging behind something fierce up here (at least on the west coast)!! It's the Kyocera 7135 for methat's about the top of the line around here. Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227183 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: For emergency only
-Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] You knowdecent cell networks sure would be nice to have in Canada...we're lagging behind something fierce up here (at least on the west coast)!! Time to move this to cf-community, but I wouldn't be too envious of the US's cell coverage, its not *that* great, all the phone companies have been too busy spending money on buying up others to repair their facilities, and that's from an insider! -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227184 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: AJAX related: onClick grab all form elements
Dan, How would you loop through the struct to access key and keyvalue once you got this, structOfAllFields = qFormAPI.getFields();? -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:07 AM To: CF-Talk Subject: RE: AJAX related: onClick grab all form elements Bryan, qForms has this functionality: You can do: oForm = new qForm(frmName); // return all form fields in the document.frmName form structOfFields = oForm.getFields(); // return all form fields in every form object in the DOM structOfAllFields = qFormAPI.getFields(); -Dan -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 5:17 PM To: CF-Talk Subject: AJAX related: onClick grab all form elements Hey All, Now that I'm looking into AJAX, I'm wondering how I can grab the values of ALL form elements with an onClick event? I'd like to grab them all as a structure or array and send the FORM scope off to a CFC to perform server-side validation and passback the results (i.e. avoid the full form post and page refresh as you'd have in normal server-side validation). Hopefully that was clear enough ;-) TIA Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227185 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFAjax question: [Object Error] in IE, works fine in FF
I was wondering if anyone could take a look at this thread in the CFAJAX group and see if they have any ideas? http://groups.yahoo.com/group/cfajax/message/890 TIA !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227186 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: For emergency only
Time to move this to cf-community, but I wouldn't be too envious of the US's cell coverage, its not *that* great, all the phone companies have been too busy spending money on buying up others to repair their facilities, and that's from an insider! Yeah...I'm not talking coverageI'm talking data services etcCanada still lags alot in that area. Now Japanthat's where ya go for stellar cell services...hell they had video phones WAY before NA did. Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227187 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMX and Sql Server 2005 (mirrored instances)
That post is in reference to installing SQL Server itself, I believe, and not integrating with ColdFusion. Has anyone on the list tested CFMX7/SQL Server 2005 successfully? -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 9:52 AM To: CF-Talk Subject: RE: CFMX and Sql Server 2005 (mirrored instances) I guess Pete Freitag got it working (at least the Express version): http://www.petefreitag.com/item/458.cfm ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227188 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: AJAX related: onClick grab all form elements
Thanks for that DanI'm not sure I want to get qForms in the mix if all I'd use it for was that set of functions ;-).but good to know it's aout there. Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227189 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Need help with tricky XPath syntax
Hua -- Thanks, but that's not quite right. I agree that getting the sponsorship element is easy with the expression you provided, but what I actually need is the parent identity element (along with all of its sponsorship subelements) of any sponsorship elements with a status attribute of Active and a text value of Provost. -- LBA Hua Wei wrote: Larry, Not sure whether this is what you are looking for: /IDMS/identity/[EMAIL PROTECTED]'Active' and text()='Provost'] Returns this element: sponsorship status=Active start_date=May 9 2003Provost/sponsorship Hua -Original Message- From: Lawrence B. Afrin, M.D. [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 11:25 AM To: CF-Talk Subject: Need help with tricky XPath syntax Howdy -- I'm having difficulty crafting a tricky XPath expression and would appreciate help from any XPath gurus out there. Sample document: IDMS identity idms_id=90282 sponsorship status=Inactive start_date=Jul 20 2004Provost/sponsorship sponsorship status=Active start_date=May 28 2004 Residents/sponsorship /identity identity idms_id=900018891 sponsorship status=Active start_date=May 6 2003HR/sponsorship sponsorship status=Active start_date=May 9 2003Provost/sponsorship sponsorship status=Active start_date=May 8 2003UMA/sponsorship /identity /IDMS I need an XPath expression that will extract the array of identity elements with Active Provost sponsorship. Applying the expression I seek against the above document would yield a one-element array containing only the second identity element from the document. Extracting the identity elements with Provost sponsorship is trivial: /IDMS/identity[sponsorship='Provost'] The tricky part seems to be restricting the selection to only the *Active* Provost sponsorships. I've tried a zillion permutations on the following as the second argument to my XMLSearch() call, but none of my experiments has worked right yet: /IDMS/identity[sponsorship='Provost' and [EMAIL PROTECTED]'Active']] I've looked through all the XPath tutorials I could find but couldn't find an answer to this question (at least, not an answer I could understand). Looking at some complex examples I've found in some tutorials, I've gotten a vague sense that somehow id() and self:: are going to be involved in a solution, but otherwise I'm just totally lost. Greatly appreciate any help anyone can provide. -- Larry Afrin Medical University of South Carolina ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227190 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: For emergency only
My only contribution to this thread is that I am reading this thread on my treo 650. using the new mobile gmail interface. And for the record I LOVE MY TREO! Take care, simeon On 12/16/05, Bryan Stevenson [EMAIL PROTECTED] wrote: Time to move this to cf-community, but I wouldn't be too envious of the US's cell coverage, its not *that* great, all the phone companies have been too busy spending money on buying up others to repair their facilities, and that's from an insider! Yeah...I'm not talking coverageI'm talking data services etcCanada still lags alot in that area. Now Japanthat's where ya go for stellar cell services...hell they had video phones WAY before NA did. Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227191 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Dumb CF methodology question
I know there is Mach II and Model-Glue out there but are there any other MVC style methodologies available for CF? -- Phil ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227192 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dumb CF methodology question
Both of those are frameworks, not methodologies. Fusebox is another framework that can be used for MVC development. cheers, barneyb On 12/16/05, Phill B [EMAIL PROTECTED] wrote: I know there is Mach II and Model-Glue out there but are there any other MVC style methodologies available for CF? -- Phil -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227193 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
ClusterCATS?
Anyone out there using ClusterCATS for load-balancing/failover? We have two licenses of CFMX Enterprise and we might go this route if it's reliable. From what I can tell, ClusterCATS will redirect requests from server A to server B using a different url... Ie, when someone types in www.mysite.com, which is located on server A, and server A is busy it will redirect them to www2.mysite.com, which resides on Server B. Is that right? But I can't tell what happens if server A is down... not just coldfusion but the whole box... since there's no intermediary, you dont' really get failover in that situation, do you? Thanks. Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227194 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Required DSN Username Password
I also like to setup restrict data sources. I don't like having the user name password on the server. I hope the system I have shown is acceptable. Fortunately accessing a cfc directly through a browser throws a 403 error in IIS, and ftp requires authenication. Matt, I see by your title you are a business owner too, the Janitor is a dead give away. I think the idea behind doing this sort of thing (requiring U P in the code) is its easier to hack the CF stuff -- which often resides in a known location, for example -- than it is to get at the templates themselves. And if they get at the templates you're through anyway. One thing I make a point of doing wherever I have the control to do it is set up a datasource that is restricted to the bone. SQL Server only allows it to get to certain tables. CF has all unnecessary operations disabled (stuff like ALTER, DROP, GRANT). I only enable CREATE or DROP when I am doing that operation and then I disable it again. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227195 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dumb CF methodology question
That's what I meant. I was in a hurry when I wrote this. On 12/16/05, Barney Boisvert [EMAIL PROTECTED] wrote: Both of those are frameworks, not methodologies. Fusebox is another framework that can be used for MVC development. cheers, barneyb On 12/16/05, Phill B [EMAIL PROTECTED] wrote: I know there is Mach II and Model-Glue out there but are there any other MVC style methodologies available for CF? -- Phil ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227196 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Including a UTF-8 encoded file
I am having trouble properly including a UTF-8 file (via CFINCLUDE) and then writing it back out to another file. I have attached some code that grabs a UTF-8 encoded file from my website, writes it to the disk for the source. From there I include it inside of a CFSAVECONTENT then write out the content of the CFSAVECONTENT to disk as a UTF-8 file. One would think that a CFINCLUDE would preserve the encoding of the source file but it does not seem to be. Can anyone point me in the right direction here on how I can get the included file to preserve the UTF-8 content? -- John Blayter email: [EMAIL PROTECTED] blog: http://john.blayter.com/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227197 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMX and Sql Server 2005 (mirrored instances)
Oops, wrong article. :) This is the one I saw: http://mattwoodward.com/blog/index.cfm?commentID=211 Again, this is SQL Server Express, not sure if it works in the full versions. -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 11:28 AM To: CF-Talk Subject: RE: CFMX and Sql Server 2005 (mirrored instances) That post is in reference to installing SQL Server itself, I believe, and not integrating with ColdFusion. Has anyone on the list tested CFMX7/SQL Server 2005 successfully? -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 9:52 AM To: CF-Talk Subject: RE: CFMX and Sql Server 2005 (mirrored instances) I guess Pete Freitag got it working (at least the Express version): http://www.petefreitag.com/item/458.cfm ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227198 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Just testing
..again ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227199 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
HoF account management problems
Has anyone else found it impossible to change your primary email address in the 'Edit Account at HoF? I mean, it changed my primary there. but emails still come in on the old one. Mike, we need to be able to remove email addresses from our accounts. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227200 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HoF account management problems
Well.. it worked that time.. still need to be able to remove emails from the account manager though. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:06 PM To: CF-Talk Subject: HoF account management problems Has anyone else found it impossible to change your primary email address in the 'Edit Account at HoF? I mean, it changed my primary there. but emails still come in on the old one. Mike, we need to be able to remove email addresses from our accounts. ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227201 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFAjax question: [Object Error] in IE, works fine in FF
Anyone have any ideas on this question? !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 11:58 AM To: CF-Talk Subject: CFAjax question: [Object Error] in IE, works fine in FF I was wondering if anyone could take a look at this thread in the CFAJAX group and see if they have any ideas? http://groups.yahoo.com/group/cfajax/message/890 TIA ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227202 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFAjax question: [Object Error] in IE, works fine in FF
Maybe the AJAX object is returning a result before the Random span has loaded? Where is the errorHandler? Maybe its doing something funky? Not sure whats going on. Its clearly a javascript issue though, you get the javascript before you get the page cannot be loaded (I see the background Briefly). Sorry I am not a great help. ... Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for Pedro -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:15 PM To: CF-Talk Subject: RE: CFAjax question: [Object Error] in IE, works fine in FF Anyone have any ideas on this question? !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 11:58 AM To: CF-Talk Subject: CFAjax question: [Object Error] in IE, works fine in FF I was wondering if anyone could take a look at this thread in the CFAJAX group and see if they have any ideas? http://groups.yahoo.com/group/cfajax/message/890 TIA ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227203 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFAjax question: [Object Error] in IE, works fine in FF
I think it'd be much easier without the *cough* AJAX Framework In this code... the function 'handleStateChange' is where you read the response and use the info to change the innerHTML of your image container to show new text/images/whatever script type=text/javascript var secs var timerID = null var timerRunning = false var delay = 1000 //1000 ms is 1 second var xmlHttp; function createXMLHttpRequest() { if (window.ActiveXObject) { xmlHttp = new ActiveXObject(Microsoft.XMLHTTP); } else if (window.XMLHttpRequest) { xmlHttp = new XMLHttpRequest(); } } function startRequest(url) { createXMLHttpRequest(); xmlHttp.onreadystatechange = handleStateChange; xmlHttp.open('GET', url, true); xmlHttp.send(null); } function handleStateChange() { if(xmlHttp.readyState == 4) { if(xmlHttp.status == 200) { //Code to change the image and text goes here //Restart the timer again InitializeTimer(); } } } function InitializeTimer() { secs = 9 StopTheClock() StartTheTimer() } function StopTheClock() { if(timerRunning) clearTimeout(timerID) timerRunning = false } function StartTheTimer() { if (secs==0) { StopTheClock() startRequest('url_to_new_info.cfm?nocache=' + new Date()) } else { self.status = secs; secs = secs - 1; timerRunning = true; timerID = self.setTimeout(StartTheTimer(), delay); } } window.onload = InitializeTimer; /script ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:15 PM To: CF-Talk Subject: RE: CFAjax question: [Object Error] in IE, works fine in FF Anyone have any ideas on this question? !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 11:58 AM To: CF-Talk Subject: CFAjax question: [Object Error] in IE, works fine in FF I was wondering if anyone could take a look at this thread in the CFAJAX group and see if they have any ideas? http://groups.yahoo.com/group/cfajax/message/890 TIA ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227204 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFAjax question: [Object Error] in IE, works fine in FF
By the way... self.status = secs; is just to see the timer count down in the status bar ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:36 PM To: CF-Talk Subject: RE: CFAjax question: [Object Error] in IE, works fine in FF I think it'd be much easier without the *cough* AJAX Framework In this code... the function 'handleStateChange' is where you read the response and use the info to change the innerHTML of your image container to show new text/images/whatever script type=text/javascript var secs var timerID = null var timerRunning = false var delay = 1000 //1000 ms is 1 second var xmlHttp; ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227205 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Reversing an HTMLCodeFormat string.
Is there an easy way to reverse a string that has been HTMLCodeFormat'ed? To turn lt;stronggt; back to strong I have a couple of thousand lines of string like this to convert. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227206 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Reversing an HTMLCodeFormat string.
Can't you just replace lt; with ? Just two lines using replace. You can do it one line if you want it to be a bit unreadable. On 12/16/05, Ian Skinner [EMAIL PROTECTED] wrote: Is there an easy way to reverse a string that has been HTMLCodeFormat'ed? To turn lt;stronggt; back to strong I have a couple of thousand lines of string like this to convert. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227207 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Reversing an HTMLCodeFormat string.
Don't forget ampersands and double quotes too. listReplace would work for this, if you really want it in one line, without too much unreadability. cheers, barneyb On 12/16/05, Raymond Camden [EMAIL PROTECTED] wrote: Can't you just replace lt; with ? Just two lines using replace. You can do it one line if you want it to be a bit unreadable. On 12/16/05, Ian Skinner [EMAIL PROTECTED] wrote: Is there an easy way to reverse a string that has been HTMLCodeFormat'ed? To turn lt;stronggt; back to strong I have a couple of thousand lines of string like this to convert. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227208 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Reversing an HTMLCodeFormat string.
Aren't HTMLEditformat() and HTMLCodeFormat() opposites? Ade -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 16 December 2005 22:46 To: CF-Talk Subject: Reversing an HTMLCodeFormat string. Is there an easy way to reverse a string that has been HTMLCodeFormat'ed? To turn lt;stronggt; back to strong I have a couple of thousand lines of string like this to convert. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227209 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Reversing an HTMLCodeFormat string.
Replace(str, , lt;, all) to make it viewable without the browser parsing it Replace(str, lt;, , all) to put it back ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:46 PM To: CF-Talk Subject: Reversing an HTMLCodeFormat string. Is there an easy way to reverse a string that has been HTMLCodeFormat'ed? To turn lt;stronggt; back to strong I have a couple of thousand lines of string like this to convert. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227210 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Reversing an HTMLCodeFormat string.
htmlCodeFormat is this: function htmlCodeFormat(s) { return pre htmlEditFormat(s) /pre; } cheers, barneyb On 12/16/05, Adrian Lynch [EMAIL PROTECTED] wrote: Aren't HTMLEditformat() and HTMLCodeFormat() opposites? Ade -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 16 December 2005 22:46 To: CF-Talk Subject: Reversing an HTMLCodeFormat string. Is there an easy way to reverse a string that has been HTMLCodeFormat'ed? To turn lt;stronggt; back to strong I have a couple of thousand lines of string like this to convert. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227211 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Reversing an HTMLCodeFormat string.
If they are...I ummm...knew that...I was ummmjust testing you ... ;-) If they aren't... function doit(str) { replace(str, , , all); replace(str, , , all); replace(str, , amp;, all); return str; } function undoit(str) { replace(str, , , all); replace(str, , , all); replace(str, amp;, , all); return str; } ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 6:00 PM To: CF-Talk Subject: RE: Reversing an HTMLCodeFormat string. Aren't HTMLEditformat() and HTMLCodeFormat() opposites? Ade -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 16 December 2005 22:46 To: CF-Talk Subject: Reversing an HTMLCodeFormat string. Is there an easy way to reverse a string that has been HTMLCodeFormat'ed? To turn lt;stronggt; back to strong I have a couple of thousand lines of string like this to convert. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227212 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dumb CF methodology question
On 12/16/05, Phill B [EMAIL PROTECTED] wrote: I know there is Mach II and Model-Glue out there but are there any other MVC style methodologies available for CF? MVCF (?) from Benoit Hedard probably also fits the bill (and that's more of a methodology than a framework - which is what Mach II and Model-Glue are). I'm sure there are others but I would hazard that in terms of popularity and support the list goes: 1. Fusebox 2. Mach II 3. Model-Glue 4. ... -- Sean A Corfield -- http://corfield.org/ Got frameworks? If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227213 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
FlashAudio
I want add some flash background music to the home page of a site that I am working on. Any Advice? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227214 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: FlashAudio
Other than don't do it the only advice I can give is, put a stop button on it because it WILL get annoying. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Dwayne Cole [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 6:34 PM To: CF-Talk Subject: FlashAudio I want add some flash background music to the home page of a site that I am working on. Any Advice? ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227215 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: AJAX related: onClick grab all form elements
Bryan, How would you loop through the struct to access key and keyvalue once you got this, structOfAllFields = qFormAPI.getFields();? You can loop through an associated array (aka structure) in JavaScript the same way you do with CFSCRIPT: for( key in structOfAllFields ){ alert(key + == + structOfAllFields[key]); } -Dan ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227216 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: AJAX related: onClick grab all form elements
Bryan, Thanks for that DanI'm not sure I want to get qForms in the mix if all I'd use it for was that set of functions ;-).but good to know it's aout there. The point of qForms is that it's an API to ease dealing with interfacing JavaScript and HTML forms. There's lots of stuff qForms will automate for you. -Dan ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227217 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Displaying MsSQL Blob data
Anyone have any experience they'd like to share as to how to reteive and display Data stored as a blob that is encoded in jpg format? I have a project coming up And have never tackled that before. Terry Troxel ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227218 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: AJAX related: onClick grab all form elements
Thanks Danbut wasn't my question ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227219 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: AJAX related: onClick grab all form elements
The point of qForms is that it's an API to ease dealing with interfacing JavaScript and HTML forms. There's lots of stuff qForms will automate for you. -Dan Oh I knowbut the project is underway and I only have time to learn so many new things I will look under the hood when time permits. Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227220 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Displaying MsSQL Blob data
This might help. http://www.forta.com/blog/index.cfm?mode=entryentry=A61BC976-3048-80A9-EF7AE4D7D8F602B9 Will ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227221 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54