I have a topic like this:
dojo.event.topic.subscribe("/saveTopic",
function(data, type, e)
{
// data : text returned
// type : "before", "load" or "error"
// e : request object
if ('load' == type)
{
}
}
When my action on the server is successful the type is
set to load and things work great. However, I would
like to send some data back from the server also (in
the "data" arg, I presume.)
I do not seen any doc or examples on how to do this.
Could someone point me in the right direction?
Thanks,
Scott
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]