Can a cfmenu be closed in a cfif?
When I try to conditionally close a cfmenu with a cfif tag I get the following error...
The tag <cfif>, on line 12, column 4, requires an end tag.
The <cfif> tag requires an end tag to nest within <cfmenu>, which began on line 10, column 4.The CFML compiler was processing:
* The body of a cffunction tag beginning on line 7, column 2.
* The body of a cffunction tag beginning on line 7, column 2.
* The body of a cffunction tag beginning on line 7, column 2.
The error occurred in C:\ColdFusion8\wwwroot\HMC\cfc\testnav.cfc: line 12
Called from C:\ColdFusion8\wwwroot\HMC\Nav.cfm: line 18
Called from C:\ColdFusion8\wwwroot\HMC\index.cfm: line 1010 : <cfmenu bgcolor="##443266" type="horizontal" selecteditemcolor="##7C768B">
11 : <cfset linksRead += 1>
12 : <cfif linksRead GTE amountOfLinks>
13 : </cfmenu>
14 : </cfif>
As you can see the </cfif> is clearly there.
