Bad Ass.  Thanks Barney...I am working on my first serialization right now
based on your code.

Thanks,

Justin

-----Original Message-----
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:49 AM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] Serialize?


That's the base component in 6.1 that ALL cfcs extend (like the Java Object
class), even if you don't explicitly use the 'extends' attribute to the
CFCOMPONENT tag.  Thus you can check and see if an object is a
WEB-INF.cftags.component, and it'll return true for ANY CFC, but false for
anything else (string, int,query, etc.).

barneyb

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Justin Balog
> Sent: Thursday, September 25, 2003 8:18 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [CFCDev] Serialize?
>
>
> Barney,
>
> Excuse me for my ignorance, but how is the following condition intended to
> function?
>
> if (isObject(variables[i], "WEB-INF.cftags.component")) {
>       result.CFC[i] = variables[i].serialize();
>     } else {
>       result.nonCFC[i] = variables[i];
>     }
>
> WEB-INF.cftags.component is new to me are all cfcs, when compiled by CFMX,
> stored there or something?  Or is that a place I need to put them manually
> to satisfy this condition?
>
> Thanks,
>
> Justin

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to