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]
