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

Collapse
Posted by Alfred Werner on
Final note - if you view source on that page you will see the embed's are inside object tags. Taking the object tags off does NOT make the tclets not work. I suppose in this case, they are just to provide additional robustness/info.
Collapse
Posted by David Ghost on
Thanks Alfred,

Still I'm in the middle of troubles.
My aolserver doesn't append any <OBJECT...> tag
Instead it just transmits as I typed.
I installed 3.x of aolserver, does it make difference?
....

Collapse
Posted by Alfred Werner on
I think what you need to try is:

copy one of the tclet pages EXACTLY from the tclet demo page ...

In other words do a 'save target as' when you right click a link, or when you have the page of an example tclet open do a file->save as ...

the ONLY modification you would do is change the references from .tcl files to .tclet files and save the tclet from that site with the .tclet extension. This is necessary because .tcl files are the native extension for code to execute on the server.

I don't like to assume, but it sounds like you're trying to take a shortcut somewhere that's not obvious to me with the little information you have sent and that you don't understand the shortcut you are taking ... As I said - try the example EXACTLY like it is on a page that works. Once that works you can start to experiment, and know that you can comfortably return to the working version if something breaks.

3.x is not an issue.

Collapse
Posted by David Ghost on
Thanks Alfred,

After attaching <OBJECT..> tag it works