Rony,

I know what you are saying, but I don't know why... If you have a mapping
then leave it as a sharable mapping across all applications, that was my
point. Or hang it off the website root directory they are your only 2
options to achieve what you want to do.

Otherwise, you are going to have to wait until Adobe wake up and fix the bug
that they say they can't because CF is dynamic.

Sorry, I didn't make myself clear enough when I said you can't do what you
want to do and gave you alternatives to your problem.



On 5/25/07, Rony <[EMAIL PROTECTED]> wrote:
>
>
> Hey Andrew,
>
> Yes it does - IN MY APPLICATION.
>
> Our site has been designed so that the SAME name is used for the app
> name, app folder, and the cf mapping.
>
> So if the app name is "cfaussie" then the mapping would be called
> "cfaussie" and so would the folder that stores all the files.
>
> But my question was if the MAIN name changes to "cfaussie_local" this
> would change the appname, cf mapping and the actual folder name.
>
> This is why i use the app name in the type.Obs this doesn't work.
>
> Sorry for any confusion.
>
> I was hoping for other way to do this...
>
> Thanks for your assistance,
>
> Much appreciated.
>
> On May 25, 4:34 pm, Andrew Scott <[EMAIL PROTECTED]> wrote:
> > No it doesn't...
> >
> > Tell you why, the applicationname is relevant to the application being
> run.
> > Which means that if you  want to make this global to other applications
> you
> > can't do that. Well you can, but CF won't allow it, so mappings are the
> only
> > way to go or the root of the application.
> >
> > If it is in the root of the application then you do not need anything
> other
> > than com.mystuff.package.component.
> >
> > But doing that will make maintenance a nightmare if you use it in more
> than
> > application. So the best thing is to take it outside of the application
> and
> > create a mapping to it.
> >
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> >
> > -----Original Message-----
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> >
> > Of Rony
> > Sent: Friday, 25 May 2007 4:30 PM
> > To: cfaussie
> > Subject: [cfaussie] Re: CF Argument issues
> >
> > Hi Dale,
> >
> > The reason why i have this is because the mapping name is the same
> > name as the application name and a fellow developer would like to be
> > able to change the application name and create a new mapping with the
> > app name, so i cannot hard code the app name when calling a
> > component.
> >
> > hope this makes sense,
>
>
> >
>


-- 



Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to