Permalink
Browse files

#2088

  • Loading branch information...
1 parent 2715aa0 commit 6d9cf8d2598f369033e19c7d88180b8062bfa5a3 @tandraschko tandraschko committed Feb 15, 2017
@@ -30,7 +30,6 @@
import org.primefaces.renderkit.CoreRenderer;
import org.primefaces.util.AjaxRequestBuilder;
import org.primefaces.util.ComponentTraversalUtils;
-import org.primefaces.util.ComponentUtils;
public class RemoteCommandRenderer extends CoreRenderer {
@@ -84,6 +83,7 @@ public void encodeEnd(FacesContext context, UIComponent component) throws IOExce
//script
writer.startElement("script", command);
+ writer.writeAttribute("id", clientId, null);
writer.writeAttribute("type", "text/javascript", null);
writer.write(name + " = function() {");

0 comments on commit 6d9cf8d

Please sign in to comment.