public static void renderAutoScrollFunction(FacesContext facesContext,
            ResponseWriter writer) throws IOException
    {
        writer.startElement(HTML.SCRIPT_ELEM, null);
        writer.writeAttribute(HTML.SCRIPT_TYPE_ATTR,
                HTML.SCRIPT_TYPE_TEXT_JAVASCRIPT, null);
        writer.writeText(getAutoScrollFunction(facesContext), null);
        writer.endElement(HTML.SCRIPT_ELEM);
    }
public static void renderAutoScrollFunction ( FacesContext facesContext , ResponseWriter writer ) throws IOException { writer . startElement ( HTML . SCRIPT_ELEM , null ) ; writer . writeAttribute ( HTML . SCRIPT_TYPE_ATTR , HTML . SCRIPT_TYPE_TEXT_JAVASCRIPT , null ) ; writer . writeText ( getAutoScrollFunction ( facesContext ) , null ) ; writer . endElement ( HTML . SCRIPT_ELEM ) ; }
Renders the autoscroll javascript function.