I've got a MG:Unity app with several different ModelGlue XML files, one for
each section of the app (i.e ModelGlue_User.xml, ModelGlue_Calendar.xml and
so on).  Each has it's own corresponding Controller.cfc.

If I'm in, say, the Calendar section of the app, and I want to make sure
that a user is logged in before using that page of the app, I need to
broadcast the event User.IsLoggedIn, which is in the UserController.cfc, not
the CalendarController.cfc

What's the recommended practice for doing this?  Everything I've come up
with so far is a variation on "doubling code" (even if it's just having the
same <controller> XML in 2 of the ModelGlue_xxx.xml files...but that still
doesn't strike me as the right way to do it). Is there something I'm
missing?

Does that make sense?

Thanks,
Nolan

--~--~---------~--~----~------------~-------~--~----~
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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to