How about setting  output="false" ?

Taco Fleur
Blog http://www.tacofleur.com/index/blog/
Methodology http://www.tacofleur.com/index/methodology/

Tell me and I will forget
Show me and I will remember
Teach me and I will learn 


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mark M
> Sent: Tuesday, 3 February 2004 9:20 AM
> To: CFAussie Mailing List
> Subject: [cfaussie] Weird Line Breaks on Accessing CFC variables
> 
> 
> Hey all - 
> 
> I've got a CFC that looks (pretty much) like this :
> --
> <cfcomponent>
>   
>    <cfscript>
>         instance = structNew();
>         instance.myVariable = "";
>    <cfscript>
> 
> 
>    <cffunction name="getMyVariable" access="public" 
> returnType="string"> 
>            <cfreturn instance.myVariable>
>    </cffunction> 
> 
> </cfcomponent>
> --
> 
> 
> When I call on obj.getMyVariable() the result, although it 
> has an empty string - will return the 
> empty string with several line breaks around it.
> 
> I.e. 
> 
> <input type="text" value="#obj.getMyValue#"> 
> 
> will output as
> 
> <input type="text" value="
>        "> 
> 
> With obvious annoying results.
> 
> No amount of Trim or StripCR seems to solve the problem either.
> 
> Anyone else had anything similar? I'm really weirded out by this.
> 
> On CFMX 6.1
> 
> Cheers,
> 
> Mark
> ------------------------------------------------------------------
> [EMAIL PROTECTED]
> ICQ: 3094740
> Safe From Bees
> [ www.safefrombees.com ]
> 
> 
> 
> 
> ---
> You are currently subscribed to cfaussie as: 
> [EMAIL PROTECTED] To unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia 
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to