Question
Struct shorthand notation
Hi,
Suppose I have the following function in a CFC:
<cffunction name="getStruct" >
<cfargument name="arg" type="struct">
.....
</cffunction>
I can use the following to pass a struct into the above function.
<cfset obj.getStruct( {x="abc"} )>
However, when I include the name of the argument
<cfset obj.getStruct( arg = {x="abc"} )>
I get the errorjava.lang.IllegalStateException: no parent
Any idea why the error?
