CForm SWC
February 11, 2008 by udayms
Lately I have been getting a lot of mails about using CForm. So, I kind of wrapped up the whole thing into a SWC and here it is. So all you need to do is download this and add this to the Lib of your project. For the source code, you can still check it out of SVN. But, to just use the CForm, you really do not need the source-code, you can just use this swc component. Click here to download the component.



Hey Udayms.
I’m trying to use CForm’s SWC and the Webtier compiler, but can’t make it work … I’m getting NPE from the compiler.
Do you have any idea what I could be doing wrong.
rgds,
Dom.
The code I’m using :
The exception I’m getting:
at flex.webtier.server.j2ee.BaseCompileFilter.getDependenciesFromCompilationUnits(BaseCompileFilter.java:215)
at flex.webtier.server.j2ee.IncrementalCompileFilter.compileMxml(IncrementalCompileFilter.java:114)
at flex.webtier.server.j2ee.BaseCompileFilter.mxmlToSwf(BaseCompileFilter.java:322)
at flex.webtier.server.j2ee.BaseCompileFilter.invoke(BaseCompileFilter.java:60)
at flex.webtier.server.j2ee.RecompileFilter.invoke(RecompileFilter.java:37)
at flex.webtier.server.j2ee.PathExistsFilter.invoke(PathExistsFilter.java:42)
at flex.webtier.server.j2ee.MxmlServlet.doGet(MxmlServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at flex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:114)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
…
@Dominique: The code snippet got stripped off… can u mail me that at umshankar at gmail dot com….?
HI,
I am also getting the same Error when i try to use a Simple Theme .
Though it is not related to any of the code that is posted in this article i would like to know whether this Error is Resolved or not..
By the way i am using Flex 3 SDK (477 Build)
Sateesh