Way to go Reinhard !!! I'm very interested in the proof of concept and it's definitely something many developers are waiting for.
In my opinion the most interesting option is having wicket in the lead and being able to call a cocoon pipeline for integrating [transformed xml -> xhtml] snippets into a webpage. Kind regards, Robby -----Original Message----- From: Reinhard Pötz [mailto:[email protected]] Sent: Thursday, November 26, 2009 9:14 AM To: [email protected] Subject: Cocoon3 <-> Wicket integration Since I was asked several times off-list and there have also been some mails on the users list asking about the best way to integrate Cocoon with Wicket, I invested some time into a first implementation. Actually there are five ideas that I have: a) An IRequestTargetUrlCodingStrategy wrapping a Cocoon sitemap b) An IRequestTargetUrlCodingStrategy wrapping a Cocoon pipeline c) A page component wrapping a Cocoon pipeline d) A Wicket reader to be used in Cocoon sitemaps e) Wicket generator/transformer, again to be used in sitemaps a) and b) are useful to add a couple of pipelines to your Wicket application. c) helps if you want to use a Cocoon pipeline to provide the content of some parts of a page. d) and e) help to run a Wicket application in parallel with Cocoon while Cocoon remains the "leading" framework. - o - I added implementations and samples for a, c and d to the SVN. The generic parts are in the cocoon-wicket module, the Cocoon/Wicket samples in cocoon-samples and the Wicket/Cocoon samples in cocoon-samples-wicket-webapp. I also wrote some initial documentation that you can find at http://people.apache.org/~reinhard/c3-ref/html/wicket-integration.html - o - Currently it's rather a proof-of-concept (especially the reader) than something that you should use in production, but hopefully a first step and a basis for further discussions if this is of help to others. Let me know if this is of interest to you and what you think about the different approaches. And finally many thanks to Steven who helped me to hunt down some bugs in the reader component. -- Reinhard Pötz Managing Director, {Indoqa} GmbH http://www.indoqa.com/en/people/reinhard.poetz/ Member of the Apache Software Foundation Apache Cocoon Committer, PMC member [email protected] ________________________________________________________________________
