Hi, I'm building some user-configurable front page widgets for a site that I'm building. I'd prefer to use CFSCRIPT for a number of reasons. Anyway, I'm having trouble getting any output. This code, using CFINVOKE, works fine (it returns the HTML for an image tag):
<cfinvoke component="lib.cfc.html_modules" method="fpRandImage" returnvariable="img">#img# Yet, this code within a CFSCRIPT block, returns "[EMAIL PROTECTED]": fpWidgetObj = createObject("component","lib.cfc.html_modules"); newrow = queryAddRow(qryFPSidebar, 1); temp = querySetCell(qryFPSidebar, "order", "3"); temp = querySetCell(qryFPSidebar, "type", "Image"); temp = querySetCell(qryFPSidebar, "content", "#fpWidgetObj.fpRandImage#"); I'm returning the data as a query object to make it easier to sort the data for display on the front page. Any ideas what I'm doing wrong? Thanks Pete ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:225984 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