cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Hoskens ...@schaubroeck.be>
Subject Re: Pass a request paramter to a custom generator
Date Tue, 05 Apr 2005 11:51:42 GMT
try

<map:parameter name="schnirkel2" value="{request-param:xfacename}" />

that should work.

Look for inputmodules in the docs: 
http://wiki.apache.org/cocoon/InputModules?highlight=%28inputmodules%29

Kind Regards,
Jan

Mattom wrote:
> hi all !
> 
> Sorry if i missed some documentation, but I after spending an hour on trial
> and error...
> 
> How do i pass a request parameter to a custom generator in a pipeline ?
> 
> I tried (see schnirkel and schnirkel2), for a link that is:
> viewGeneric.dhtml?xfacename=testit
> 
>         <map:match pattern="dynamic_content/viewGeneric.dhtml">
>           <map:generate type="XFace">
>             <map:parameter name="XFaceName" value="Versicherungsdaten" />
>             <map:parameter name="use-request-parameters" value="true"/>
>             <map:parameter name="schnirkel" value="{xfacename}" />
>             <map:parameter name="schnirkel2" value="{request:xfacename}" />
>           </map:generate>
> 
> thank you,
> tom
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message