I dont know why i'd use the request scope.

The issue is not having to use static variable names in the cf
argument type.

Thanks,


On May 25, 6:13 pm, "Peter Tilbrook" <[EMAIL PROTECTED]> wrote:
> 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]> 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,
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to