Re: pass checkbox values through sitemap

2006-12-13 Thread Jeroen Reijn
Hi Sofro, well it seems you have defined two generators in the same matcher. What does your resource "check-this" contain? Another generator? If so you need to change the pipeline structure. Kind regards, Jeroen Reijn sofro wrote: It crashs also for this http://localhost/?{request

Re: pass checkbox values through sitemap

2006-12-13 Thread sofro
It crashs also for this http://localhost/?{request:queryString}"/> and the reason is: Generator already set. You can only select one Generator ERROR (2006-12-13) 11:33.53:562 [sitemap] (/xxx/navigator/callSomething) http-5050-Processor4/sitemap_xmap: Sitemap org.apache.co

Re: pass checkbox values through sitemap

2006-12-13 Thread Jeroen Reijn
Hi Sofro, I don't think you need the map:parameter anymore, since you're not using the action, but could you post a piece of the stacktrace here? Where does it give you the NPE? Are you sure the XML that comes back from the generator is valid? Reijn sofro wrote: Yap, that's exactly what I

RE: pass checkbox values through sitemap

2006-12-13 Thread sofro
Yap, that's exactly what I want. I want to pass request to another host, which returns xml, which I want to process (xslt in ). but when I remove map:act. it crashes with NullPointerException before calling new host. http://localhost/?{request:queryString}"/> Ard

RE: pass checkbox values through sitemap

2006-12-12 Thread Ard Schrijvers
> callSomething?sameName=value1&sameName=value2&sameName=value3& > submit=Submit > > And question is how to pass those values to generator in sitemap: > > > > >src="http://localhost/?sameName={sameName}"/> Just remove the map:act. You want to pass on the r

RE: pass checkbox values through sitemap

2006-12-12 Thread Jasha Joachimsthal
] www.hippo.nl -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: dinsdag 12 december 2006 15:29 To: users@cocoon.apache.org Subject: RE: pass checkbox values through sitemap Surely there is a way to do without using the (somewhat deprecated) XSP? >>> "

RE: pass checkbox values through sitemap

2006-12-12 Thread Derek Hohls
Surely there is a way to do without using the (somewhat deprecated) XSP? >>> "Varga, Zsombor" <[EMAIL PROTECTED]> 2006/12/12 01:54 PM >>> Hi, Why do you want to pass the request parameters to the generator? The generator has the request object, which contains all the parameters, and lots of othe

RE: pass checkbox values through sitemap

2006-12-12 Thread Varga, Zsombor
Hi, Why do you want to pass the request parameters to the generator? The generator has the request object, which contains all the parameters, and lots of other properties. You can use either the request.getParameter(String paramName) /*it returns a String value*/ method, or request.getParameterVal