Hi

Thanks for the solution.
Actually I want to know how the parameters are passed from a page containing
a form to the pipeline.
I would not use xsp because i think its not a good way to do things.

What ya say?

Sac

On Wed, Jul 16, 2008 at 4:02 PM, Thorsten Scherler <
[EMAIL PROTECTED]> wrote:

> On Wed, 2008-07-16 at 15:27 +0530, sac sha wrote:
> > Hi all
> >
> > Is there anyway so that I can pass parameters through pipeline. Like I
> > have a link in tabs say "test" and I want two paramters "name" and
> > "password" to be passed to a generator. How can I do that ?
>
> http://cocoon.apache.org/2.1/userdocs/concepts/matchers_selectors.html
> Using this parameter from the url:
> <map:match pattern="*/*/*/*/report.html">
>  <map:generate type="serverpages" src="docs/getPostcodeData.xsp">
>      <parameter name="postcode" value="{1}{2} {3}{4}"/>
>   </map:generate>
> ...
>
> If you have the parameter in the request you need to use the request
> input modules.
> http://cocoon.apache.org/2.1/userdocs/concepts/modules.html
>  <parameter name="password" value="{request-param:password}"/>
>
>
> HTH
> >
> > Thanks
> > Sac
> >
> --
> Thorsten Scherler                                 thorsten.at.apache.org
> Open Source Java                      consulting, training and solutions
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to