You can't.  The INCLUDE verb in FB4.x is a fusebox thing, not a CF
thing.  More specifically, it's an include to a fuse inside the
circuit you're currently operating, while CFINCLUDE is an include to
an arbitrary CFM file on the server.  If you want CFINCLUDE's
behaviour, you have to use CFINCLUDE, most likely within an action
fuse.

This seems weird at first, but it makes sense.  FB only knows about
fuses, it doesn't know about CF templates.  So if you want to include
an arbitrary CF template, that's actual application logic, it's not a
FB instruction.  And since you wrap application logic in action fuses
(or CFCs), you need to put the CFINCLUDE in an action fuse as well.

This same thing applies to CFMODULE and other custom tags; you wrap
the call in an act_ fuse or UDF/CFC method.

cheers,
barneyb

On 7/12/05, Johnny Le <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have a udf library that is outside of the application root folder.  I
> created a mapping to it, but I can't seem to include it in the fuseaction.
> How do you include udf in your fuseaction?
> 
> Currently we have:
> 
> <fuseaction name="test">
> <include template = "/udf/navigation.cfm"/>
> </fuseaction>
> 
> Johnny
> 
> Sincerely,
> 
> Johnny Le
> Web Developer
> Certified Advanced Macromedia ColdFusion Developer
> U.S. Department of State, IRM/BPC/CST/BC
> 2121 Virginia Avenue, NW, #4132
> Washington, DC 20037
> 202-663-0259
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211673
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to