Ronnie, > But I understood you wanted to have Websh on the web server side > and write something that renders a Tk GUI in the browser...
Exactly. I have a third-party application (a WYSIWYG editor, GUI included) which is already developed in TCL/TK, and I want to run it as a web application over Apache2/Win32. The live examples in the webpage (i.e. http://tcl.apache.org/websh/examples/memory.ws3) made me think Websh could be the solution, but if it won't allow me to embed a TK GUI, it isn't the right tool to accomplish this. Maybe I could look into compiling the TCL/TK script into something that can be embedded into a HTML web page. But I don't know what to look for. In a matter of fact, I don't even know if that's possible... any ideas you may have, I'll be happy to hear :) Thanks for your help, I really appreciate it. Like you probably noticed by now, I'm a newbie at this. Greetings, Ricardo > -----Mensaje original----- > De: Ronnie Brunner [mailto:[EMAIL PROTECTED] > Enviado el: Miércoles 1 de Octubre de 2008 19:00 > Para: [email protected] > Asunto: Re: A newbie question about Websh > > Hi > > > I couldn't find any documentation covering this in the > webpage. Could you > > please tell me how to adapt a pure TCL/TK script to run in Websh? > > If you have a plain Tcl sricpt that works in a CGI environment, it > will also work as-is in Websh. Websh just adds lots of functionality > regarding request handling and other web related stuff. > > However Tk scripts are not compatible at all: Tk is a client GUI > framework and your cannot really use it in Websh at all. > > (Well that's not quite true: as Websh is basically just an > extended Tcl > shell, it could also be used to write a client app with a Tk > GUI. But I > understood you wanted to have Websh on the web server side and write > something that renders a Tk GUI in the browser...) > > If you want to build an ajax based rich web application, you might > want to consider looking at Aejaks (http://aejaks.sourceforge.net), > which is a Tcl ajax framework that borrows much from Tk (but is not > compatible either...) > > hth > Ronnie > -- > Ronnie Brunner | [EMAIL PROTECTED] > phone +41-44-247 79 79 | fax +41-44-247 70 75 > Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch > > --------------------------------------------------------------------- > 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]
