[Zope] RESPONSE.redirect + TARGET

M. Adam Kendall mak@kha0s.org
04 Apr 2001 11:31:08 -0400


This should work:

<dtml-if x>
   <dtml-call "RESPONSE.setHeader('Window-target', '_top')">
   <dtml-call "RESPONSE.redirect('http://lalala.com')">
<dtml-else>
   HTML PAGE
</dtml-if>

On 03 Apr 2001 11:41:02 -0300, Diego Rodrigo Neufert wrote:
> I need to do this:
> 
> <dtml-if x>
>       <dtml-call "RESPONSE.redirect('http://lalala.com/')">
> <dtml-else>
>       HTML PAGE
> </dtml-if>
> 
> But it's on a framed page, and when I do the redirect I need to kill all de 
> frames to show the redirected page....
> 
> 
> On Tuesday 03 April 2001 11:32, Chris Withers wrote:
> > Diego Rodrigo Neufert wrote:
> > > There's a way to do a RESPONSE.redirect specifying a target=TOP?
> >
> > How would you build that into an anchor on a page?
> >
> > cheers,
> >
> > Chris
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
> -- 
> Diego Rodrigo Neufert
> System Administrator / Security Manager - Magic Web Design
> -----------------------------------------------------------
> diego@magicwebdesign.com.br
> www.magicwebdesign.com.br
> Curitiba - PR - Brasil
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>