You could solve this by using an IOC contribution [1]. 

Option 1: No advisor
Add a List parameter to your MenuService's constructor then contribute to
the list (via OrderedConfiguration) in each of your module. 

Option 2: Single advisor
Add a List parameter to your advisor and make the advisor a tapestry IOC
service. Each module then contributes to the list (via
OrderedConfiguration).

[1] http://tapestry.apache.org/tapestry-ioc-configuration.html



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Several-Advices-on-same-service-tp5716615p5716616.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to