You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Manoel Pimentel Medeiros (JIRA)" <ji...@apache.org> on 2007/12/20 13:39:34 UTC

[jira] Commented: (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#action_42843 ] 

Manoel Pimentel Medeiros commented on WW-2365:
----------------------------------------------

Hi Fellow,

I think that this feature will be very nice, because, it is a realy need in most projects.

Tks,

Manoel Pimentel
www.visaoagil.com

> 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.