public static void renderJQueryPluginCall ( final String elementId , final String pluginFunctionCall , final ResponseWriter writer , final UIComponent uiComponent ) throws IOException { final String jsCall = createJQueryPluginCall ( elementId , pluginFunctionCall ) ; writer . startElement ( "script" , uiComponent ) ; writer . writeText ( jsCall , null ) ; writer . endElement ( "script" ) ; }
Renders a script element with a function call for a jquery plugin