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