[Zope] dtml forwarding request

Dennis Allison allison at shasta.stanford.edu
Thu Jun 8 16:34:21 EDT 2006


You can do a redirect and construct the cgi space from REQUEST.  


On Thu, 8 Jun 2006, Alric Aneron wrote:

> The dtml_method where I want to forward to is on another server, so your may would be a little hard to do.  Sorry, I didn't make myself clear the first time.
> 
> Thanks, any suggestions?
> 
> Jonathan <dev101 at magma.ca> wrote:       if you want to go straight from one dtml routine to  another just use dtml-var (ie.  have dtml  method A call dtml method B) -  then in dtml method A have:
>   
>  <dtml-var methodB>
>   
>  This will 'pass' control and the REQUEST space from  A to B.
>   
>  Is this is not what you are looking for, then  provide some more info as to your use case.
>   
>   
>   
>  Jonathan
>     ----- Original Message ----- 
>    From:    Alric    Aneron 
>    To: zope at zope.org 
>    Sent: Thursday, June 08, 2006 4:22    PM
>    Subject: [Zope] dtml forwarding    request
>    
> 
> Hello,
> Is there a way in Zope to forward a request from one    page to another.  When I say "forward" a request, I want to retain all    the GET and POST request parameters.  So similar to <dtml-call    expr="RESPONSE.redirect('...')"> but response.redirect loses all the    request parameters.
> I've been looking around and couldn't find it.
> Any    ideas?
> 
> Thanks in advance!
>       
> 
> ---------------------------------
>    Yahoo! Groups gets better. Check    out the new email design. Plus there�s much more to come.       
> 
> ---------------------------------
>     
> _______________________________________________
> Zope maillist     -     Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **      No cross posts or HTML encoding!  **
> (Related lists -    
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev    )
> 
> 
> 			
> ---------------------------------
> Sneak preview the  all-new Yahoo.com. It's not radically different. Just radically better. 

-- 



More information about the Zope mailing list