Setting up Cocoon to serve its own documentation

2009-03-01 Thread Klortho
Hi, can anybody point me in the right direction here? I've been trying to dig into the Cocoon documentation, A, to get answers to questions, and B, because I notice that a lot of things that are implemented in the Cocoon docs are things I want to be able to do in my own projects. So I'm trying

Re: Passing parameters to mounted sub-sitemaps

2009-02-26 Thread Klortho
Good stuff, thanks! You gave me the general idea -- an internal redirect with the parameter stuffed into the internal URL. I had to change your code a bit to get it to work, here's what I came up with: Main sitemap: !-- The URL Z/index.html will either get served from the physical

Re: Passing parameters to mounted sub-sitemaps

2009-02-26 Thread Klortho
I might want to do with that info. Again, thanks for the help! Andreas Hartmann wrote: Klortho schrieb: Good stuff, thanks! You gave me the general idea -- an internal redirect with the parameter stuffed into the internal URL. I had to change your code a bit to get it to work, here's

Passing parameters to mounted sub-sitemaps

2009-02-25 Thread Klortho
I'm sure this is a dumb question, but I'm kind of a newbie, and have just spent hours looking for the answer in various books, and searching this forum, and can't find it. I'm trying to vary the look of my final output depending on where the source files are stored. I have a resource-exists

Re: Getting started with C2.2 -- where's the exception information?

2009-01-30 Thread Klortho
I for one think that when releasing a new version, a lot of deference should be given to the newbie. Don't make it harder to get started using. Dropping old deprecated features might be fine, but 2.1, in addition to the nice exception pages, had a very nice welcome page with lots of links to

Getting started with C2.2 -- where's the exception information?

2009-01-29 Thread Klortho
Hi, I'm revisiting Cocoon after a long hiatus, and getting started with maven and C2.2. The first thing I've noticed is that the really nice exception pages are completely gone. Now, if I have a problem in my sitemap or in an XSLT, for example, all I can see is the stack trace in the console

RE: Getting started with C2.2 -- where's the exception information?

2009-01-29 Thread Klortho
Robby Pelssers-2 wrote: Try adding map:handle-errors map:generate type=exception/ map:serialize type=xml/ /map:handle-errors To the pipeline. Well, thanks much for the suggestion, but it didn't work. I did some experimenting, and tried

RE: Getting started with C2.2 -- where's the exception information?

2009-01-29 Thread Klortho
dhohls wrote: That's a little harsh - although my impression is that C2.2 is perhaps a step sideways in terms of how many things are done... but that's just an impression from reading all the mailing list QA. So far, I have not needed to take the plunge. Yes, you're right ... too