From jira-events at lists.jboss.org Wed Sep 8 09:26:49 2010 Content-Type: multipart/mixed; boundary="===============2808349269763338129==" MIME-Version: 1.0 From: Robert Raksi (JIRA) To: seam-issues at lists.jboss.org Subject: [seam-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, 08 Sep 2010 09:26:49 -0400 Message-ID: <379730889.1091.1283952409653.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 16756911.1243019036522.JavaMail.jira@cloud.prod.atl2.jboss.com --===============2808349269763338129== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/browse/JBSEAM-4189?page=3Dcom.atlassian.jira.p= lugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12549637#ac= tion_12549637 ] = Robert Raksi commented on JBSEAM-4189: -------------------------------------- Is that patch available somewhere? = What would be the desired behaviour in case of multiple UIOutputs in a cell= ? Simply concatenate the values in a single excel cell or create separate e= xcel cells for them? Another thing: I use a4j:commandLink in the header cells for sorting which = does not extend UIOutput and so it is ignored during export. I don't know w= hat would be a good solution to fix this. > 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/browse/JBSEAM-4189 > Project: Seam > Issue Type: Feature Request > Components: Excel > Affects Versions: 2.1.1.GA > Reporter: Gary Hu > Assignee: Nicklas Karlsson > Fix For: The future > > > 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/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============2808349269763338129==--