Found the fix. The function to be called from within CFSCRIPT scope on the cf object must be expressed in small case (lower case). I think this is unnecessary and should be corrected to maintain the case insensitive nature of openBD. Will fix in the source and recompile and test.
Regards, Nitish 2013/9/9 nitish pandey <[email protected]> > For this code: > > <cfset k = Expandpath("./") /> > > <cfoutput> > > The path is: #k# > > </cfoutput> > > <cfscript language="java" > > > try { > > cf.call("Expandpath","/report/report/") ; > > } > > catch (Exception e) { > > cf.print(e.getMessage()); > > } > > </cfscript> > > I get the following output: > > The path is: > /Users/admin/Applications/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/openbd/ > Function Expandpath does not exist > > So obviously the function Expandpath does exist. But it is not reachable > from the cf gateway class of java. > > Anybody any idea? > > > Regards, > > Nitish > > > > -- > -Nitish > "Faith is a free Option" > http://www.forcesofindia.com/profiles/np > -- -Nitish "Imagination is more powerful than Knowledge" -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
