  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | fill an incomplete row | fill an incomplete row 2007-06-29 - By Scott Snowden
Back I have a table that has three columns. I have an unknown number of data points that need to be written into this table from left to right top to bottom. This works fine by iterating through the result set and adding a new cell for each value, except for the last row. Often times the last row is incomplete, i.e. it only has one or two columns filled in. This results in the last row not being added to the table, as documented elsewhere in the mailing list. Is there any way to programmatically complete a row with out keeping track of how many columns have been filled and filling in the remaining columns?
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.9.12/878 - Release Date: 6/28/2007 5:57 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250 (See http://ows-1250.ora-code.com)"> <TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16481" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=515280915-29062007>I have a table that has three columns. I have an unknown number of data points that need to be written into this table from left to right top to bottom. This works fine by iterating through the result set and adding a new cell for each value, except for the last row. Often times the last row is incomplete, i.e. it only has one or two columns filled in. This results in the last row not being added to the table, as documented elsewhere in the mailing list. Is there any way to programmatically complete a row with out keeping track of how many columns have been filled and filling in the remaining columns?</SPAN></FONT></DIV><BR> <P><FONT size=2></FONT> </P></BODY></HTML> <BR>
<P><FONT SIZE=2>No virus found in this outgoing message.<BR> Checked by AVG Free Edition.<BR> Version: 7.5.476 / Virus Database: 269.9.12/878 - Release Date: 6/28/2007 5:57 PM<BR> </FONT> </P>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
 |