Re: XInclude in sitemap.xmap

2012-11-11 Thread Francesco Chicchiriccò
On 12/11/2012 07:59, Mansour Al Akeel wrote: > Here's what I am doing: > > >src="{global:base.repo.path}/articles/{map:id}/index.xml" /> > > > > and this is error: > [...] Hi, did you take a look at sample sitemap.xmap [1] (around line 387) and s

Re: XInclude in sitemap.xmap

2012-11-11 Thread Mansour Al Akeel
Here's what I am doing: and this is error: 06:49:07.958 [btpool0-1] DEBUG o.a.c.jci.stores.MemoryResourceStore - reading resource org/apache/cocoon/sitemap/InvocationImpl.class 06:49:07.959 [btpool0-1] ERROR o.a.cocoon.servlet.XMLSitemapSe

Re: Is cocoon dead ?

2012-11-11 Thread Michael Müller
...Activities for Cocoon 3 are much to little... Missing 3 in my contribution. Just for clarification. Herzliche Grüße - Best Regards, Michael Müller Am 11.11.2012 21:42, schrieb Michael Müller: Bart, If you guess, Maven is a problem, I second you. Maven might be great from the developer's v

Re: Is cocoon dead ?

2012-11-11 Thread Michael Müller
Bart, If you guess, Maven is a problem, I second you. Maven might be great from the developer's view. But a poor (cocoon) user perfers just a simple setup. Thus Maven might scare users - and it did, when I tried the new version apx. 5 or 6 years ago. But from my point of view, tinker on a ne

RE: Is cocoon dead ?

2012-11-11 Thread Robby Pelssers
Hi Bart, I'd say we've learned people are reluctant to change.. even developers. But to be honest.. it was C2.2 forcing me to learn maven and I've been using it ever since for all new projects. Same holds true for Spring actually. And where I could understand the drop back then, maven or Sprin

RE: accessing a spring bean methods from sitemap

2012-11-11 Thread Robby Pelssers
Hi Mansour, I do know how to access spring beans from C2.2 flowscript if that is of any help. Some sample code: function getTicket() { var authenticator = cocoon.getComponent("name_of_spring_bean"); //this is how you can get hold of a spring bean } But the main question is .. what are you

Re: Is cocoon dead ?

2012-11-11 Thread Bart Remmerie
Just being critical & analytical: where die we observe the big drop in community activity ? Switch to Maven & move from 2.1.11 to next version ? (just a guess) => What can we learn from this ? Bart Remmerie Op 11-nov.-2012 om 18:13 heeft Michael Müller het volgende geschreven: > Francesco,

Re: Is cocoon dead ?

2012-11-11 Thread Michael Müller
Francesco, I observe this list for years now (since I started using Cocon 2.1). And I recongnized some activities, especially from you. But since a couple of years I'm using a) a different technology (JSF) for my web pages and b) I'm waiting for Cocoon 3.0 to become ready. Even there are some

Re: Unable to transform to docbook

2012-11-11 Thread Mansour Al Akeel
Ok Finally issue resolved. It looks like I am able to use docbook. Here's the steps to do so. There's a file cocoon_source/cocoon/cocoon-sax/src/test/resources/META-INF/services/javax.xml.transform.TransformerFactory This file contains the value: org.apache.xalan.xsltc.trax.TransformerFactoryImp

Re: Unable to transform to docbook

2012-11-11 Thread Mansour Al Akeel
After googling for sometime, I found this related issue: https://lists.oasis-open.org/archives/docbook-apps/201006/msg00162.html The suggested solution was to disable compiling xslt or use saxon: Well, XSLTC is known to have problems with really complex trans

Re: accessing a spring bean methods from sitemap

2012-11-11 Thread Javier Puerto
2012/11/10 Thorsten Scherler > Hi Mansour, > > Javier is on a flight to Zürich ATM but I know what code he is talking > about. > Yeah, for an input module. If you want to access from a flowscript as Francesco suggested you can use this: var yourComponentInstance = cocoon.getComponent("BEAN-ID")