From jira-events at lists.jboss.org Thu May 28 15:53:43 2009 Content-Type: multipart/mixed; boundary="===============4114674809134804011==" MIME-Version: 1.0 From: Roger Hsu (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: Thu, 28 May 2009 15:45:56 -0400 Message-ID: <13807267.1243539956385.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 16756911.1243019036522.JavaMail.jira@cloud.prod.atl2.jboss.com --===============4114674809134804011== 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=3D124695= 47#action_12469547 ] = Roger Hsu commented on JBSEAM-4189: ----------------------------------- In my test, excel exporting only export header of each column to spreadshee= t. The footer of a column, header and footer of the datatable are not expor= ted Thanks > 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 --===============4114674809134804011==--