11 Replies Latest reply on Sep 16, 2011 11:36 AM by Bruce Randall

    A4J w/ Excel Output from a CommandLink

    Garett Harnish Newbie

      So I have a complex custom data table that I needed to export and I was able to do it successfully using the method described here:
      http://wiki.apache.org/myfaces/Exporting_DataTable_To_MS-Excel

      Before, I was exporting it from a servlet, but that wasn't exactly what I wanted. The problem is if I use an A4J command link or attempt to change an A4J drop down to generate another table after clicking on the command link , I end up with the raw Excel file spit out. This is likely because the excel export leaves things ... in a messed up state.

      Is there a proper way to get these to work together. Any ideas? I've been bashing my head against this for hours and I can't think of another way to do it.