[Zope] Frames & Python
Passin, Tom
tpassin@mitretek.org
Mon, 11 Nov 2002 10:46:42 -0500
[ Sebastian Quei=DFer ]Hi!
>=20
> How can I load the return of a function in a frame wich=20
> already exists and should only be updated similar to Zope's=20
> menu frame, when you delete an Object?
>=20
Loading of frames is entirely controlled by the browser. Either you =
specify a target attribute in a form, or you have to use javascript from =
another frame to reload the one of interest. In your case, it sounds =
like you need to use javascript in the first frame to load the second =
one.
The best place to do this is in the body onload event. It would look =
something like this -
<body =
onLoad=3D'parent.frames["name-of-the-other-frame"].location=3Dnew_url'>
Or you could use location.replace() instead if you do not want to add to =
the browsng history.
Cheers,
Tom P