Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
> --- 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, >>

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 2

Re: JasperReports Plugin datasource

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

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 comm

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
and finish some of my earlier work 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.

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 t

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
n > a fillReport call then you'd have to look more on the JR side of things. > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > &

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
want with > JR. > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this messa

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-20 Thread Milan Milanovic
n property as the > data source. 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]> >&g

Re: JasperReports Plugin datasource

2008-11-20 Thread Dave Newton
Milanovic <[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 > doExecut

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
ndow ? > > I suppose, maybe via JavaScript or something. > > Dave > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
perReportsResult class or something. newton.dave wrote: > >> One more thing, is it possible to show report in new window >> and that my application redirect to some web page in main window ? > > I suppose, maybe via JavaScript or something. > > O.K. I'll check t

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 Co

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
ath? >> >> Dave >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- Vie

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
e the original S2.0 JR plugin on your classpath? > > 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

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
ibe, e-mail: [EMAIL PROTECTED] > For additional commands, e-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. -

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
s.apache.org/2.x/docs/result-types.html > [3] http://struts.apache.org/2.x/docs/result-configuration.html > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View

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
ook in the S2.1 source where the patch has been applied. > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this m

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 (a

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 Milan Milanovic
ow can I define this ? > > > -- > Thx, Miki > -- 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. --

Re: JasperReports Plugin datasource

2008-11-19 Thread Milan Milanovic
sier and quicker for you to take the existing > JR result class and throw in the changes yourself. > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

Re: JasperReports Plugin datasource

2008-11-18 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-tp20564743p20569375.html Sent from the Struts

Re: JasperReports Plugin datasource

2008-11-18 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-tp20564743p20569314.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: JasperReports Plugin datasource

2008-11-18 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-tp20564743p20569135.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: JasperReports Plugin datasource

2008-11-18 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-tp20564743p20569134.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: JasperReports Plugin datasource

2008-11-18 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-tp20564743p20569131.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: JasperReports Plugin datasource

2008-11-18 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-tp20564743p20566266.html Sent fr

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 > class="org.springframework.jdbc.datasource.DriverManagerDataSource"...> > spring bean) as a p

JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
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 mailing list archive at Nabbl