Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- SeamPDF and generating tables fails after some itera

- SeamPDF and generating tables fails after some itera

2007-06-13       - By baz

 Back
Hello,
we have to generate  PDF pages for fieldplans. The application can be found
here:
http://bazdm.bafz.de/aveqtest/

The app shows the fieldplans in html and it can generate pdf documents for it.
Software:
JBoss Seam 1.2.1GA with JBoss AS 4.0.5GA

Our problem: You can view the fieldplans (A table with variable Columns)
correctly, but after some time you see only one row with one column. This
problem stays until a restart of the jboss server.
Is this problem already known?
Here comes our  facelets code (for the PDF pages):
      <p:table headerRows="1" widthPercentage="100" horizontalAlignment="left">
 |       <f:facet name="defaultCell">
 |         <p:cell horizontalAlignment="center" grayFill="1.0" borderWidth="0" />
 |       </f:facet>
 | <p:cell horizontalAlignment="left">
 | <p:font size="18">
 | <p:paragraph  spacingAfter="10" >
 |     <p:text value="Fieldplan" />
 |     <p:text
 |       value="?? ExperimentId:??#{experimentSiteList.selExperimentSite
.experiment.experimentId}" />
 |   </p:paragraph>
 | </p:font>
 | </p:cell>
 |       <ui:repeat value="#{expFieldplanList.printPlotlist}" var="print">
 |     <ui:repeat value="#{expFieldplanList.printPlotlist}" var="print">
 |         <p:cell>
 |    
 |           <p:table columns="#{print.columnIndex}" headerRows="1"
 |             widthPercentage="95" horizontalAlignment="left"
 |             widths="#{print.columnwidth}" >
 |             <f:facet name="defaultCell">
 |               <p:cell horizontalAlignment="center" grayFill="1.0">
 |               </p:cell>
 |             </f:facet>
 |             <p:cell alignment="center">Lanes>
 | Plots V</p:cell>
 |             <ui:repeat value="#{print.plothead}" var="head">
 |               <p:cell>
 |                 <p:text value="#{head}" />
 |               </p:cell>
 |             </ui:repeat>
 |             <ui:repeat value="#{print.plotlist}" var="lanes">
 |
 |               <p:cell>
 |                 <p:text value="#{lanes.lineIndex}" />
 |               </p:cell>
 |               <ui:repeat value="#{lanes.line}" var="plot">
 |
 |                 <p:cell>
 |                   <p:table columns="1">
 |                     <f:facet name="defaultCell">
 |                       <p:cell horizontalAlignment="center" grayFill="1.0"
 |                         borderWidth="0" />
 |                     </f:facet>
 |
 |                     <p:cell>
 |                       <p:paragraph>
 |                         <p:text value="#{plot.treatmentCode}" />
 |                       </p:paragraph>
 |                     </p:cell>
 |
 |                     <p:cell>
 |                       <p:paragraph>
 |                         <p:text
 |                           value="#{plot.holderFaocode}??#{plot.accessionNumber}" />
 |                       </p:paragraph>
 |                     </p:cell>
 |
 |                     <p:cell>
 |                       <p:paragraph>
 |                         <p:text value="#{plot.accessionName}" />
 |                       </p:paragraph>
 |                     </p:cell>
 |
 |                     <p:cell>
 |                       <p:font size="8" style="italic">
 |
 |                         <p:paragraph>
 |                           <p:text
 |                             value="A.??#{plot.species}??#{plot.subspecies}??#{plot
.varietas}" />
 |
 |                         </p:paragraph>
 |
 |                       </p:font>
 |                     </p:cell>
 |                   </p:table>
 |                 </p:cell>
 |               </ui:repeat>
 |               <p:cell colspan="#{expFieldplanList.columnIndex}"></p:cell>
 |             </ui:repeat>
 |
 |           </p:table>
 |         </p:cell>
 |       </ui:repeat>
 |     </p:table>
 |
 |
I ommit the code for the html page sibnce this page is similar. It constructs
the table out of HTML tags(tr,td,table).
We have no idea where this problem comes from.
Ciao,
Baz

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4054001#4054001

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4054001

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.