You need to set output="false" on the method ;)

Otherwise you get the tabs

Mark


On 5/16/05, M@ Bourke <[EMAIL PROTECTED]> wrote:
Hi All,

on my work PC (runs MM CF 6.1)
I had a few CFC's that were really anooying me, when ever I returned a
method var it would always have like 2 tab chars to the left of it, it
really $hited me lol,
I copied the code over to my laptop (it runs blue dragon 6.2) and the
code ran fine.

I decided to strip all white space from within the component and have
all text left align.
what courses the issue is this
        <cffunction name="getclientid" access="public" returntype="numeric">
                <cfreturn variables.clientid>
        </cffunction>

where as
        <cffunction name="getclientid" access="public" returntype="numeric">
<cfreturn variables.clientid >
        </cffunction>
works fine.
so by having 2 tab spaces on the left of cfreturn the output is whacked.
but in BD 6.2 its fine, so which 1 is wrong? is BD doing it correctly
or should it actually return a double tab at the start of it.

thanx
M@

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/



--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740 --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to