Forum OpenACS Q&A: Re: How could I run tclet in a page

Collapse
Posted by Don Baccus on
Are those procs returning HTML?  If so you can say ...

<%=proc_name arg1 arg2 ... argn%>

and the output of the proc will be inserted into the HTML returned to the browser client.

Collapse
Posted by David Ghost on
Here is my trouble summary

I created a html(or adp) file named test.html which read
<html>
Hello
<embed src="/test.xtl" width="120" height="100">
</html>

And test.xtl file looks like below containing tk code:
button .b -text "Hello"
pack .b

Of course I installed TCL Plugin into my IE browser
which tested successfully with tcltk plugin demo.

Also my aolserver config file has more line
for .xtl file trnsmit application/x-tcl mime type

My question is with aolserver should I do more?

Please help me Don...