1 Reply Latest reply on Feb 11, 2011 6:49 PM by Adrian Mitev

    a4j support for seam excel export

    merih sakarya Newbie

      I am trying to export excel using seam excel exporter. I am using aj4 in rich:dataTable but It seems Seam Excel Export doesn't support a4j. Are there a way to solve this issue?


      Thanks


      <h:form id="excelExport">    
          <rich:dataTable rowKeyVar="rowKey" value="#{policeList.resultList}" var="police" id="policeList" width="450px" height="400px" > 
              <f:facet name="header"> 
                  <h:outputText value="Description of the Data Table" /> 
              </f:facet> 
       
              <rich:column width="100px" sortable="true" filterBy="#{police.policeNo}" filterEvent="onkeyup"> 
                  <f:facet name="header"> 
                      <h:outputText value="Policy No" /> 
                  </f:facet> 
                  <h:outputText value="#{police.policeNo}" id="policeNo" /> 
              </rich:column> 
       
              <rich:column width="200px" sortable="true" filterBy="#{police.policeAdi}" filterEvent="onkeyup"> 
                  <f:facet name="header"> 
                      <h:outputText value="Policy Name" /> 
                  </f:facet> 
                  <h:outputText value="#{police.policeAdi}" id="name" /> 
              </rich:column>
                
                <rich:column width="100px">
                     <f:facet name="header">Time</f:facet>
                     <a4j:outputPanel rendered="#{!pOzelSart.odemeDurumu}">
                          <a4j:outputPanel rendered="#{pOzelSart.beklemeSuresi != null}">
                               <h:outputText value="#{pOzelSart.beklemeSuresi} Ay" />
                          </a4j:outputPanel>
                     </a4j:outputPanel>
                </rich:column>
          </rich:dataTable>
          <h:commandButton id="exporter" type="Submit" value="Export to Excel" action="#{org.jboss.seam.excel.exporter.excelExporter.export('excelExport:policeList')}" />
      </h:form>