I have a FarCry site and I have included two Fusebox 4 apps.

First, I put the Fusebox 4 application under the www folder inside of my farcry application. You can now access the fusebox application by going to http://sitename/fuseboxFolder. At this point, it will be like two seperate applications.

Then, I go to my site -> Utility, and set a navNode with a navID of the name I want to call it. Under the nav node, I put an include object that points to a file in includedObj.

In the file that I point to in includedObj I have this code:

<cfinclude template="/survey/index.cfm">

where I point to the index.cfm of the Fusebox app. This works if I want to use the header that I have defined for the entire site. If you don't want to use the header, then use <cflocation>.

Because I wanted to use application variables from FarCry in my Fusebox app, I changed index.cfm so that it just includes the fusebox core and doesn't set it's own session. If your Fusebox app doesn't use application variables from FarCry, then I guess you could leave it as is.

Also, because I wanted the application to perform like a Farcry extension rather than a stand alone application, I added this to my circuit.xml:

<prefuseaction>
 <set name="self" value="index.cfm?objectID=#application.navid.survey#" />
</prefuseaction>

and then whenever I referenced an XFA, I used #self#&method=circuit.fuseaction

One issue I did find was that I was only able to run one Fusebox 4 application at a time because each application set it's parsed files directory differently. I think if I re-arrange the applications so they either point to the same parsed files directory or more the applications together this will get solved (I think fusebox 4.1 is supposed to fix this, but I haven't tested this).

If you have any questions, you can ask. I may even know the answer!

Rob

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to