If you do not specify the output attribute, it will behave like a normal
block of cf code that is not between <cfoutput> tags and generate all sorts
of white space. If you specify output="true", the cffunction tags will act
just like <cfoutput> tags and evaluate any text that is between #s. If you
specify output="false", the cffunction tags behave like <cfsilent> tags. Not
entirely obvious, I know.

On 5/11/06, Bruce, Rodney S C-E LCMC HQISEC/Signal Solutions <
[EMAIL PROTECTED]> wrote:
>
> 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">
>
>
>
>
> -----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 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.
>
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> ---------
> | 1 |   |
> ---------  Binary Soduko
> |   |   |
> ---------
>
> "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.
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240274
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

Reply via email to