Hi Mark
your right, doing this for every time you use it is bullshit.
you can save the result in application scope or something else.
or write a factory that write this information for deploying on liveserver
where your cfc dont change.
factory.cfm
...
<!---
on neo serialize isnt a bif
--->
<cffile file="compInfo.cfm" action="write" content="#char(60)#cfset
request.compInfo=#serialize(writeComponentChildren(webRoot,compRoot))##char(
62)#">
application.cfm
...
<cfinclude template="compInfo.cfm">
<cfscript>
function componentGetChildren(componentName) {
return request.compInfo[componentName];
}
</cfscript>
cu
michael
----- Original Message -----
From: "Mark Mandel" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, December 21, 2005 12:40 AM
Subject: Re: [CFCDev] Finding subclasses via introspection
You know... if you were feeling really masochistic, and you knew where
your CFC's were being kept, you could cfdirectory out all your CFC's,
work out the path from there, create instances of them, get their meta
data, and match up their inheritence structure.
Painful and long, but you COULD do it.
Mark
On 21/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> hi together
>
> with java you dont must write this to the doc yourself, the "javadoc.exe"
> make this for you.
>
> i have make a little example (see attachment) that do the same in cf for
> components (only the relations not a full doc ;-))
> works with Macromedia Coldfusion >=7 and railo>= 1.0.0.15
>
> how to use
> 1. copy template somewehre in your web
> 2. change
> <cfset webRoot="D:\projects\railix-1-0-0-017\webroot\">
> <cfset compRoot="jmuffin\components\">
> with your pathes
> - webRoot --> path to your webroot
> - compRoot --> path to your component starting from webroot.
> 3. call template via web browser
>
> have fun
> michael
>
> Railo core developer
> [EMAIL PROTECTED]
> www.railo.ch
--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.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 words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]