Title:
[ANeff] Doc Bug for: cfloop's groupCaseSensitive and startRow attributes are undocumented
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Aaron N. / ()
Created: 08/23/2019
Components: Documentation
Versions: 2018
Failure Type: Conflict With Docs
Found In Build/Fixed In Build: 2018.0.04.314546 / docs
Priority/Frequency: Normal / Few users will encounter
Locale/System: / Platforms All
Vote Count: 0
Issue: cfloop's groupCaseSensitive and startRow attributes are undocumented
Example:
<cfscript>
myQuery = queryNew("myColumn1,myColumn2", "varchar,varchar", [["foo","bar"],["Foo","Bar"],["FOO","BAR"],["fOO","bAR"]])
cfloop(query=myQuery, group="myColumn1", groupCaseSensitive=true, startRow=2) {//groupCaseSensitive and startRow are undocumented for <cfloop>
writeOutput('<p>' & myColumn1 & '</p>')
cfloop()
{ writeOutput('-' & myColumn2 & '</br>') }
}
</cfscript>
<hr>
<cfoutput>
<cfloop query="myQuery" group="myColumn1" groupCaseSensitive="true" startRow="2"><!--- groupCaseSensitive and startRow are undocumented for <cfloop> --->
<p>#myColumn1#</p>
<cfloop>- #myColumn2#<br></cfloop>
</cfloop>
</cfoutput>
<hr>
<cfoutput query="myQuery" group="myColumn1" groupCaseSensitive="true" startRow="2" maxRows="2">
<p>#myColumn1#</p>
<cfoutput>- #myColumn2#<br></cfoutput>
</cfoutput>
The groupCaseSensitive and startRow attributes work, but are not documented. They should be copied from the cfoutput doc to the cfloop doc.
Related URL: [https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-j-l/cfloop-looping-over-a-query.html]
Related URL: [https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-m-o/cfoutput.html]
Attachments:
Comments: