[Zope] Re: [Zope-dev] how can I fill to frames in on dtml-call ??
Tino Wildenhain
tino@wildenhain.de
Thu, 26 Apr 2001 09:09:59 +0200
Hi Robert,
this is not zope-dev related so I move it over to zope-list.
However, filling two frames the same time is a faq.
If you really need frames, you can update all at the same
time if you have the target of links and forms to _top
and send the frameset again. Alternatively you can break
up your frameset into smaller parts, e.g. use a frameset
which devides top and bottom and then another to devide
the bottom frame into navigation and content.
This way you only have to address the bottom-frameset to make
the changes.
window-target: - Header did never work so far as I tested
years ago.
HTH
Tino Wildenhain
--On Donnerstag, 26. April 2001 06:48 +0200 Robert Rottermann
<robert@rocad.ch> wrote:
> Hi there,
> I would like to fill two frames as a response to a user action.
> How can I do that?
>
> The situation is as follows:
>
> I have two database tables having a master-detail relationship.
> In a list I display records from the master table .
> When the user clicks on one of the entry I would like to fill
> a frame with some fileds of the record, an in a second frame
> a list with detailrecords.
>
> So how can I fill two frames as a response to a submit.
> Or is there a way that I can tell a python or dtml-method to send its
> output to a given target?
>
> I tried something like this:
>
> <dtml-var masterForm>
> <dtml-call "RESPONSE.setHeader('Window-target',URL1+'/top_right_frm')">
> <dtml-var listdetails>
>
> but this writes everything into the same frame.
>
> thanks for your time
> Robert
>
>
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )