I have a oMissingMethod function that forwards the method request to
another object.  The

<cffunction name="OnMissingMethod" access="public" returntype="any"
output="false" hint="Handles missing method exceptions.">
<cfargument name="MissingMethodName" type="string" required="true"
hint="The name of the missing method." />
<cfargument name="MissingMethodArguments" type="struct"
required="true"/>
<cfinvoke component="#object#" method="#MissingMethodName#"
argumentcollection="#MissingMethodArguments#"
returnvariable="local.theValue1">

</cffunction>

The MissingMethodArguments is an order structure with the number of
arguments and their values:

struct
1       crumbList
2        »

In Railo and CF when you pass this struct into a method as it's
argumentCollection the arguments are accepted in the order of the
struct.  So if the above struct was passed to a method it would be the
equivalent of

method(arg1,arg2)

And the arguments struct inside the method would be

struct
arg1    crumbList
arg2     »

However in OpenBD it  comes in as:
struct
1       crumbList
2        »
arg1    {defaultValue}
arg2 {defaultValue}

I'm testing with the bleeding edge version.  Hopefully that makes
sense.  Any help would be appreciated

Thanks

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to