Proper way would be to pass the datasource to the custom tag as an attribute

but you could set up a request, session, or application variable to use.
This requires you to consistently set up the same variables, which decreases
the ability for others to effectively use it.

-----Original Message-----
From: Cami Lawson [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 1:54 PM
To: CF-Talk
Subject: Custom Tags


I have a custom tag to run a query that occurs frequently throughout my
application.  My problem is that it cannot figure out what the
PrimaryDataSource is.  How can I code it to know what this is?

TIA
cami
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to