ModelGlue doesn't look for bean references in parent classes, this isnt necessarily a bug but you could submit an enhancement request to address this.
-Chris On 2 Jun 2010 22:31, "Nolan Erck" <[email protected]> wrote: No. When I go to reload my app, I get the same error message as before: "Element USERSERVICE is undefined in a Java object of type class [Ljava.lang.String;." ...on the line in question, in BaseController.cfc, where it's referencing UserService. I guess it comes down to if the Beans scope is referenced in both a parent and child controller, are the 2 supposed to be appended together? Or should each class get its own beans scope? One interesting note: I have to have beans="userService" in ALL of my child Controller CFCs, even if it's not used in the Controller itself but because they all inherit from BaseController cfc, and that does indeed use beans.userService, MG wont even build the app unless I specify UserService in every child CFC. That seems like a bug to me. Or am I just REALLY misunderstanding how the beans scope should be getting used? -Nolan On Wed, Jun 2, 2010 at 2:16 PM, Doug Boude <[email protected]> wrote: > > Just shooting in the ... -- 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
