now working thanks guys
From: Xeondxb [mailto:[email protected]] Sent: Sunday, April 14, 2013 9:33 AM To: '[email protected]' Subject: RE: [Model-Glue] Newbie here, getting Error hi, I changed as you said now that error gone new came :) <cfcomponent output="false" hint="I am a Model-Glue controller." beans="mynames,Users" extends="ModelGlue.gesture.controller.Controller"> <cffunction name="init" access="public" output="false" hint="Constructor"> <cfreturn this /> </cffunction> Error: The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Bean creation exception during init() of buster.model.mynames The value returned from the init function is not of type Users.:If the component name is specified as a return type, it is possible that either a definition file for the component cannot be found or is not accessible. Resources: Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option. 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 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 Remote Address 10.0.0.79 Referrer Date/Time 14-Apr-13 09:27 AM Regards, M.A From: [email protected] [mailto:[email protected]] On Behalf Of Dan Wilson Sent: Thursday, April 11, 2013 5:56 PM To: [email protected] Subject: Re: [Model-Glue] Newbie here, getting Error Thanks for sending the details. If you look at the error message it says "Element MYNAMES is undefined in a Java object of type class [Ljava.lang.String;. C:\Inetpub\wwwroot\buster\controller\GetMyNamesController.cfc (35) " This almost always means you tried to get something out of the event and use it like a component or another complex value, but the thing wasn't set in the scope you reference for some reason. Now, specifically what you did is this: You added in this line to the GetMyNamesController: <cfset event.setValue("mynames",beans.mynames.getmynames())/> However, you didn't add the object to the beans scope for that controller: <cfcomponent output="false" hint="I am a Model-Glue controller." beans="Users" extends="ModelGlue.gesture.controller.Controller"> So, you need to change the beans attribute of your Controller to have the object you want to pull out: <cfcomponent output="false" hint="I am a Model-Glue controller." beans="mynames,Users" extends="ModelGlue.gesture.controller.Controller"> If you configured the object correctly in your ColdSpring.xml, your code will work. DW <mailto:[email protected]> Xeondxb Thursday, April 11, 2013 2:33 AM here is full zip file and error From: Xeondxb [mailto:[email protected]] Sent: Thursday, April 11, 2013 10:30 AM To: '[email protected]' Subject: RE: [Model-Glue] Newbie here, getting "Unsupported Operation" error Hi guys, Can some tell me what error is it where should I go and dig? What I'm missing ??? Regards, MA From: [email protected] [mailto:[email protected]] On Behalf Of Dan Skaggs Sent: Wednesday, April 10, 2013 7:56 AM To: [email protected] Subject: Re: [Model-Glue] Newbie here, getting "Unsupported Operation" error Unfortunately, the "Unsupported Operation" doesn't give us much information to work with. Do you get an actual ColdFusion exception output to the screen? If so, can you reply with the entire error (you may need to enable "Robust Exception Information" on the Debugging Settings Page of the ColdFusion administrator)? You should also do a quick test to see if you can successfully browse to one of the images used by the PlantOMatic application (thus testing to see if you have things in the correct spots under your web root). Try browsing to http://localhost/PlantOMatic/www/img/success.png and see if it shows up in the browser. If not, double check that you have all the files in the correct locations according to the instructions on the wiki page you mentioned. Reply back with what you find. Dan ------ Original Message ------ From: [email protected] To: [email protected] Sent: 4/9/2013 10:37:51 PM Subject: [Model-Glue] Newbie here, getting "Unsupported Operation" error -- -- 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. <mailto:[email protected]> Dan Skaggs Tuesday, April 09, 2013 11:55 PM Unfortunately, the "Unsupported Operation" doesn't give us much information to work with. Do you get an actual ColdFusion exception output to the screen? If so, can you reply with the entire error (you may need to enable "Robust Exception Information" on the Debugging Settings Page of the ColdFusion administrator)? You should also do a quick test to see if you can successfully browse to one of the images used by the PlantOMatic application (thus testing to see if you have things in the correct spots under your web root). Try browsing to http://localhost/PlantOMatic/www/img/success.png and see if it shows up in the browser. If not, double check that you have all the files in the correct locations according to the instructions on the wiki page you mentioned. Reply back with what you find. Dan ------ Original Message ------ From: [email protected] To: [email protected] Sent: 4/9/2013 10:37:51 PM Subject: [Model-Glue] Newbie here, getting "Unsupported Operation" error -- -- 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. <mailto:[email protected]> [email protected] Tuesday, April 09, 2013 11:37 PM Hello people. I'm new to Model Glue and I feel a bit lost. I have followed the tutorial found at https://github.com/modelglue/modelglue-framework/wiki/Section-1 and downloaded and installed as described. However, after I run the test in step 6, I get the following error: Could not find the included template /ModelGlue/gesture/ModelGlue.cfm. When I follow the steps described in the "If you have errors at this point" section, clicking in the links, I get the "Unsupported operation" error. I have checked that everything is setup the way the tutorial describes it, but not luck. Has anyone had the same problem? Can someone give me some hints please? Thank you! -- -- 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. -- -- 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.
<<image001.jpg>>
<<image002.jpg>>
