Bryan,
If you're not married to the built in component viewer, here's a nice
routine you may want to try:
Create a template, cfcview.cfm somewhere in your webroot:
<!--- cfcview.cfm --->
<cfparam name="cfc" type="string" default="">
<cfif len(cfc)>
<cftry>
<cfscript>
theObj = createObject("component",cfc);
</cfscript>
<cfdump var="#theObj#">
<cfcatch>
Couldn't dump the cfc.<br>
<cfoutput>
#cfcatch.message#<br>
#cfcatch.detail#
</cfoutput>
</cfcatch>
</cftry>
</cfif>
You'd call this template like so, assuming you have blah.cfc in a 'cfcroot'
mapping:
http://whatever.com/cfcview.cfm?cfc=cfcroot.blah
It invokes the component and then just cfdumps it. Ever since I've used
this method, I have never gone back to component viewer, and this should be
fine for your out of webroot cfc storage.
Good luck,
Kevin
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Bryan F. Hogan
Sent: Friday, January 09, 2004 5:40 PM
To: [EMAIL PROTECTED] Org
Subject: [CFCDev] Invoking Components
I have my components directory outside the webroot with a components mapping
setup to point to this folder.
How can I get it to where I can view the components in the component
invoker?
Thanks
Bryan
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words '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 words '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]