Primitive Type Returned when trying to connect a grid to data
- October 2, 2009
- 2 replies
- 1082 views
Dev Environment: XP Pro, ColdFusion 9, ColdFusion Builder 1, FlashBuilder 4, Firebird 2.1.2, Jaybird 2.1.6
Error message recieved while trying to connect data to a grid in FlashBuilder 4:
--------------------------------------------------------------
Primitive Type Returned
The operation returned a response of the type "Object"
You may either update server code to fix the returned data or Click OK to set
"Object" as the return type of this operation
---------------------------------------------------------------
Here is the CF9 component code:
(This is the same code as for the other successful grid,
except for every occurrance of SES in the code below, it is
replaced with "SBJ" in the other code for the working grid)
<cffunction name="getSESs" output="false" access="remote" returntype="any" >
<cfargument name="par_guid" required="true" />
<!--- Fetch a list photo sessions whose par_guid field
value matches the given value --->
<cfset var qSESs="">
<cfquery name="qSESs" datasource="cfBAA_jdbc">
SELECT * FROM BAA_SES
WHERE PAR_GUID =
<CFQUERYPARAM CFSQLTYPE="CF_SQL_VARCHAR" VALUE="#ARGUMENTS.par_guid#">
ORDER BY SES_NMBR
</cfquery>
<cfreturn qSESs>
</cffunction>
---------------------------- Please see the attached image file for a "story board" of what I did to get this error ---------------------
