Cannot declare local variable cfcatch twice

2009-08-19 Thread SANJEEV SINGLA
Hi All, I migrated my CFMX6.1 application to CF8 on my local dev machine and getting the following error. Cannot declare local variable cfcatch twice. Local variables cannot have the same names as parameters or other local variables. Please let me know how it can be resolved. Thanks!

RE: Cannot declare local variable cfcatch twice

2009-08-19 Thread Adrian Lynch
Can we see your code? -Original Message- From: SANJEEV SINGLA [mailto:planetsanj...@gmail.com] Sent: 19 August 2009 07:43 To: cf-talk Subject: Cannot declare local variable cfcatch twice Hi All, I migrated my CFMX6.1 application to CF8 on my local dev machine and getting

Re: returning all table records ColdBox ColdSpring via an object?

2009-08-19 Thread Glyn Jackson
Thanks for the reply. reading my question back it did not make much sense, so you did well to work out what I was on about lol! I'd go with a query unless you have a particular reason not to. no reason, that would be the way I would normally do it, however if I wanted to try and keep this

ColdFusion Web Service question

2009-08-19 Thread Rin C.
Hi all, I have a few questions about an issue that is occuring at my office. We have several ColdFusion boxes and we often invoke web services. It has been my experience that ColdFusion 8 generates stub class files when a web service is invoked. However, we just recently began running into a

RE: ColdFusion Web Service question

2009-08-19 Thread Mark Kruger
I would suspect the WSDL file and examine it first. If the WSDL file is missing some node then perhaps the compiler is creating path information but has not methods to stub out. -mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com

Re: returning all table records ColdBox ColdSpring via an object?

2009-08-19 Thread Judah McAuley
Using a query doesn't mean you aren't programming in an OO fashion. You can keep your encapsulation while still returning a query or you could turn the query into an array of objects as you desire. In your adminUserService you could have a method called GetAllAdminUsers that calls

Re: returning all table records ColdBox ColdSpring via an object?

2009-08-19 Thread Dominic Watson
Agreed. Indeed, a cfquery object *is* an object. I find the cfquery object is particular perfect for views because it is read-only in terms of interacting with the source of the data. I personally use the IBO approach and release the query object when ready to output the data - but that's just

Re: Cannot declare local variable cfcatch twice

2009-08-19 Thread Matt Quackenbush
The code would certainly help pinpoint exactly where the issue lies, but as the error message indicates, it is caused by the fact that somewhere in your code a variable is declared twice within a function. This can be caused by several factors. Here are a couple of examples that will do it.

Re: Cannot declare local variable cfcatch twice

2009-08-19 Thread Kevin Pepperman
This question was cross posted at the same time and answered on cfaussies' group almost immediately. But was not followed through with. On Wed, Aug 19, 2009 at 3:04 PM, Matt Quackenbush quackfu...@gmail.comwrote: The code would certainly help pinpoint exactly where the issue lies, but as the

Replacing characters in a string

2009-08-19 Thread Rick Sanders
Hey all, I'm trying to replace a hyperlink and just display the text. I need to remove the a href=http://www.google.ca;www.google.ca http://www.google.ca%3c/a /a from text within fckeditor and just display the text www.google.ca I tried finding a setting for the editor so it doesn't

re: Replacing characters in a string

2009-08-19 Thread Jason Fisher
Try this: cfset ad = reReplace(form.addesc, (/?a[^]*), , all) / ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

RE: Inserting NULL between characers using CFFILE

2009-08-19 Thread Jason Neidert
Leigh, Thanks for that information. Exactly what I needed!!! I had got it working in the meantime by doing this: 1. creating a small file from Winhex that only contained 1 NULL character. 2. Using CFFILE to read this into a variable 3. Replacing all occurrences from the Hex data with that

RE: Replacing characters in a string

2009-08-19 Thread Andy Matthews
Just so you know, this is what that expression is doing: / - literal string ? - zero or one a - literal string [^] - character set which says everything BUT * - zero or more times - literal string So the expression says 1) Look for a 2) With zero or one / 3) Followed by a 4) Any character

ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Don L
I've moved on to an open source cfml engine, don't know what caused the following odd behavior, that is, my cfajaxproxy tag no longer works for an inline data editing function (meaning, it does not do database update for a set of data) while the same code works for ms sql server 2005 express

RE: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Adrian Lynch
Railo or OpenBD? Do they support cfajaxproxy yet? -Original Message- From: Don L [mailto:do...@yahoo.com] Sent: 19 August 2009 22:42 To: cf-talk Subject: ajax cfc not working for Access DB -- odd stuff I've moved on to an open source cfml engine, don't know what caused the

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Dominic Watson
I've moved on to an open source cfml engine Don't ever do that. But seriously. First step of debugging ajax: install Firebug for Firefox if you haven't already. Next, enable all the firebug console options for your page and while viewing the console tab you should see your http post request

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Don L
I've moved on to an open source cfml engine Don't ever do that. But seriously. First step of debugging ajax: install Firebug for Firefox if you haven't already. Next, enable all the firebug console options for your page and while viewing the console tab you should see your http post request

RE: Replacing characters in a string

2009-08-19 Thread Rick Sanders
Hello Andy Jason, Thank you so much, this worked well. I wasn't sure of the syntax so this really helped. Kind regards, Rick -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: August-19-09 6:19 PM To: cf-talk Subject: RE: Replacing characters in a string

AW: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Gert Franz
Railo does... It's written by the community. Andrea Campolonghi writes the AJAX stuff for Railo. Don't know about OpenBD though... Gert -Ursprüngliche Nachricht- Von: Adrian Lynch [mailto:cont...@adrianlynch.co.uk] Gesendet: Donnerstag, 20. August 2009 00:07 An: cf-talk Betreff: RE:

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Emmit Larson
I've moved on to an open source cfml engine Don't ever do that. Shirley, you jest? Kind Regards, Emmit On Wed, Aug 19, 2009 at 6:29 PM, Dominic Watson watson.domi...@googlemail.com wrote: I've moved on to an open source cfml engine Don't ever do that. But seriously. First step of

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Don L
I've moved on to an open source cfml engine Don't ever do that. But seriously. First step of debugging ajax: install Firebug for Firefox if you haven't already. Next, enable all the firebug console options for your page and while viewing the console tab you should see your http post request

Re: Coldfusion9 ORM

2009-08-19 Thread Manjukiran Pacchhipulusu
Hi Gavin, I tried this and it works for me. Can you try a couple of things: - Set ormsettings.logSQL=true in this scope of Application.cfc. Check if the SQLs are getting generated fine. - You need not do but still try calling ormflush() after EntitySave() in postinsert method. If you still

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Dave l
After looking at this code I am suddenly hungry for pound cake... dunno why??? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: