Copy link to clipboard
Copied
Hi,
I'm trying to pass a list to a Component as a CFIINVOKEARGUMENT with
<cfinvokeargument
name="excludeReports" value="1,2">
The Component is
<cfargument
name="excludeReports" type="String" required="No" default="">
and then the logic is
<cfif
not ListContains(excludeReports,"1")>
do something really cool
</cfif>
But something really cool happens unless I change the default to like this
<cfargument name="excludeReports" type="String" required="No" default="1,2">
Copy link to clipboard
Copied
Nevermind, I was dumping the wrong variable - doh!