Hi guys,
I'm using mustache.cfc https://github.com/pmcelhaney/Mustache.cfc
The code is working fine in Railo and Coldfusion but in OpenBD it
says
Type Application
Detail Problem occurred while parsing: render(arguments.inner, ctx)
Extended Info The function render requires at most 1 argument(s).
so the function must have only one argument. If we have a look to the
function we can crearly see that the function is taking 2 arguments.
<cffunction name="render" output="false">
<cfargument name="template"
default="#readMustacheFile(ListLast(getMetaData(this).name, '.'))#"/>
<cfargument name="context" default="#this#"/>
<cfset template = renderSections(template, context) />
<cfreturn renderTags(template, context)/>
</cffunction>
Any ideas?
Sorry of being me so tedious :(
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en