JasperReports plugin - exporter parameters via configuration
------------------------------------------------------------

                 Key: WW-2365
                 URL: https://issues.apache.org/struts/browse/WW-2365
             Project: Struts 2
          Issue Type: Improvement
          Components: Plugin - JasperReports
         Environment: n/a
            Reporter: J Alex


Currently, there's no way to pass the exporter parameters to JasperReports 
plugin from outside. It'll be good if we can specify a map containing these 
parameters in struts.xml, and the plugin will use setParameters(java.util.Map 
parameters) to set these before generating the report

           <action name="newapp"  class="GetMessagesAction">
                                 <result name="success" type="jasper">
                                   <param 
name="location">www/FirstReportTry.jasper</param>
                                   <param name="format">HTML</param>
                                  <param name="parse">false</param>
                                  <param name="dataSource">dsMap</param>
                                  <param 
name="exportParams">exporterParamterMap</param>
                                 </result>     

            </action>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to