Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-840

<s:excelExport> should capture <t:columns>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.5-SNAPSHOT
    • None
    • Columns
    • None
    • Linux + Tomcat 5.5.x + Java1.5

    Description

      Only the static content of Tables is exported using the <s:excelExport> tag.

      Columns created dynamically with <t:columns>
      are silently skipped.

      To reproduce:

      Use the myfaces-example-simple-1.1.5-SNAPSHOT.war,
      drop tomahawk-sandbox-1.1.5-SNAPSHOT.jar and
      poi-2.5.1-final-20040804.jar into its WEB-INF/lib
      and finally add <%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
      and <s:excelExport for="data">
      <h:commandButton action="" value="Export"/>
      </s:excelExport> to the crossDataTable.jsp

      Only the <h:outputText value="#

      {country.name}

      " />
      makes it into the generated .xls

      Yours,
      Steffen

      Attachments

        Activity

          People

            Unassigned Unassigned
            sneumann Steffen Neumann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: