Title:
Bug 82285:(Watson Migration Closure)<cfloop query="" > currently only accepts a string reference to a predefined recordset
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): David McGuigan / David McGuigan (David McGuigan)
Created: 02/28/2010
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Minor / Unknown
Locale/System: English / Platforms All
Vote Count: 3
Problem:
<cfloop query="" > currently only accepts a string reference to a predefined recordset. In league with a lot of the other ColdFusion 9 enhancements, it needs to be able to accept a dynamic expression within # signs the way that other tags can.<cfloop query="#anyFunctionCallThatReturnsARecordset( )#" > for example, currently generates the error "Complex object types cannot be converted to simple values."
Method:
These take only the name of the object:-
<cfoutput>
<cftable>
<cfgrid>
<cftreeitem>
<cfchartseries>
<cfindex>
<cfselect>
<cfmail>
These take objects too:-
<cfspreadsheet>
<cfreport>
<cfreportparam>
<cffeed>
<cfsharepoint>
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041046
External Customer Info:
External Company:
External Customer Name: David McGuigan
External Customer Email: 5E0D54C04462BF5E992016B6
External Test Config: 02/28/2010
Attachments:
Comments: