Is it possible to change the revlet embed html?

Dom mcdomi at free.fr
Sat Dec 5 12:56:21 EST 2009


Dom <mcdomi at free.fr> wrote:

> OK, I made a more thorough reading...
> the interesting trick is that the revlet is a mainstack with a substack
> 
> I did ignore that a substack could so be revealed in a revlet!
> so, the communication between the "two" revlets resorts to normal
> communication between a substack and its mainstack ;-)
> 
> So, a step further, how to make two _independent_ revlets communicate?

I tried with two stacks -- the first trying to write some data to a text
file, and the second to read the text file

it was impossible to show two revlets on the same page ;-<
even with two different (or identical) instanceIDs

moreover, it seems that a revlet cannot write a text file onto the
server!
I tried first assuming that the standard was that the file is written by
default in the directory (as for .html files)
I tried next with the Rev default (to fix "the directory" to the folder
where the revlet resides): no luck

in the end I tried to replicate the example given by Jacque, with a
simple stack with a substack: I cannot see the two instances, i.e. I see
only the mainstack!
I ensured myself I did operate in exactly the same way: no luck!

I am scratching my head...

<http://medard.on-rev.com/RevWeb/communic/principale.html>





More information about the Use-livecode mailing list