.getInstance(facesContext.getExternalContext()) .getBorderRenderersRegistry();
.getInstance(facesContext).getBorderRenderersRegistry();
    protected IHtmlBorderRenderer getHtmlBorderRenderer(IHtmlWriter writer,            FieldSetComponent fieldSetComponent) {        IComponentRenderContext componentRenderContext = writer                .getComponentRenderContext();        FacesContext facesContext = componentRenderContext.getFacesContext();        String borderType = fieldSetComponent.getBorderType(facesContext);        IBorderRenderersRegistry borderRendererRegistry = RcfacesContext                .getInstance(facesContext.getExternalContext())                .getBorderRenderersRegistry();        return (IHtmlBorderRenderer) borderRendererRegistry.getBorderRenderer(                facesContext, RenderKitFactory.HTML_BASIC_RENDER_KIT,                fieldSetComponent.getFamily(), fieldSetComponent                        .getRendererType(), borderType);    }