Hi,
> >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...
perfectly right, so a entry in HTML is e.g. created with
set city [get it from some where else]
puts "<input name=city size=30 value=\"$city\">"
and a button with
puts "<input type=submit value=\"Send\">"
> 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...)
Another way to port Tcl/Tk into a web application is to use the Tcl/Tk
Plugin, available for some browsers. See http://www.tcl.tk/software/plugin/
(where else? ;-)
Regards
Holger
____________________________________________________________________
|
| Holger Zeinert - Development Manager CAE Division
|____________________________________________________________________
| LMS Deutschland GmbH - tel +49 631 4166-180, fax -166
| Luxemburger Str. 7, 67657 Kaiserslautern, GERMANY
| mailto:[EMAIL PROTECTED] http://www.lmsintl.com
> -----Original Message-----
> From: Valerio Gionco [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 4:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Problems with installing mod_dtcl.so under NT
>
>
> >
> >
> >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]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]