ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Peter Coppinger
When a function is called and the result outputted directly, an extra space is prepended! For Example: cffunction name=spaceTest cfargument name=s type=string cfreturn -SPACE HERE /cffunction cfoutputpre What is the space

RE: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Mike Klostermeyer
Yes, I found this as well. I did my own work-around, but it is not fit for public reading! Mike -Original Message- From: Peter Coppinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 10:22 AM To: CF-Talk Subject: ColdFusion Bug :- functions return additional spaces

RE: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Mark A Kruger
Peter, Could you post your exact code please? The whole test script without the little space here hint? -Mark -Original Message- From: Peter Coppinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 10:22 AM To: CF-Talk Subject: ColdFusion Bug :- functions return additional

Re: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Daniel Mackey
Coppinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 10:22 AM To: CF-Talk Subject: ColdFusion Bug :- functions return additional spaces(!) When a function is called and the result outputted directly, an extra space is prepended! For Example

Re: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Raymond Camden
Not a bug. Just normal CF creation of white space. Simlpy add output=false to your cffunction. Problem solved. On 10/26/05, Peter Coppinger [EMAIL PROTECTED] wrote: When a function is called and the result outputted directly, an extra space is prepended! For Example:

RE: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Justin D. Scott
When a function is called and the result outputted directly, an extra space is prepended! It looks like the space isn't being prepended to the return value, but ColdFusion is outputting whitespace from within the CFFUNCTION tag when it is called. Even more interesting, it's only outputting

Re: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Joe Rinehart
This isn't a bug...add output=false to your cffunction tag (and your cfcomponent tag) to suppress output inside of them. Cheers, Joe On 10/26/05, Peter Coppinger [EMAIL PROTECTED] wrote: When a function is called and the result outputted directly, an extra space is prepended! For Example:

RE: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Kerry
might i suggest output=false? cffunction name=spaceTest output=false -Original Message- From: Justin D. Scott [mailto:[EMAIL PROTECTED] Sent: 26 October 2005 16:29 To: CF-Talk Subject: RE: ColdFusion Bug :- functions return additional spaces(!) When a function is called and the result

RE: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Peter Coppinger
Simply add output=false to your cffunction. Problem solved. Simple as that, I feel thick - Thanks Ray!!! RTFM eh! lol -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 26 October 2005 16:33 To: CF-Talk Subject: Re: ColdFusion Bug :- functions return additional