Hi all
Hope I can explain this.
Has anyone encountered an issue with outputing a returned string from a CFC
method?
I have a CFC that has a function that returns a string. The function use to
just be on a .cfm page that I cfincluded.
We have just recently upgraded to CFMX 7, so I wanted to get
Without seeing more of your CFC code, I would hazard a guess that you need to
add output=false to your function declarations. Otherwise white space
generated in the function can be passed onto the calling page.
HTH
If not, give us a better example of your CFC and relevant function.
:52 PM
To: CF-Talk
Subject: RE: An issue with CFC output
Without seeing more of your CFC code, I would hazard a guess that you need
to add output=false to your function declarations. Otherwise white space
generated in the function can be passed onto the calling page.
HTH
If not, give us
up.
I just had:
cffunction access=public name=myfunction returntype=string
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 12:52 PM
To: CF-Talk
Subject: RE: An issue with CFC output
Without seeing more of your CFC code, I would
--//-
-Original Message-
From: Bruce, Rodney S C-E LCMC HQISEC/Signal Solutions
[mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 2:44 PM
To: CF-Talk
Subject: An issue with CFC output
Hi all
Hope I can explain this.
Has anyone encountered an issue with outputing
Thanks
I thought that the default was false.
if output=false is not in the function tag the extra charaters show up. I
just had:
cffunction access=public name=myfunction returntype=string
IIRC there was once an issue where if there is no output parameter, one got
behavior that was neither
6 matches
Mail list logo