[Zope] Re: RESPONSE.redirect + TARGET

Tim Moore tmoore@tembel.org
03 Apr 2001 17:13:25 +0000


This is untested, and I'm not sure if it will really work, but try
calling RESPONSE.setHeader('Window-target', 'TOP') before the
redirect, or at the top of the document you're redirecting to.

Diego Rodrigo Neufert <diego@magicwebdesign.com.br> writes:

> I know that, but I need to use RESPONSE.redirect....
> 
> On Tuesday 03 April 2001 11:58, Thomas B. Passin wrote:
> > Chris Withers asked -
> >
> > > 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?
> >
> > Add a "target" attribute to the anchor:
> >
> > <a href-'....' target='TOP">....</a>
> >
> > No redirect needed.  Similarly for forms.

-- 
Tim Moore