* @author abelevich
*
*/
public abstract class DnDRenderBase extends RendererBase {
public void buildAndStoreScript(FacesContext facesContext, UIComponent component) {
JavaScriptService javaScriptService = ServiceTracker.getService(JavaScriptService.class);
DnDScript dragScript = buildClientScript(facesContext, component);
if (javaScriptService != null && dragScript != null) {
javaScriptService.addPageReadyScript(facesContext, dragScript);
}
}