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


Xeondxb <mailto:[email protected]>
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] <mailto:[email protected]>

To: [email protected] <mailto:[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.


Dan Skaggs <mailto:[email protected]>
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] <mailto:[email protected]>
To: [email protected] <mailto:[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.


[email protected] <mailto:[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.


<<inline: compose-unknown-contact.jpg>>

<<inline: postbox-contact.jpg>>

Reply via email to