Peter (or anyone on Team Mach-II) can correct me if I'm wrong, but:

1. Inside your module folder, you can have your own views/model/
listeners.

2. The listener definition in the XML config for your module overrides
anything that's in the "main" XML config for the application.

If you want to use filters or listeners from the main application, you
can refer to them directly within the XML config for your module. This
may break an idea of encapsulation, but I've done it when the modules
were really an organizational tool to make the app as a whole more
manageable, and I don't intend to ever run the modules as standalone,
re-distributable apps.

brian

On Sep 10, 10:39 pm, jarthel <[email protected]> wrote:
> since I was looking at the include tags, I've come across the module
> tag as well and it seems a nice a idea to divide by application to an
> frontend module and the backend module.
>
> My question are:
> 1. inside my module folder (e.g. /project-here/module/frontend), I
> suppose I can have my own views/models/listeners folders as well)?
>
> 2. if I both have a userListener.cfc in my module and in the main
> listener folder, how do I tell the program which one to use?
>
> Thank you :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
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/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to