> Andy wrote:
>
> Why use the path #Fusebox.rootPath##self# for cfmodule invocation ?
>
> I thought in the context of FB3 everything is invoked via the home
> circuit in which case #self# on its own should be sufficient.
>
self is usually just "index.cfm"
fusebox.rootpath is the path back to the home circuit.
So when you put them together you get something like:
"../../index.cfm"
Fusebox.rootPath is used on the server side to get you back to
the home directory.
If you're at:
d:\inetpub\wwwroot\myFBApp\child\grandChild\
it will take you up two steps ("../../") to:
d:\inetpub\wwwroot\myFBApp\
Fusebox.currentPath is used on the client side to get you up
to the current circuit's directory. (The reason we need
Fusebox.currentPath is that to the web browser, every
circuit and every fuseaction is just "index.cfm" in the home
directory.)
If you're at
http://www.myWebSite.com/index.cfm?fuseaction=grandchild.home
it will take you down two steps to:
http://www.myWebSite.com/child/grandchild/
I posted a slightly more detailed version of this explanation
at http://www.meta-magic.com/cgi-bin/fusewiki?PathVariables
Patrick
==^================================================================
This email was sent to: [email protected]
EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]
T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================