You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by SAXESS - Hussayn Dabbous <da...@saxess.com> on 2003/01/27 14:47:37 UTC

Can i preserve POST and GET parms while forwarding a request?

Hy again;

I would like to pass POST parameters from a request to an
aggregation call and keep them as POST. From the sources i
learned, that the following sitemap would pass POST parameters
as GET params (is this true at all?) :

   <snip .../>

   <map:actions>
   <map:action name="request"
               logger="sitemap.action.request"
               src ="org.apache.cocoon.acting.RequestParamAction">
   </map:action>
   </map:actions>

   <snip .../>

   <map:match pattern="*">
     <map:act type="request">
       <map:parameter name="parameters" value="true"/>
       <map:aggregate element="page">
         <snip .../>
         <map:part
          src="cocoon:/canvas{requestQuery}"/>
       </map:aggregate>
     </map:act>
     <map:transform src="xsl/page.xsl"/>
     <map:serialize/>
   </map:match>

What would be the best approach to get my POST parameters forwarded
to the <map:part src...> as POST parameters ?

regards, hussayn


-- 
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax:     +49-221-56011-20
E-Mail:  dabbous@saxess.com


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>