|
|
Hi all
I am trying to bind a secure cfc to a select box with no success. I get no
errors or anything, just no results.
It works fine if I move the cfc outside the secure area. As far as the cfc
it's pretty simple query, returns array, no role security on cffunction.
Any ideas?
<cfcomponent output="false">
<cffunction name="getCat" access="remote" returnType="array">
<cfset var data="">
<cfset var result=ArrayNew(2)>
<cfset var i=0>
<cfquery name="data" datasource="#Application.DNS#">....
</cfquery>
<cfloop index="i" from="1" to="#data.RecordCount#">
<cfset result[i][1]=data.catID[i]>
<cfset result[i][2]=data.cat_name[i]>
</cfloop>
<cfreturn result>
</cffunction>
</cfcomponent>
|
|