I thought tha this mapping issue was the problem with cfc's.  Mapping works 
when your using <cfinclude>. I haven't wrapped most of my "cffunction" 
libraries with cfcomponent because of this issue of how to find them.  Plus my 
"cfc's" don't contain instance data, I'm not using flash yet, and I'm not using 
webservices.   So for me I works well to use <cfinclude> to include the set of 
<cffunction> before I make the call or include them in the application.cfm page.

Dwayne.




---------- Original Message ----------------------------------
From: "DURETTE, STEVEN J \(AIT\)" <[EMAIL PROTECTED]>
Reply-To: cf-talk@houseoffusion.com
Date:  Mon, 24 Jan 2005 14:05:09 -0500

>Hadn't thought of doing that.
>
>I tried to map to the directory in the CF Admin and it didn't work.
>
>Also, If I put it in a custom tag directory would I be able to browse
>directly to the cfc to see it's hint information?
>
>Right now I have been using:
>       <cfinvoke component="CFCDir.menu" method="createLocalMainMenu" 
>                       returnvariable="Session.menuInfo.menuMainText">
>                       <cfinvokeargument name="myUserCat"
>value="#Session.Category#" />
>       </cfinvoke>
>
>Would using it in a custom tag directory mean that I would have to
>change that code?  This cfc was originally used for one url, now I have
>to allow all the other urls on the box be able to use it, but I don't
>want to have to recode everything on my current url.  (I keep saying
>URL, but in actuality I should probably be saying IIS websites)
>
>Thanks,
>Steve
>
>-----Original Message-----
>From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] 
>Sent: Monday, January 24, 2005 1:42 PM
>To: CF-Talk
>Subject: Re: CFCs and virtual directories.
>
>
>It'll be available to everything on the server if it's at
>C:\CFusionMX\CustomTags (or equivalent)
>
>If you want to instantiate, just use
>createObject("component","cfcName");
>
>Or, alternatively, you could put it in a folder ala package-style and
>use:
>createObject("component","my.package.folders.cfcName");
>
>With that style, you'd use dots to separate your folder names instead
>of (back-)slashes, with no prefix.
>
>Or you can create a custom custom tag folder from within CF
>Administrator and do basically the same thing. Adding a new custom tag
>folder basically extends the real estate where CF looks for cf_ and
>component files.
>
>Laterz,
>J
>
>
>On Mon, 24 Jan 2005 13:28:08 -0500, jonese <[EMAIL PROTECTED]> wrote:
>> did you try to put your CFC in your custom tag directory? or create a
>> new CFC custom tag directory / mapping?
>> 
>> ERJ
>> 
>> On Mon, 24 Jan 2005 13:20:14 -0500, DURETTE, STEVEN J (AIT)
>> <[EMAIL PROTECTED]> wrote:
>> > Hi all,
>> >
>> > Got a quick question for you.  I have created a cfc that I want
>> > available to all urls on our web server (this is on an intranet).
>So, I
>> > created a directory outside of the webroots and put the cfc there.
>Then
>> > I went into IIS and created virtual directories on each of the
>websites
>> > that points to that directory.
>> >
>> > Problem is it doesn't work.  If I delete the virtual directory and
>copy
>> > the files into a directory of the same name that the virtual
>directory
>> > was everything works fine.
>> >
>> > I'm trying to reuse this code for all of the sites on my server, but
>I'm
>> > not sure how.  I don't want to put a copy in each website because I
>want
>> > one place where I can make changes and it will cascade everywhere
>else.
>> >
>> > Thanks for any help you can give.
>> >
>> > Steve
>> >
>> >
>> 
>> 
>>
>>
>
>
>-- 
>Continuum Media Group LLC
>Burnsville, MN 55337
>http://www.web-relevant.com
>http://cfobjective.blogspot.com
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191654
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to