You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "J Alex (JIRA)" <ji...@apache.org> on 2007/12/10 19:09:34 UTC
[jira] Created: (WW-2365) JasperReports plugin - exporter
parameters via configuration
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.
[jira] Updated: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Abbas Adel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abbas Adel updated WW-2365:
---------------------------
Attachment: patch.patch
Attached a patch file to fix this issue
Best Regards,
Abbas Adel
> 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.
[jira] Commented: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43734#action_43734 ]
Dave Newton commented on WW-2365:
---------------------------------
Nothing has been checked in; I've had a bug/virus (put me in the hospital last Friday for the night) and haven't done anything. hopefully I'll commit the changes today or tomorrow.
> 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.
[jira] Updated: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Newton updated WW-2365:
----------------------------
Fix Version/s: (was: Future)
2.1.2
> 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.
[jira] Work stopped: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on WW-2365 stopped by Dave Newton.
> 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.
[jira] Commented: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Work started: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on WW-2365 started by Dave Newton.
> 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.
[jira] Commented: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Manoel Pimentel Medeiros (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43746#action_43746 ]
Manoel Pimentel Medeiros commented on WW-2365:
----------------------------------------------
Wow !
This news is very cool !
I'll try this feature.
Tks,
Manoel Pimentel
--
__________________________________
Manoel Pimentel Medeiros, CSP
Dir. Editorial - Revista Visão Ágil
Agile Alliance Member
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
> Assignee: Dave Newton
> Priority: Minor
> 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.
[jira] Commented: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Manoel Pimentel Medeiros (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42845 ]
Manoel Pimentel Medeiros commented on WW-2365:
----------------------------------------------
I again....
Just a information,
A other need for this issue, sometime, we must set the few parameters like "JRXlsExporterParameter.IS_DETECT_CELL_TYPE" for solved few problems of numeric values into a spreadsheet .
Regards,
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.
[jira] Issue Comment Edited: (WW-2365) JasperReports plugin -
exporter parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Issue Comment Edited: (WW-2365) JasperReports plugin -
exporter parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42958#action_42958 ]
newton_dave edited comment on WW-2365 at 1/9/08 6:37 AM:
---------------------------------------------------------
Are the export parameters separate from report parameters?
I'll be patching the JasperReports result type (in the Jasper plugin) to provide a report parameter map as per a previous discussion on struts-user. I can include export parameters as well if they're different.
*Edit* They're different. Will support this as well.
was (Author: newton_dave):
Are the export parameters separate from report parameters?
I'll be patching the JasperReports result type (in the Jasper plugin) to provide a report parameter map as per a previous discussion on struts-user. I can include export parameters as well if they're different.
> 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
>
>
> 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.
[jira] Closed: (WW-2365) JasperReports plugin - exporter parameters
via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Newton closed WW-2365.
---------------------------
Resolution: Fixed
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.
[jira] Commented: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Manoel Pimentel Medeiros (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42958#action_42958 ]
Dave Newton commented on WW-2365:
---------------------------------
Are the export parameters separate from report parameters?
I'll be patching the JasperReports result type (in the Jasper plugin) to provide a report parameter map as per a previous discussion on struts-user. I can include export parameters as well if they're different.
> 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
>
>
> 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.
[jira] Assigned: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Newton reassigned WW-2365:
-------------------------------
Assignee: Dave Newton
> 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
>
>
> 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.
[jira] Updated: (WW-2365) JasperReports plugin - exporter
parameters via configuration
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Newton updated WW-2365:
----------------------------
Priority: Minor (was: Major)
> 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
> Priority: Minor
> 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.