Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-21 Thread Ernesto Reinaldo Barreiro
Hi. You are welcome! I'm not sure about that but they do support SVG images which really have > simplified things. > Or Base64 encoded images so they are port of the HTML. I/m sure they should support all those things... BIRT does and they are not marked leaders... I have played with a

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-21 Thread James Selvakumar
Hi Ernesto, I'm not sure about that but they do support SVG images which really have simplified things. Since there is just a single html file now, I'm just embedding it inside a Panel. But anyhow, this exercise helped me to learn about mounting a folder with the file name as a param and how to

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-21 Thread Ernesto Reinaldo Barreiro
Hi, I'm sure Jasper would support storing images and so on in a database... IMHO that would be a more robust approach. But you know better your use case. On Wed, Jun 21, 2017 at 3:34 AM, James Selvakumar wrote: > Hi Martin/Ernesto, > > Thanks for all the help. I'll try

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Martin/Ernesto, Thanks for all the help. I'll try them out. On Tue, Jun 20, 2017 at 5:44 PM Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > This might also help > > > https://cwiki.apache.org/confluence/display/WICKET/Displaying+content++%28e.g.+PDF%2C+Excel%2C+Word%29+in+an+IFRAME

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Ernesto Reinaldo Barreiro
This might also help https://cwiki.apache.org/confluence/display/WICKET/Displaying+content++%28e.g.+PDF%2C+Excel%2C+Word%29+in+an+IFRAME On Tue, Jun 20, 2017 at 11:32 AM, Martin Grigorov wrote: > On Tue, Jun 20, 2017 at 11:31 AM, James Selvakumar >

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Martin Grigorov
On Tue, Jun 20, 2017 at 11:31 AM, James Selvakumar wrote: > Hi Martin, > > Should I mount just the base dir where all my reports shall be generated > and refer it elsewhere? > Yes, this should work! > > On Tue, Jun 20, 2017 at 5:28 PM James Selvakumar

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Martin, Should I mount just the base dir where all my reports shall be generated and refer it elsewhere? On Tue, Jun 20, 2017 at 5:28 PM James Selvakumar wrote: > Hi Martin, > > But the reports are generated dynamically. Is it possible to mount a > resource from within

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Martin, But the reports are generated dynamically. Is it possible to mount a resource from within a panel? On Tue, Jun 20, 2017 at 5:24 PM James Selvakumar wrote: > Hi Martin, > > Thanks. I'll give that a try. > > On Tue, Jun 20, 2017 at 5:23 PM Martin Grigorov

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Martin, Thanks. I'll give that a try. On Tue, Jun 20, 2017 at 5:23 PM Martin Grigorov wrote: > On Tue, Jun 20, 2017 at 11:18 AM, James Selvakumar > wrote: > > > Hi, > > > > I'm trying something weird like this and it's not working. > > > > HTML: >

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Martin Grigorov
On Tue, Jun 20, 2017 at 11:18 AM, James Selvakumar wrote: > Hi, > > I'm trying something weird like this and it's not working. > > HTML: > > > Java: > WebMarkupContainer container = new WebMarkupContainer("myFrame"); > container.add(new AttributeAppender("src", >

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi, I'm trying something weird like this and it's not working. HTML: Java: WebMarkupContainer container = new WebMarkupContainer("myFrame"); container.add(new AttributeAppender("src", Model.of(reportFile.getPath(; What's the correct way to do this? On Tue, Jun 20, 2017 at 4:40 PM James

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Ernesto, Thanks. I'll give the iframe option a try. On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Then I would > > 1- mount a resource pointing the folder and serving all files on that > folder. E.g mounted on "/reports" > 2- Use an iframe to

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Ernesto Reinaldo Barreiro
Then I would 1- mount a resource pointing the folder and serving all files on that folder. E.g mounted on "/reports" 2- Use an iframe to display "/reports/foo.html". On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar wrote: > Thanks Martin and Ernesto for taking look at

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Ernesto Reinaldo Barreiro
Hi, At least BIRT allowed to pass some factory interface for images so that you could store generated images "somewhere" and TUNE the URL generated for images. So, you could e.g. 1- Store images on a table (datbase) 2- Mount a resource pointing to those images. 3- Produce URLs inside the report

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Martin Grigorov
Hi, What exactly JasperReports produces ? You may need to process the generated by JR HTML and wrap all tags in elements. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar wrote: > Hi all, >