[Zope] external redirects

Loren Stafford lstaffor@dynalogic.com
Wed, 15 Mar 2000 08:25:20 -0800


If I understand what you need, you might want to check out
ZPublisher/Client.py and the HowTo:
http://www.zope.org/Members/lstaffor/ZClientMethod

-- Loren


----- Original Message -----
From: Michael Oas <dell7000@thot.net>
To: <zope@zope.org>
Sent: March 14, 2000 04:59 PM
Subject: [Zope] external redirects


> I don't know if this is do-able, but here goes.  I'd like to do something
> like the following:
>
> <dtml-var main_header>
> <dtml-var "external site">
> <dtml-var main_footer>
>
> I know, this defeats the purpose of Zope to some degree, but in this case
> I'd like to include an external site instead of employing frames.  Let's
> say, for example, that I'd like to showcase a resource located on another
> namespace.
>
> I've tried:
>
> <dtml-var "REQUEST.resolve_url(my_external_url)(_.None, _)">
>
> but I get a namespace error for obvious reasons.  I realize that the
> header's <body> tags would conflict with the external resources' and
hence,
> I'm not banking on anything.  I also looked at Redirector and found it to
be
> great for redirection within the same namespace, but I'm unsure on its
> ability to redirect to external resources (or namespaces).
>
> My dilemma is that I am using Zope to design a site and require Zope's
> numerous features, but I need to include a CGI-rendered page within Zope
> header and footers without using frames.  Ultimately, I intend to re-write
> the CGI as a Zope object, but at present I'm at a loss.
>
> Thanks in advance,
>
> Mike
>
>
> _______________________________________________
> 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 )
>