>
>
>thanks now the module ist running. But in html coded dokuments tcl commands
>like <? hputs "test" ?> are gnored. Documents with extention .tcl and ttml
>works.
>
A document is parsed by mod_dtcl only if its extension is associated 
with mod_dtcl.
Files ending in .html and .htm are not; I'm afraid you'll have to rename 
them all.

>
>Another question is obout graphical elements like buttons, which need wish
>how can I bring them on a web page?
>
Mmmm... CGI interface doesn't work this way: you must create your forms 
in HTML
(or generate them with the script), then write a script that receives 
data, then...

Keep in mind that:
- HTTP is a 'disconnected' protocol: when you (your browser) ends 
downloading a page,
it closes the connection with the server. Because of that, interactions 
between widgets
in a form can only be done with Javascript (or some other client 
scripting language) or
submitting a new request for each 'widget event' and keeping track of 
them with some
mean (usually hidden CGI variables or cookies).
- Only some of the widgets you have in Tk (wish) are available in HTML forms

So an advice: if you are trying to port an interactive Tcl/TK 
application you'd probably
better rethink the whole application after some experimenting with CGI 
(or mod_dtcl,
or mod_php, or mod_perl, or whatever).

(I think you'd better to switch away from NT, for that, but I won't 
start a war here...)

-- 
Valerio Gionco   [[EMAIL PROTECTED]]
MOST s.r.l.      Via Bezzecca, 9 - 10131 Torino 
************************************************************************
            "Life's not fair, but the root password helps."




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to