[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4189) Seam excel exporter doesn't show the footer defined in a dataTable and only works for single UIOutput per cell.

Gary Hu (JIRA) jira-events at lists.jboss.org
Fri May 22 15:03:56 EDT 2009

Seam excel exporter doesn't show the footer defined in a dataTable and only 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

We have found two issues in the current Seam 2.1.1.GA Excel exporter support.

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:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"

<ui:composition template="layout/template.xhtml">
<ui:define name="body">
<h:form id="myForm">
<rich:dataTable id="dlist"

<f:facet name="header">
<h:outputText value="String value"/>
<h:outputText value="#{myString}"/>

<f:facet name="header">
<h:outputText value="String value2"/>

<h:outputText value="#{myString}_1"/>
<h:outputText value="#{myString}_2"/>

<f:facet name="footer">

<h:outputText value="my footer3" style="font-weight: bold" >



<h:commandLink value="Export" action="#{excelExporter.export('myForm:dlist')}"/>



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;


public class Sample {

public List<String> getStrList(){

List<String> strList = new ArrayList<String>();
for(int i=0;i<20;i++) {
return strList;

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list