I was setting up a Mach-II app on OBD/GAE last night that uses SES URLs.
The framework attempts to parse name value arguments in the URL by using
ArrayFind().  If the engine doesn't support that method (OpenBD on GAE for
example), it kicks into a function to use native Java array searching like
so:

<cffunction name="_arrayFind_java" access="private" returntype="numeric"
output="false"
    hint="A simple ArrayFind using Java for systems that do not support the
built-in tag.">
    <cfargument name="object" type="array" required="true" />
    <cfargument name="search" type="any" required="true" />
    <cfreturn arguments.object.indexOf(arguments.search) + 1 />
</cffunction>

However, the highlighted line throws the following exception:

*java.lang.UnsupportedOperationException*

I posted this out onto the Mach-II list with my framework workaround and
Peter suggested that I post the issue here rather than hack the framework
only for OpenBD on GAE.


~Dave Shuck
/**************************************
blog: www.daveshuck.com
tweets: www.twitter.com/dshuck
cf peeps: www.dfwcfug.org
**************************************/

-- 
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