OK i found !
I use a cocoon based on eXist deployement....
It works when i use a stanard verison 2.1.10

I dont know why.
if you have an idea...

it is : ${cocoon.parameters.myparam}

Furthermore, if you want an xml presentation of the entire request, there is the request generator

Ard

I did try this, but unsuccessful.....

I could use the request generator with an xsl transformation to produce XML flow, but it 's a bit complicated whereas i can use the jx transformer. But it does not work....

For this :
<GWPRequest xmlns:jx="http://apache.org/cocoon/templates/jx/1.0";>
    <myparam>${cocoon.parameters["myparam"]}</myparam>
     <myparam2>${cocoon.parameters.myparam}</myparam2>    </GWPRequest>


Result is still :

<GWPRequest>
<myparam/>
<myparam2/>
</GWPRequest>


Sitemap :
           <map:match pattern="*">
<map:generate type="jx" src="make-gwprequest-from-param.jx">
                   <map:parameter name="myparam" value="{1}"/>
               </map:generate>
               <map:serialize type="xml"/>
           </map:match>*
*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Sébastien Geindre
DPREVI/AERO/DEV
[EMAIL PROTECTED]
05 61 07 84 93




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to