}
writer.write("</div>\n<!-- End panel body -->\n");
//it is very common to have footer-less panels. so we check and avoid the exception overhead
if(footerF!=null){
writer.write("<div class='ft'>\n");
footerF.encodeAll(context);
writer.write("</div>\n<!-- End panel footer -->\n");
}
}
@Override
public void encodeEnd(FacesContext context) throws IOException {