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