More Fun with ArgumentCollection

So, I went back and visited the thread on AttributeCollection and ArgumentCollection I talked about back on Wednesday, and I came up with another test I wanted to look at with ArgumentCollection:

<cfset request.test = {
    value1 = "One",
    value2 = "Two"
} /

<cfset request.test2 = {
    value3 = "Three",
    value4 = "Four"
} /


    <cfargument name="argumentCollection" type="struct" requred="false" default="#request.test2#"/>

    <cfdump var="#ARGUMENTS#" label="From OutputArguments()" />

I'm not sure what I expect the result to be, but the result I got isn't it:



Jon Hartmann, July 2011

I'm Jon Hartmann and I'm a Javascript fanatic, UX/UI evangelist and former ColdFusion master. I blog about mysterious error messages, user interface design questions, and all things baffling and irksome about programming for the web.

Learn more about me.

Post a job. Find one.

Interested in becoming a sponsor? Contact me.