1 5 package org.exoplatform.faces.core.component.model; 6 7 import java.io.IOException ; 8 import java.util.ResourceBundle ; 9 import javax.faces.context.ResponseWriter ; 10 import org.exoplatform.faces.core.component.UIGrid; 11 12 18 public class HeaderRow extends Row { 19 public void render(ResponseWriter w, ResourceBundle res, UIGrid uiParent) throws IOException { 20 if(!visible_) return ; 21 w.write("<tr") ; 22 if(clazz_ != null) { w.write(" class='");w.write(clazz_);w.write("'") ; } 23 w.write('>') ; 24 for (int i = 0 ; i < cells_.size() ; i++) { 25 Cell cell = (Cell) cells_.get(i) ; 26 cell.render(w, res, uiParent, "th") ; 27 } 28 w.write("</tr>") ; 29 } 30 } 31 | Popular Tags |