Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to show BIRT Report viewer in Ruby Applcation(How to show BIRT Report viewer in Ruby Applcation)
How to show BIRT Report viewer in Ruby Applcation [message #664866] Tue, 12 April 2011 06:50 Go to next message
shine_1611 is currently offline shine_1611
Messages: 20
Registered: April 2011
Location: Mumbai
Junior Member
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 10:01 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

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 03:29 Go to previous messageGo to next message
shine_1611 is currently offline shine_1611
Messages: 20
Registered: April 2011
Location: Mumbai
Junior Member
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 10:50 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

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 08:30 Go to previous messageGo to next message
shine_1611 is currently offline shine_1611
Messages: 20
Registered: April 2011
Location: Mumbai
Junior Member
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 11:22 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

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
Previous Topic:Custom aggregate function in crosstab
Next Topic:how to use rptlibrary in resource folder
Goto Forum:
  


Current Time: Mon Sep 01 03:37:10 EDT 2014

Powered by FUDForum. Page generated in 0.12490 seconds