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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware: a new and convenient web-based time tracking application. Start 
tracking and documenting hours spent on a project or with a client with Logware 
today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191563
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