I found an alternative way to solve the problem, but it is not so good. I simply removed the div that contains the dnd.source and created a new dnd.source with an diferent acceptance. the code i used:
var element = dojo.byId(user_id);
var element_father = element.parentNode;
element_father.removeChild(element);
var div = document.createElement("div");
div.setAttribute('id',element.id);
element_father.appendChild(div);
var catalog = new dojo.dnd.Source(element.id, {accept: ['outStock']});
I hope that someone knows how to setup an existent dnd.source
Rafael
2010-01-20 18:34:33