facesContext.getExternalContext()).getServicesRegistry();
facesContext).getServicesRegistry();
    public static DataGridService getInstance(FacesContext facesContext) {        IServicesRegistry serviceRegistry = RcfacesContext.getInstance(                facesContext.getExternalContext()).getServicesRegistry();        return (DataGridService) serviceRegistry.getService(facesContext,                RenderKitFactory.HTML_BASIC_RENDER_KIT, SERVICE_ID);    }