Re: Unable to transform to docbook

2012-11-10 Thread Mansour Al Akeel
Robby, here's the code I am using for my test case. Nothing fancy, just to be able to debug loading the xslt: @Test public void docbookTest() throws Exception { Cache cache = new SimpleCache(); CachingPipeline pipeline = new CachingPipeline();

Re: accessing a spring bean methods from sitemap

2012-11-10 Thread Thorsten Scherler
Hi Mansour, Javier is on a flight to Zürich ATM but I know what code he is talking about. I read between the lines that you are on 2.2. If you happen to be on 3 then the whole thing is much straight forward. I am not sure whether the following is the best approach for your problem since it

Re: accessing a spring bean methods from sitemap

2012-11-10 Thread Mansour Al Akeel
Javier, thank you. The module I am going to implement is to be used by one block only, and would love to be able to declare it in the sitemap.xmap. I haven't implemented input modules before, but reading this: http://cocoon.apache.org/2.1/userdocs/concepts/modules.html "Step 1: Making a new modu

Re: accessing a spring bean methods from sitemap

2012-11-10 Thread Javier Puerto
I did something similar for a client. We did it with a custom input module so you can define a protocol on when the input is the key an the output the value. Also I can't access to my laptop now but I have an example about accessing to spring beans from flow script, probably the input module it's

Re: accessing a spring bean methods from sitemap

2012-11-10 Thread Francesco Chicchiriccò
On 10/11/2012 18:38, Mansour Al Akeel wrote: > I need to link documents through some identification. For example, > assuming that I have: > > articles/my-first-article.xml > articles/second-one.xml > articles/hello-world-article.xml > > books/book1.xml which has references to artice-1 and articl

accessing a spring bean methods from sitemap

2012-11-10 Thread Mansour Al Akeel
I need to link documents through some identification. For example, assuming that I have: articles/my-first-article.xml articles/second-one.xml articles/hello-world-article.xml books/book1.xml which has references to artice-1 and article-3 identified by an id of the form: A001 I need to create

Re: Is cocoon dead ?

2012-11-10 Thread Francesco Chicchiriccò
Hi all, I think e-mails like the one below are not helpful at all. First of all, even though most of critical aspects of our current situation are reported, some things are barely wrong: > down the same page you find the next most recent news is a year and a > half old Open your favorite browser

Re: Standalone Cocoon

2012-11-10 Thread Francesco Chicchiriccò
On 06/11/2012 19:11, JeVeoy wrote: > Dear Experts, > > I love the possibilities Cocoon gives my projects and I don't think I > will ever want to develop anything without Cocoon. > > But.. > > I would really, really, really like to develop web applications > /without /the Maven Jetty plugin "jetty:r