[Zope] frames in Zope

J Cameron Cooper jccooper at jcameroncooper.com
Fri Feb 20 14:19:04 EST 2004


Mareike wrote:

>I'm comletely new to working with Zope
>and web sites in general. I hope my 
>questions don't seem too stupid. 
>
>I've written a navigation method something
>like this:
>
><ul>
><dtml-in expr="objectValues('Folder')">              
><li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a></li>        
></dtml-in>
></ul>    
>
>It works fine but whenever the default views of the folder
>contents are called they are displayed in the very same frame.
>
>What I wanna do is the following:
>
>If there are folders in one folder, I want them to be listed 
>in one frame. And whenever the index_html method is called 
>(wjich seems to happen automatically) I want its contents to
>appear in a different frame.
>
>Can I call a method in DTML and assign a target frame?
>
>like: <dtml-var index_html> target=frame ... ????
>
>I'd be very thankful for any help! Thank you very much!!!
>
Targets, as I recall, can only be used to open new URLs in a different 
frame, so you must work it such that the URL in the target frame shows 
the desired results. This is the same procedure, btw, as making the next 
page (when not using frames) display the desired results.

(I have not used frames since they were first introduced and I was 
playing with them, but I'm pretty sure this is accurate.)

             --jcc

-- 
"He who fights with monsters should look to it that he himself does not become a monster. And when you gaze long into an abyss the abyss also gazes into you."




More information about the Zope mailing list