[Zope] Popup Box and dtml

Tino Wildenhain tino at wildenhain.de
Wed Oct 13 15:01:49 EDT 2004


Hi Laura,

Am Mi, den 13.10.2004 schrieb Laura McCord um 20:44:
> Is it possible to have a popup box within dtml?

still you are mixing up server side actions 
with client side actions. You should get a 
better understanding how HTTP works to avoid
such ideas.

Browser(User typed 
address/klicks link) --- Request --> Server
                                     (prepares output
                                     by means of python, ZPT,
                                     DTML) Returns a big string
                                     with content
Browser(parses, displays   <--- Response ----/
whatever it gets from
Server, if embedded
Scripts, run them,
issue a request for each
embedded element (images,
objects, scripts, css)   --- Request[1....n] -> Server
                         <---Response[1....n] ---

If link has a target,
Browser uses the information
to decide where it schould
load the response from server
into. The server does not
know about this.

HTH
Tino



More information about the Zope mailing list