code: protected String getStyle(FacesContext facesContext, UIComponent link)
      {
          if (link instanceof HtmlCommandLink)
          {
              return ((HtmlCommandLink)link).getStyle();
          }
  
          return (String)link.getAttributes().get(HTML.STYLE_ATTR);
  
      }
docs: Can be overwritten by derived classes to overrule the style to be used.