/** * Renders the start of a table and applies the value of * <code>styleClass</code> if available and renders any * pass through attributes that may be specified. * @param context the <code>FacesContext</code> for the current request * @param table the table that's being rendered * @param writer the current writer * @param attributes pass-through attributes that the component * supports * @throws IOException if content cannot be written */ protected void renderTableStart(FacesContext context, UIComponent table, ResponseWriter writer, Attribute[] attributes) throws IOException { writer.startElement("table", table); writeIdAttributeIfNecessary(context, writer, table); String styleClass = (String) table.getAttributes().get("styleClass"); if (styleClass != null) { writer.writeAttribute("class", styleClass, "styleClass"); } RenderKitUtils.renderPassThruAttributes(context, writer, table, attributes); writer.writeText("\n", table, null); }
/** * Renders the start of a table and applies the value of * <code>styleClass</code> if available and renders any * pass through attributes that may be specified. * @param context the <code>FacesContext</code> for the current request * @param table the table that's being rendered * @param writer the current writer * @param passThroughAttributes pass-through attributes that the component * supports * @throws IOException if content cannot be written */ protected void renderTableStart(FacesContext context, UIComponent table, ResponseWriter writer, String[] passThroughAttributes) throws IOException { writer.startElement("table", table); writeIdAttributeIfNecessary(context, writer, table); String styleClass = (String) table.getAttributes().get("styleClass"); if (styleClass != null) { writer.writeAttribute("class", styleClass, "styleClass"); } RenderKitUtils.renderPassThruAttributes(writer, table, passThroughAttributes); writer.writeText("\n", table, null); }
/** * Renders the start of a table and applies the value of * <code>styleClass</code> if available and renders any * pass through attributes that may be specified. * @param context the <code>FacesContext</code> for the current request * @param table the table that's being rendered * @param writer the current writer * @param attributes pass-through attributes that the component * supports * @throws IOException if content cannot be written */ protected void renderTableStart(FacesContext context, UIComponent table, ResponseWriter writer, Attribute[] attributes) throws IOException { writer.startElement("table", table); writeIdAttributeIfNecessary(context, writer, table); String styleClass = (String) table.getAttributes().get("styleClass"); if (styleClass != null) { writer.writeAttribute("class", styleClass, "styleClass"); } RenderKitUtils.renderPassThruAttributes(context, writer, table, attributes); writer.writeText("\n", table, null); }
/** * Renders the start of a table and applies the value of * <code>styleClass</code> if available and renders any * pass through attributes that may be specified. * @param context the <code>FacesContext</code> for the current request * @param table the table that's being rendered * @param writer the current writer * @param attributes pass-through attributes that the component * supports * @throws IOException if content cannot be written */ protected void renderTableStart(FacesContext context, UIComponent table, ResponseWriter writer, Attribute[] attributes) throws IOException { writer.startElement("table", table); writeIdAttributeIfNecessary(context, writer, table); String styleClass = (String) table.getAttributes().get("styleClass"); if (styleClass != null) { writer.writeAttribute("class", styleClass, "styleClass"); } RenderKitUtils.renderPassThruAttributes(context, writer, table, attributes); writer.writeText("\n", table, null); }
/** * Renders the start of a table and applies the value of * <code>styleClass</code> if available and renders any * pass through attributes that may be specified. * @param context the <code>FacesContext</code> for the current request * @param table the table that's being rendered * @param writer the current writer * @param attributes pass-through attributes that the component * supports * @throws IOException if content cannot be written */ protected void renderTableStart(FacesContext context, UIComponent table, ResponseWriter writer, Attribute[] attributes) throws IOException { writer.startElement("table", table); writeIdAttributeIfNecessary(context, writer, table); String styleClass = (String) table.getAttributes().get("styleClass"); if (styleClass != null) { writer.writeAttribute("class", styleClass, "styleClass"); } RenderKitUtils.renderPassThruAttributes(context, writer, table, attributes); writer.writeText("\n", table, null); }