Looks like there is an error:$funcREGISTERUSER.runFunction(C:\_web\xeon\controller\GetMyController.cfc:16) at Element INSERTDB is undefined in a Java object of type class [Ljava.lang.String;.
You tried to call an object from the beans scope, but you forgot to add that object to the beans attribute:
See your controller code for GetMyController? <cfcomponent output="false" hint="I am a Model-Glue controller." beans="RegUser" extends="ModelGlue.gesture.controller.Controller">
There is no bean in there for InsertDBbut on line 16, you are trying to call insertDB. You have to put it in the beans scope before trying to call it FROM the beans scope.
<cfset event.setValue("RegUser",beans.insertDB.insertData())/>
You can see the same information if you look at the Model Glue debugging:
1233ms Message Listener Invoking registerUser in
CFMVC.controller.GetMyController
<message-listener message="do.Register.User" function="registerUser" />
1241ms Exception
struct
Detail [empty string]
ErrNumber 0
Message Element INSERTDB is undefined in a Java object of type class
[Ljava.lang.String;.
Resolvedname [empty string]StackTrace coldfusion.runtime.UndefinedElementException: Element INSERTDB is undefined in a Java object of type class [Ljava.lang.String;. at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1724) at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1677) at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1665) at cfGetMyController2ecfc1593771727$funcREGISTERUSER.runFunction(C:\_web\xeon\controller\GetMyController.cfc:16) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMet
Xeondxb <mailto:[email protected]> Wednesday, April 17, 2013 7:07 AM hi guys,I successfully made form and made action it is submitting form but I don't know how to show result page and I don't know what ever I did it is proper way or not, please if someone get spare time have a look and let me know ...Appreciated! Thanks M.A -- -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en ---You received this message because you are subscribed to the Google Groups "model-glue" 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.
-- -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en--- You received this message because you are subscribed to the Google Groups "model-glue" 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.
<<inline: compose-unknown-contact.jpg>>
