I think you'd get a conflict if they both had the same name.

I like to split my controller info up into it's own XML files, so it's
imperative that I prefix my messages with the controller name.

I'll have userController.addSomething and
personController.addSomething, so I can tell the difference.

It's a good way to stay unconfused, and makes search and replace stuff
work better too.

-- 
Jack Burton: I don't get this at all. I thought Lo Pan-
Lo Pan: Shut up, Mr. Burton! You are not brought upon this world to get it!

On Sun, Jun 22, 2008 at 9:31 AM, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> So, you have listeners at the top of ModelGlue.xml file. Event handlers call 
> them,  they in turn call a method in your controller.
>
> Model Glue knows about all those methods because it loaded them all up at 
> startup.
>
> What if you have two different controllers with the same method name?
>
> What if I had addEmployee in controller.cfc, and addEmployee in Employee.cfc? 
> Does it separate those methods since one is in a controller and one is in the 
> other?
>
> Thanks,
> Will

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307936
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to