Thanks Andrew. Much appreciated. Dale, sorry to confuse you but i tried my best to explain it, and Andrew seemed to some how understand it :-)
Without need to go overboard and explain the fine details, i just simply wanted to know how to avoid static variables the cf argument type and Andrew has explained that this is impossible ; which i had a feeling was the case. Thanks to all for your assistance anyways, On May 25, 6:27 pm, "Dale Fraser" <[EMAIL PROTECTED]> wrote: > Actually, > > I still don't get it. > > We have one application here, aprox 30 instances of the application, each > gets it's own name, datasource and directory but we haven't had to do what > your doing, so i'm missing something, or you are. > > Regards > > Dale Fraser > > <http://dalefraser.blogspot.com>http://dalefraser.blogspot.com > > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf > Of Peter Tilbrook > Sent: Friday, 25 May 2007 6:14 PM > To: cfaussie@googlegroups.com > Subject: [cfaussie] Re: CF Argument issues > > Just use Request scope. From Application.cfm down to OnRequestEnd.cfm bingo, > love in the world and all that! > > On 25/05/07, Rony < [EMAIL PROTECTED] <mailto:[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 < <mailto:[EMAIL PROTECTED]> > > > > [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, > > -- > Peter Tilbrook > ColdGen Internet Solutions > President, ACT and Region ColdFusion Users Group > PO Box 2247 > Queanbeyan, NSW, 2620 > AUSTRALIA > > http://www.coldgen.com/http://www.actcfug.com/ > > Tel: +61-2-6284-2727 > Mob: +61-0432-897-437 > > Email: [EMAIL PROTECTED] > MSN Messenger Live: Desktop General --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---