Is there anyway to get a list of every target or source on a page that would have a drag and dropped object in it?
targets
dojo anchor: get widget id and targets attributes inside subscribed topic?
Submitted by holod on Wed, 07/30/2008 - 12:54.
I use dojo anchor widget.
It successfully gets response in json from server, but I have seral problems accessing widget, that published a topic.
Please, see my code:
dojo.event.topic.subscribe("/after", function(data, request, widget){
alert('inside a topic event. after request');
//data : text returned from request(the html)
//request: XMLHttpRequest object
//widget: widget that published the topic
});
alert('inside a topic event. after request');
//data : text returned from request(the html)
//request: XMLHttpRequest object
//widget: widget that published the topic
});
Problems:
1. Can't change data value. If I just use inside dojo.event.topic.subscribe:
- Login or register to post comments
- Read more
- Unsubscribe post
