You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Dave Newton (JIRA)" <ji...@apache.org> on 2008/04/25 18:21:05 UTC

[jira] Issue Comment Edited: (WW-2365) JasperReports plugin - exporter parameters via configuration

    [ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43745#action_43745 ] 

newton_dave edited comment on WW-2365 at 4/25/08 9:20 AM:
----------------------------------------------------------

Support for both report and export parameters has been added.

      was (Author: newton_dave):
    Support for both report and export parameters has been added.

The documentation will need to be updated; working on that this afternoon. The functionality, however, is there.
  
> 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
>            Assignee: Dave Newton
>             Fix For: 2.1.2
>
>         Attachments: patch.patch
>
>
> 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.