Can anyone see what is wrong with this loop? I am not a coldfusion developer but I am doing something for our absent developer. I am trying to get the loop to stop after 10 iterations but it is not happening. The CMS I am using is Mura. Thanks.
<cfset limit = 1>
<cfloop condition="iterator.hasNext()">
<cfif limit LTE 10>
<cfoutput>
<cfset item = iterator.next()>
<tr>
<td>#item.getId()#</td>
<td>#item.getTitle()#</td>
</tr>
</cfoutput>
</cfif>
<cfset limit = limit + 1>
</cfloop>