I have been trying to configure my component through the web.xml but after a day of searching I give up. It is not possible.
Either I change the CocoonServlet to keep a copy of the ServletConfig in the ObjectModel so I can retrieve it later when I initilize my Transformers and Generators
or:
I use a different approach. I will use a second servlet with static methods so I can get the configuration of the servlet and initialize my Transformers and Generators via a second web.xml
I can not change Cocoon since I don't want to patch Cocoon when I switch to a newer version. So I must use option 2. But I don't like it.
I really mis this option in Cocoon. I would like to deploy a war file that contains Cocoon and my generators and transformers. And I do not want the customer to open up the Cocoon web directory and change a property file to change a setting.
Does anybody know any other options?
Thanx, -- Ivo Limmen
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
