/** * Gets the style class for the table footer. */ private static String getFooterClass(HtmlNewspaperTable newspaperTable) { if(newspaperTable instanceof HtmlDataTable) { return ((HtmlDataTable)newspaperTable).getFooterClass(); } else { return (String)newspaperTable.getAttributes().get(JSFAttr.FOOTER_CLASS_ATTR); } }
/** * Gets the footerClass attribute of the given <code>UIComponent</code>. * @param component the <code>UIComponent</code>. * @return the footerClass attribute of the given <code>UIComponent</code>. */ protected static String getFooterClass(UIComponent component) { if (component instanceof HtmlDataTable) { return ((HtmlDataTable) component).getFooterClass(); } else { return (String) component.getAttributes().get(org.apache.myfaces.shared_impl.renderkit.JSFAttr.FOOTER_CLASS_ATTR); } }
/** * Gets the footerClass attribute of the given <code>UIComponent</code>. * @param component the <code>UIComponent</code>. * @return the footerClass attribute of the given <code>UIComponent</code>. */ protected static String getFooterClass(UIComponent component) { if (component instanceof HtmlDataTable) { return ((HtmlDataTable) component).getFooterClass(); } else { return (String) component.getAttributes().get(org.apache.myfaces.shared_impl.renderkit.JSFAttr.FOOTER_CLASS_ATTR); } }
/** * Gets the footerClass attribute of the given <code>UIComponent</code>. * @param component the <code>UIComponent</code>. * @return the footerClass attribute of the given <code>UIComponent</code>. */ protected static String getFooterClass(UIComponent component) { if (component instanceof HtmlDataTable) { return ((HtmlDataTable) component).getFooterClass(); } else { return (String) component.getAttributes().get(org.apache.myfaces.shared_impl.renderkit.JSFAttr.FOOTER_CLASS_ATTR); } }
/** * Gets the footerClass attribute of the given <code>UIComponent</code>. * @param component the <code>UIComponent</code>. * @return the footerClass attribute of the given <code>UIComponent</code>. */ protected static String getFooterClass(UIComponent component) { if (component instanceof HtmlDataTable) { return ((HtmlDataTable) component).getFooterClass(); } else { return (String) component.getAttributes().get(org.apache.myfaces.shared_tomahawk.renderkit.JSFAttr.FOOTER_CLASS_ATTR); } }
/** * Gets the footerClass attribute of the given <code>UIComponent</code>. * @param component the <code>UIComponent</code>. * @return the footerClass attribute of the given <code>UIComponent</code>. */ protected static String getFooterClass(UIComponent component) { if (component instanceof HtmlDataTable) { return ((HtmlDataTable) component).getFooterClass(); } else { return (String) component.getAttributes().get(org.apache.myfaces.shared_orchestra.renderkit.JSFAttr.FOOTER_CLASS_ATTR); } }
/** * Gets the footerClass attribute of the given <code>UIComponent</code>. * @param component the <code>UIComponent</code>. * @return the footerClass attribute of the given <code>UIComponent</code>. */ protected static String getFooterClass(UIComponent component) { if (component instanceof HtmlDataTable) { return ((HtmlDataTable) component).getFooterClass(); } else { return (String) component.getAttributes().get( org.apache.myfaces.shared.renderkit.JSFAttr.FOOTER_CLASS_ATTR); } }
/** * Gets the footerClass attribute of the given <code>UIComponent</code>. * @param component the <code>UIComponent</code>. * @return the footerClass attribute of the given <code>UIComponent</code>. */ protected static String getFooterClass(UIComponent component) { if (component instanceof HtmlDataTable) { return ((HtmlDataTable) component).getFooterClass(); } else { return (String) component.getAttributes().get( org.apache.myfaces.shared.renderkit.JSFAttr.FOOTER_CLASS_ATTR); } }
RendererUtil.renderAttribute(writer, JsfConstants.CLASS_ATTR, htmlDataTable .getFooterClass(), JsfConstants.FOOTER_CLASS_ATTR); encodeComponent(context, tableFooter); RendererUtil.renderAttribute(writer, JsfConstants.CLASS_ATTR, htmlDataTable .getFooterClass(), JsfConstants.FOOTER_CLASS_ATTR); UIColumn column = (UIColumn) it.next();