On 4/5/06, Sean Corfield <[EMAIL PROTECTED]> wrote:
> This passes my test case (after adding autowire="no" to the top-level bean).

The default is byName?

BTW, it still autowires by both type and name :)

Given the following setters, it calls both of them:

        <cffunction name="setThing" returntype="void" access="public" 
output="false">
                <cfargument name="thing" type="thing" required="true" />
                <cfset arrayAppend(variables.log,"setThing() called") />
                <cfset variables.thing = arguments.thing />
        </cffunction>
        <cffunction name="setFoo" returntype="void" access="public" 
output="false">
                <cfargument name="foo" type="test.cs.thing" required="true" />
                <cfset arrayAppend(variables.log,"setFoo() called") />
                <cfset variables.foo = arguments.foo />
        </cffunction>

If you need the full test case, let me know (it runs automatically via
CFUnit every time I modify any code in my 'test' directory tree :)
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

Reply via email to