Carsten Ziegeler wrote:
Leszek Gawron wrote:
1. Why does cocoon allow to declare only one request listener? I know I could implement myself a delegating request listener that would follow ChainOfResponsibility pattern but it would be much easier if cocoon just picked up all request listeners declared.

We discussed when we introcued the request listeners. Most people
thought that one is enough and if you need more than one you have to
implement such a delegating listener :(

I don't care if we change this to several, but on the other end I think
we don't need these listeners as a servlet listener could be used instead.
Agreed. I thought a RequestListener can also be applied at subsitemap level. This way we could implement something like servlet filters but for smaller scope.

--
Leszek Gawron, IT Manager                          MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Reply via email to