Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20622753.html Sent from the Struts - User mailing list archive at Nabble.com

Re: JasperReports Plugin datasource

2008-11-21 Thread Dave Newton
--- On Fri, 11/21/08, Milan Milanovic [EMAIL PROTECTED] wrote: I managed to call fillReport with open Connection object, but I just get an empty report page?! If I try to pass Connection object as dataSource in JR result, then I get that exception that Connection is null and I see report

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20623288.html Sent from the Struts - User mailing

Re: JasperReports Plugin datasource

2008-11-21 Thread Dave Newton
--- On Fri, 11/21/08, Milan Milanovic wrote: I found what is the problem. Query that JR report run returned no rows, so it show it like empty. [OT] There's a JR parameter for that, btw, so if it's a report with no data elements it'll still print out something. I added connection param to the

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
on it. O.K. Where can I do this ? -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20624536.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe

Re: JasperReports Plugin datasource

2008-11-21 Thread Dave Newton
--- On Fri, 11/21/08, Milan Milanovic wrote: O.K. Where can I do this ? On the S2 JIRA at: https://issues.apache.org/struts/secure/Dashboard.jspa (I think) Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20625106.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JasperReports Plugin datasource

2008-11-21 Thread Dave Newton
A patch file would be better, but I can do it this way too. --- On Fri, 11/21/08, Milan Milanovic [EMAIL PROTECTED] wrote: From: Milan Milanovic [EMAIL PROTECTED] Subject: Re: JasperReports Plugin datasource To: user@struts.apache.org Date: Friday, November 21, 2008, 11:49 AM Dave, I

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
/08, Milan Milanovic [EMAIL PROTECTED] wrote: From: Milan Milanovic [EMAIL PROTECTED] Subject: Re: JasperReports Plugin datasource To: user@struts.apache.org Date: Friday, November 21, 2008, 11:49 AM Dave, I put the fix: https://issues.apache.org/struts/browse/WW-2884 https

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
-- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20602489.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: JasperReports Plugin datasource

2008-11-20 Thread Dave Newton
--- On Thu, 11/20/08, Milan Milanovic wrote: Does ANYONE know how to pass parameters to report in Struts 2 when JasperReportsResult is used ?! I will send you a sanitized version of my custom JR result, or you can just look in the S2.1 source where the patch has been applied. Dave

Re: JasperReports Plugin datasource

2008-11-20 Thread Dave Newton
Actually, just use the S2.1 jasper result, IIRC I didn't do anything in particular for the S2.1 version, and (believe it or not) it's cleaner than the version I would have emailed you--our in-house version is structurally quite different, the S2.1 version doesn't have the same extreme changes

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
has been applied. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource

Re: JasperReports Plugin datasource

2008-11-20 Thread Dave Newton
--- On Thu, 11/20/08, Milan Milanovic wrote: O.K. Thank you. Please, send me that class or a link to S2.1 source where can I find it. Use [1] and cut-and-paste, or follow the standard checkout process and copy it into your project. Just one more thing, how can I include this class in my

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20604014.html Sent from the Struts - User mailing list archive at Nabble.com

Re: JasperReports Plugin datasource

2008-11-20 Thread Dave Newton
--- On Thu, 11/20/08, Milan Milanovic wrote: Great Dave! Thanks very much. This is very helpful for anyone who deals with business applications that includes S2 and JR. Keep me posted and let me know if there are other JR needs. Dave

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20604349.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: JasperReports Plugin datasource

2008-11-20 Thread Dave Newton
--- On Thu, 11/20/08, Milan Milanovic wrote: when I copied this class to my project, it say that I don't have these two classes: ValueStackDataSource and ValueStackShadowMap. Should I copy them too ? Hmm, maybe so--the work I did on this was awhile ago so I don't really recall. Do you have

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20604678.html Sent from the Struts - User mailing list archive at Nabble.com

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20606415.html Sent from the Struts - User mailing list archive at Nabble.com

Re: JasperReports Plugin datasource

2008-11-20 Thread Dave Newton
--- On Thu, 11/20/08, Milan Milanovic wrote: WARN net.sf.jasperreports.engine.query.JRJdbcQueryExecuter:89 - The supplied java.sql.Connection object is null. I check, my Connection object which is attribute of my action class is not null in action method which show report. Why my

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
in main window ? I suppose, maybe via JavaScript or something. O.K. I'll check this. -- Milan -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20607037.html Sent from the Struts - User mailing list archive at Nabble.com

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20607262.html Sent from the Struts - User mailing list archive at Nabble.com

Re: JasperReports Plugin datasource

2008-11-20 Thread Dave Newton
[EMAIL PROTECTED] wrote: From: Milan Milanovic [EMAIL PROTECTED] Subject: Re: JasperReports Plugin datasource To: user@struts.apache.org Date: Thursday, November 20, 2008, 1:25 PM I found what is the problem. In JasperReportsResult doExecute() method you call report in this way: jasperPrint

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
. If you're not going to do that then the JR result may not be of much benefit to you. Dave --- On Thu, 11/20/08, Milan Milanovic [EMAIL PROTECTED] wrote: From: Milan Milanovic [EMAIL PROTECTED] Subject: Re: JasperReports Plugin datasource To: user@struts.apache.org Date: Thursday

Re: JasperReports Plugin datasource

2008-11-20 Thread Dave Newton
--- On Thu, 11/20/08, Milan Milanovic wrote: Yes, I understand. But who needs that?! Lots of people. Many JR reports are simply well-formatted tabular data which is trivially represented by a list, potentially of composite objects. In fact that's all I've ever used it for over a half-decade.

Re: JasperReports Plugin datasource

2008-11-19 Thread Milan Milanovic
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20587912.html Sent from the Struts - User mailing list archive

JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
my report doesn't need any input list (it get data directly from database), I just need to pass some params to it. How can I define this ? -- Thx, Miki -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20564743.html Sent from the Struts - User

Re: JasperReports Plugin datasource

2008-11-18 Thread Dave Newton
--- On Tue, 11/18/08, Milan Milanovic wrote: I want to use JasperReports from my Struts 2 app. But I have a problem with datasource param. I want to pass Connection object (created or if possible bean id=dataSource class=org.springframework.jdbc.datasource.DriverManagerDataSource... spring

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
PROTECTED] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20566266.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20569131.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20569134.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20569135.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
] -- View this message in context: http://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20569375.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
://www.nabble.com/JasperReports-Plugin-datasource-tp20564743p20569314.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]