Make sure that the output attribute in your cfcomponent tag is set to true?
> I have a cfinput, type="button" that has a onclick="callreport()". > Function "callreport" instantiates a cfc called "metricreport.cfc". > Metricreport.cfc produces either a csv file or a cfreporter output. The > creation of the csv file works fine using cffile tags in metricreport.cfc. > The <cfreport> does not seem to want to run from within the cfc called > through a javascript function. The exact same <cfreport> tag works fine if I > call it directly from a ".cfm" template > > 2 questions: > Firstly, what is stopping me from using <cfreport> in my java-instantiated > cfc? > Secondly (and unrelated to the description above), how do I get this cfc to > display a simple query-driven html table? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294723 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4