cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Galland <dominique.gall...@dauphine.fr>
Subject Re: Pass a request paramter to a custom generator
Date Tue, 05 Apr 2005 13:17:49 GMT
In my custom  generator I use
    Request request = ObjectModelHelper.getRequest(objectModel);
    String dn = request.getParameter("dn");
for getting a request parameter (not a map parameter)
Best regards

Mattom a écrit :

>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