Thanks Barney..

Chalk this one up to end of day brain fart...

--
Scott Stewart
ColdFusion Developer
4405 Oakshyre Way
Raleigh, NC 27616
(h) 919.874.6229 (c) 703.220.2835

-----Original Message-----
From: Barney Boisvert [mailto:[email protected]] 
Sent: Wednesday, June 03, 2009 4:30 PM
To: cf-talk
Subject: Re: cfmodule and fusebox


The former.  Attributes on the CFMODULE tag are passed to the custom
tag in the attributes scope, exactly the same as any other custom tag
invocation (CF_ prefix, CFIMPORT, CFMODULE name="...").

myTag.cfm:
<cfparam name="attributes.name" default="world" />
<cfoutput>Hello, #attributes.name#!</cfoutput>

test.cfm:
<cfimport prefix="t" taglib="/path/to/myTags/directory" />
<cfmodule template="/path/to/myTags/directory/myTag.cfm" name="Scott" />
<t:myTag />
<cf_myTag name="barney" />

output:
Hello Scott!
Hello world!
Hello barney!

cheers,
barneyb

On Wed, Jun 3, 2009 at 1:25 PM, Scott Stewart <[email protected]>
wrote:
>
> We're using fuse-q (based around fb 3?)
>
>
>
> And I'm trying to use cfmodule to redirect to another page..
>
>
>
> Is the syntax:
>
>
>
> <cfmodule template="../index.cfm" fuseaction="usermanager.editor">
>
>
>
> Or <cfmodule template="../index.cfm"
> attributes.fuseaction="usermanager.editor">
>
>
>
> --
> Scott Stewart
> ColdFusion Developer
> 4405 Oakshyre Way
> Raleigh, NC 27616
> (h) 919.874.6229 (c) 703.220.2835
>
>
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323131
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to