Hmmm I have been looking at cfimport, but I may be trying to do 
something it was never intended to do.

ie.
<cfimport prefix="name" taglib="name.cfm">
<name:set argument="value">

and in name.cfm it invokes a component, passing the argument value.

But I get this error:
  Could not import the tag library specified by "name.cfm".



Douglas Knudsen wrote:

> take a look at cfimport.
> 
> Doug
> 
> 
> On Mon, 13 Dec 2004 15:48:56 +1100, Andrew Scott <[EMAIL PROTECTED]> wrote:
> 
>><cfset myCom = CreateObject('Component','myComponent') />
>><cfset myCom(Blah,Blah,Blah) />
>>
>>
>>
>>
>>-----Original Message-----
>>From: Stephen Cowling [mailto:[EMAIL PROTECTED]
>>Sent: Monday, 13 December 2004 3:37 PM
>>To: CF-Talk
>>Subject: Coldfusion tag prefixes
>>
>>Is it all possible to create your own tag prefix? Instead of using cf_
>>to get to custom tags.
>>
>>the reason I ask, is to try and reduce the amount of
>><cfinvoke component="myComponent" method="setBlah">
>>   <cfinvokeargument name="blah">
>>   <cfinvokeargument name2="blah">
>>   <cfinvokeargument name3="blah">
>>   <cfinvokeargument name4="blah">
>>   <cfinvokeargument name5="blah">
>>... etc
>>That needs to be called.
>>
>>I know I could cfinclude it, but I thought a more elegant way would be
>>to have say,
>><blah:set name="blah" name2="blah" name3="blah" name4="blah"
>>name5="blah">
>>
>>Or am I barking mad?
>>
>>Steve
>>
>>--
>>
>>
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187321
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to