Dom wrote:
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

I can't test it right now, but did you also try changing the source parameter? They will be different if you are using two independent stacks. That might work. The instanceID must be the same for both.


moreover, it seems that a revlet cannot write a text file onto the
server!

They can, but you need to make sure the text file you are writing to has correct permissions on 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

Revlet file paths are local to the user's hard drive and act like desktop standalones. Their default directory is not on the server, it is the folder where the plugin is installed on the user's drive. To write to a server, you need to use the same techniques that you'd use for a remote desktop application.


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!

Did you change the javascript in the html file? That's all it needs. Also make sure the source parameter is the name of your mainstack in both cases.


--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to