> During development, I saved my components in the URL
> /catalog/model/*.cfc like this:
>
> /catalog/model/description.cfc
>
> And I referenced my components like this in my code:
>
> catalog.model.description
>
> Now I am moving my application onto a testing machine and
> they have changed the URL to this:
>
> /InsideWood/cataloging/model/description.cfc
>
> And now my application has broke with the error "Could not
> find the ColdFusion Component catalog.model.description"
>
> So to keep this from happening again with my next
> application:  What should I do?  How should I organized my
> components?  How should I package my components?

Why not just create a mapping that points to the right place? You don't even
need to have your components in a web-accessible directory that way, I
think.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to