struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Newton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-2365) JasperReports plugin - exporter parameters via configuration
Date Mon, 14 Apr 2008 19:45:05 GMT

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

Dave Newton commented on WW-2365:
---------------------------------

Thanks; for various reasons I'll be supporting OGNL expressions in both parameter map configuration
elements so I won't be using your patch directly.

The functionality should be committed before the end of the week, though, probably Wednesday
April 16th for those keeping track.

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


Mime
View raw message