public class DragSourceRenderer extends DnDRenderBase {
@Override
public Map<String, Object> getOptions(FacesContext facesContext, UIComponent component) {
Map<String, Object> options = new HashMap<String, Object>();
if (component instanceof AbstractDragSource) {
AbstractDragSource dragSource = (AbstractDragSource) component;
options.put("indicator", getDragIndicatorClientId(facesContext, dragSource));
options.put("type", dragSource.getType());
options.put("parentId", getParentClientId(facesContext, component));
}
return options;
}