PureMVC Architects Lounge

Announcements and General Discussion => Fabrication => Topic started by: marks416 on February 19, 2009, 10:14:16



Title: Question for routeNotification?
Post by: marks416 on February 19, 2009, 10:14:16
Hi,

I read the code and I found the two line code for routeNotification. what is the meaning for "SimpleModule/#"  and "FabricationRoutingDemoShell/*".I confuse the usage for "*" and "#".

routeNotification(FabricationRoutingDemoConstants.RECEIVE_MESSAGE, "Message From Module", null, "SimpleModule/#");

routeNotification(FabricationRoutingDemoConstants.RECEIVE_MESSAGE, "Message From Module", null, "FabricationRoutingDemoShell/*");


Please help me!

Thanks

Mark


Title: Re: Question for routeNotification?
Post by: Jason MacDonald on February 20, 2009, 06:59:31
The '*' refers to all instances of that module (or all modules if it is just the '*' alone). The '#' means all modules with the same group name as the module listed, using the moduleGroup found on the ApplicationFabricator.