Setting HTTP protocol header LINK using header action

2012-12-13 Thread Bardo Nelgen
Hi all, has anyone so far been successful setting a HTTP protocol LINK parameter (according to http://tools.ietf.org/html/rfc5988#section-5.5 ) using the cocoon header action? Unfortunately the newer response header transformer doesn't seem to live up to its promises quite yet, so I'm curren

Re: Error message for xslt

2012-12-13 Thread Mansour Al Akeel
Robby, this was not my question. My question was, how do I know the source of the error in the XSLT file. In my xslt I have a lot of param, but that is not an issue. Some variables inside the xsl are generate from the parsed documents, and those can be a source of error. Having a descriptive error

RE: Error message for xslt

2012-12-13 Thread Robby Pelssers
Well. You can easily check if that XSLT uses parameters... right? And at some point you invoke that transform from the sitemap: Just check whether you set the parameters correct in your sitemap... and you should be able to tell if the values which you set don't have a null value.

Re: Error message for xslt

2012-12-13 Thread Mansour Al Akeel
I will check again, however for the future, how can I tell if a parameter is missing or not set in the XSLT ?? On Thu, Dec 13, 2012 at 10:59 AM, Robby Pelssers wrote: > Caused by: java.lang.NullPointerException > > Are you setting all parameters used by the XSLT? Can you verify you do? > > Robb

RE: Error message for xslt

2012-12-13 Thread Robby Pelssers
Caused by: java.lang.NullPointerException Are you setting all parameters used by the XSLT? Can you verify you do? Robby -Original Message- From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com] Sent: Thursday, December 13, 2012 4:57 PM To: users Subject: Error message for xslt I am

Re: Path selector - Cocoon 2.2.

2012-12-13 Thread Mansour Al Akeel
Thank you Robby. Here is how I did it, since I need to two characters language id:

RE: Path selector - Cocoon 2.2.

2012-12-13 Thread Robby Pelssers
All you need is a correct matcher: -Original Message- From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com] Sent: Wednesday, December 12, 2012 9:42 PM To: users Subject: Path selector - Cocoon 2.2. Hello all, I am looking to select a path for a directory depending on la