How to show BIRT Report viewer in Ruby Applcation [message #664866] |
Tue, 12 April 2011 10:50 |
|
Hello All,
I need a help. I am not sure it is possible or not but logical there should be a way.
I have seen the BIRT Report/Web viewer which is part of the eclipse when we run the report using that in eclipse, it shows a toolbar for XLS, PDF and print etc.
BIRT engine gives a code sample for embedding this feature using JSP and Tomcat server.
I am using ruby and the web server will be WEBrick and for that i wanted to know, is there a way I could get that toolbar embedded in my ruby application.
Please reply asap, I really looking for the right direction on this.
Thank you so much in advance
Shivani
|
|
|
Re: How to show BIRT Report viewer in Ruby Applcation [message #665394 is a reply to message #664866] |
Thu, 14 April 2011 14:01 |
|
Shivani,
I do not know Ruby, but you could always do something like an iframe
that calls the BIRT viewer or use a Ruby/Java bridge to build the toc
yourself.
Jason
On 4/12/2011 6:50 AM, shine_1611@yahoo.com wrote:
> Hello All,
>
> I need a help. I am not sure it is possible or not but logical there
> should be a way.
> I have seen the BIRT Report/Web viewer which is part of the eclipse when
> we run the report using that in eclipse, it shows a toolbar for XLS, PDF
> and print etc. BIRT engine gives a code sample for embedding this
> feature using JSP and Tomcat server.
> I am using ruby and the web server will be WEBrick and for that i wanted
> to know, is there a way I could get that toolbar embedded in my ruby
> application.
>
> Please reply asap, I really looking for the right direction on this.
>
> Thank you so much in advance
> Shivani
|
|
|
Re: How to show BIRT Report viewer in Ruby Applcation [message #669685 is a reply to message #665394] |
Wed, 11 May 2011 07:29 |
|
Hi Jason,
Can you tell me how to call BIRT viewer? because right now what I do I copy the rptdesign file to the project folder and then through code I just show that report design in html page directly and I am not sure how I could call a Birt viewer? If you could help me understanding that it will be helpful.
thanks
shivani
|
|
|
Re: How to show BIRT Report viewer in Ruby Applcation [message #669801 is a reply to message #669685] |
Wed, 11 May 2011 14:50 |
|
Can you not just deploy the birt viewer and then in ruby forward the
request to the viewer?
Jason
On 5/11/2011 3:29 AM, forums-noreply@eclipse.org wrote:
> Hi Jason,
>
> Can you tell me how to call BIRT viewer? because right now
> what I do I copy the rptdesign file to the project folder
> and then through code I just show that report design in
> html page directly and I am not sure how I could call a
> Birt viewer? If you could help me understanding that it
> will be helpful.
>
>
> thanks
> shivani
|
|
|
Re: How to show BIRT Report viewer in Ruby Applcation [message #670970 is a reply to message #669801] |
Mon, 16 May 2011 12:30 |
|
hmm not sure how to do that. i saw the BIRT viewer jar files, you mean i should try to deploy that entire folder of Birt viewer and then request report?
Can you give me some details how you will do it on Java webserver Tomcat etc? if that will be clear to me I think then i will be able to try out some options on RUBY side.
Thanks
shivani
|
|
|
Re: How to show BIRT Report viewer in Ruby Applcation [message #671031 is a reply to message #670970] |
Mon, 16 May 2011 15:22 |
|
The BIRT viewer is a Java 2 EE app and has to be deployed to an
application server like tomcat. It uses AJAX and the BIRT report engine
API to run and render reports. It uses AJAX to do page navigation. I
am pretty certain Ruby supports calling java classes which would allow
you to call the birt report engine API to run the reports but you would
need to implement the page navigation, toolbars etc in Ruby or deploy
the viewer to say tomcat and then forward request from Ruby to tomcat.
Jason
On 5/16/2011 8:30 AM, forums-noreply@eclipse.org wrote:
> hmm not sure how to do that. i saw the BIRT viewer jar
> files, you mean i should try to deploy that entire folder
> of Birt viewer and then request report?
> Can you give me some details how you will do it on Java
> webserver Tomcat etc? if that will be clear to me I think
> then i will be able to try out some options on RUBY side.
>
> Thanks shivani
|
|
|
Powered by
FUDForum. Page generated in 0.02727 seconds