throws IOException { TableMetaInfo info = getMetaInfo(context, table); writer.startElement("tr", table);
throws IOException { TableMetaInfo info = getMetaInfo(context, table); writer.startElement("tr", table);
throws IOException { TableMetaInfo info = getMetaInfo(context, table); writer.startElement("tr", table);
/** * Renders the starting <code>tr</code> element applying any values * from the <code>rowClasses</code> attribute. * @param context the <code>FacesContext</code> for the current request * @param table the table that's being rendered * @param writer the current writer * @throws IOException if content cannot be written */ protected void renderRowStart(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException { TableMetaInfo info = getMetaInfo(context, table); writer.startElement("tr", table); if (info.rowClasses.length > 0) { writer.writeAttribute("class", info.getCurrentRowClass(), "rowClasses"); } writer.writeText("\n", table, null); }
/** * Renders the starting <code>tr</code> element applying any values * from the <code>rowClasses</code> attribute. * @param context the <code>FacesContext</code> for the current request * @param table the table that's being rendered * @param writer the current writer * @throws IOException if content cannot be written */ protected void renderRowStart(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException { TableMetaInfo info = getMetaInfo(context, table); writer.startElement("tr", table); if (info.rowClasses.length > 0) { writer.writeAttribute("class", info.getCurrentRowClass(), "rowClasses"); } writer.writeText("\n", table, null); }