[2.2] Servlet service: polymorphism and connections

2009-02-20 Thread Andreas Hartmann
Hi Cocoon devs, I wonder if the servlet service framework can be used to implement the following scenario: There is an abstract block called document-type (think of a document type for a CMS, actually it's about Lenya). This block declares (in the sense of a convention) particular services,

Re: [2.2] Servlet service: polymorphism and connections

2009-02-20 Thread Andreas Hartmann
Andreas Hartmann schrieb: […] Could I just register the service connections programmatically (e.g., using a standard init-method of a bean in the actual document type blocks)? BTW, the blocks example [1] says that I have to register block B in the POM of block A if I want to call B from A.

Re: [2.2] Servlet service: polymorphism and connections

2009-02-20 Thread Grzegorz Kossakowski
Andreas Hartmann pisze: Hi Cocoon devs, Hi Andreas, I wonder if the servlet service framework can be used to implement the following scenario: There is an abstract block called document-type (think of a document type for a CMS, actually it's about Lenya). This block declares (in the