2 Replies Latest reply on Dec 18, 2007 12:15 AM by Gerardo Segura

    how to invoke action, then display resource

    Gerardo Segura Newbie

      Hi, I want to show a page with an excel file after clicking some button.
      But don't know how to redirect to show the file, I tried using pages.xml as any other page but didn't worked:


      <s:link view="/reports/status_report.xls" value="Export" target="_blank" />
      


      <!-- This don't work, what would be the correct way to acomplish this?-->
      
      <page view-id="/reports/status_report.xls" action="#{reporter.doStatusReport}"/>