From jira-events at lists.jboss.org Wed May 27 15:56:30 2009 Content-Type: multipart/mixed; boundary="===============7411446045239974575==" MIME-Version: 1.0 From: Gary Hu (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4189) Seam excel exporter doesn't show the footer defined in a dataTable and only works for single UIOutput per cell. Date: Wed, 27 May 2009 15:48:56 -0400 Message-ID: <15267773.1243453736499.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 16756911.1243019036522.JavaMail.jira@cloud.prod.atl2.jboss.com --===============7411446045239974575== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBSEAM-4189?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D124694= 04#action_12469404 ] = Gary Hu commented on JBSEAM-4189: --------------------------------- The column level header is exported from the dataTable to the excel spreads= heet. = However, the table level head and footer as well as the column level footer= don't show up in the excel spreadsheet. The following is the code modified slightly to reproduce the issue: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib" > xmlns:a4j=3D"http://richfaces.org/a4j" > xmlns:rich=3D"http://richfaces.org/rich"> > > > > > value=3D"#{stringList}" > var=3D"myString" > width=3D"100px" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > action=3D"#{excelExporter.export('myForm:dlist')}"/> > > > > > > > > Seam excel exporter doesn't show the footer defined in a dataTable and on= ly works for single UIOutput per cell. > -------------------------------------------------------------------------= -------------------------------------- > > Key: JBSEAM-4189 > URL: https://jira.jboss.org/jira/browse/JBSEAM-4189 > Project: Seam > Issue Type: Feature Request > Affects Versions: 2.1.1.GA > Reporter: Gary Hu > Fix For: 2.2.0.CR1 > > > We have found two issues in the current Seam 2.1.1.GA Excel exporter supp= ort. > 1) It only works for a single UIOutput per cell. That means for each cell= you can only define one UIOutput per column in the dataTable. > 2) The footer doesn't show in the excel spreadsheet. > The following code could be used to reproduce the issue: > xhtml: > > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib" > xmlns:a4j=3D"http://richfaces.org/a4j" > xmlns:rich=3D"http://richfaces.org/rich"> > > > > value=3D"#{stringList}" > var=3D"myString"> > > > > > > > > > > > > > > > > > > > > > > > > java code: > import java.util.ArrayList; > import java.util.List; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.Factory; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Scope; > @Name("sample") > @Scope(ScopeType.SESSION) > public class Sample { > @Factory("stringList") > public List getStrList(){ > List strList =3D new ArrayList(); > for(int i=3D0;i<20;i++) { > strList.add("StringItem"+i); > } > return strList; > } > } = -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============7411446045239974575==--