I've been demoing an extension I made for generating ORM code CFCs, views, controllers and services. It stopped working with the public beta of ColdFusion. I've updated it to work with the public beta. I've tweaked it in a few other places, but it's by no means completely tested. But if you like it and have ideas, I'm open to allowing other authors in. (We'll just have to change the name of the tool. )
Please note, this is not an official Adobe product. It's just code that I've been using that I'm willing to share. There is an ORM generator included with ColdFusion Builder; this is just another alternative.
3 response s so far ↓
1 Jeff Macfie // Nov 17, 2009 at 11:18 PM
2 tpryan // Nov 18, 2009 at 9:52 AM
So, I don't use them in my ColdFusion code, but I do use them from Flex. Does that make sense?
3 Spills // Mar 3, 2010 at 12:14 PM
The method setOutput was not found in component C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\cfc\applicationCFC.cfc.
Ensure that the method is defined, and that it is spelled correctly.
The error occurred in C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\cfc\applicationCFC.cfc: line 6
Called from C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\cfc\generator.cfc: line 224
Called from C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\ormCFCGenerator.cfm: line 16
4 : variables.lineBreak = createObject("java", "java.lang.System").getProperty("line.separator");
5 :
6 : This.setOutput(FALSE);
7 : This.setExtension('cfc');
8 : variables.constructorArray = ArrayNew(1);
--------------------------------------------------------------------------------
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Jakarta Commons-HttpClient/3.1
Remote Address 127.0.0.1
Referrer
Date/Time 03-Mar-10 11:11 AM
Stack Trace
at cfapplicationCFC2ecfc1724968195$funcINIT.runFunction(C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\cfc\applicationCFC.cfc:6) at cfgenerator2ecfc203021163$funcCREATEAPPCFC.runFunction(C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\cfc\generator.cfc:224) at cformCFCGenerator2ecfm1055382107.runPage(C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\ormCFCGenerator.cfm:16)
coldfusion.runtime.TemplateProxy$InvalidMethodNameException: The method setOutput was not found in component C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\cfc\applicationCFC.cfc.
at coldfusion.runtime.TemplateProxy.throwInvalidMethodNameException(TemplateProxy.java:748)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:477)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
at cfapplicationCFC2ecfc1724968195$funcINIT.runFunction(C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\cfc\applicationCFC.cfc:6)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336)
at coldfusion.runtime.CFPage.___createObjectInternal(CFPage.java:8370)
at coldfusion.runtime.CFPage._createObject(CFPage.java:8338)
at cfgenerator2ecfc203021163$funcCREATEAPPCFC.runFunction(C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\cfc\generator.cfc:224)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
at cformCFCGenerator2ecfm1055382107.runPage(C:\Inetpub\wwwroot\cfbextensions\TerryRyansORMCodeJumpstart\handlers\ormCFCGenerator.cfm:16)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:363)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
at coldfusion.CfmServlet.service(CfmServlet.java:200)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Leave a Comment