Skip to main content



      Home
Home » Archived » BIRT » HTML Fragment
HTML Fragment [message #244638] Mon, 25 June 2007 12:45 Go to next message
Eclipse UserFriend
I am trying to integrate BIRT reports into a portal (based on JSR-168
Portlet Spec, JBoss Portal). Thanks to the example in the Wiki
(http://wiki.eclipse.org/Portlet_Example) I got my first integrated very
quickly. The problem: the result report engine generates an HTML page
including header and body tags. However I need only a HTML fragment. Is it
possible to configure the HTML output to be a fragement?

Thanks,

Anette
Re: HTML Fragment [message #244714 is a reply to message #244638] Mon, 25 June 2007 18:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Anette,

Use
options.setEmbeddable(true);

This will strip off the html and body tags.
You should also be able to do this with 2.2 tag lib.

Jason

Anette wrote:
> I am trying to integrate BIRT reports into a portal (based on JSR-168
> Portlet Spec, JBoss Portal). Thanks to the example in the Wiki
> (http://wiki.eclipse.org/Portlet_Example) I got my first integrated very
> quickly. The problem: the result report engine generates an HTML page
> including header and body tags. However I need only a HTML fragment. Is
> it possible to configure the HTML output to be a fragement?
>
> Thanks,
>
> Anette
>
Re: HTML Fragment [message #244735 is a reply to message #244714] Mon, 25 June 2007 19:47 Go to previous messageGo to next message
Eclipse UserFriend
It would be nice to have a URL parameter similar to "embeddable=true".
We would be able to generate an embedded HTML fragment using BIRT URL
and wouldn't have to use the BIRT Report Engine API for this functionality.

Snjeza

Jason Weathersby wrote:
> Anette,
>
> Use
> options.setEmbeddable(true);
>
> This will strip off the html and body tags.
> You should also be able to do this with 2.2 tag lib.
>
> Jason
>
> Anette wrote:
>> I am trying to integrate BIRT reports into a portal (based on JSR-168
>> Portlet Spec, JBoss Portal). Thanks to the example in the Wiki
>> (http://wiki.eclipse.org/Portlet_Example) I got my first integrated
>> very quickly. The problem: the result report engine generates an HTML
>> page including header and body tags. However I need only a HTML
>> fragment. Is it possible to configure the HTML output to be a fragement?
>>
>> Thanks,
>>
>> Anette
>>
Re: HTML Fragment [message #244851 is a reply to message #244735] Tue, 26 June 2007 09:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

You may want to look at using the new BIRT tag library. It will embed
the content using an iFrame. You can also modify the viewer to add this
parameter.

Jason

Snjezana Peco wrote:
> It would be nice to have a URL parameter similar to "embeddable=true".
> We would be able to generate an embedded HTML fragment using BIRT URL
> and wouldn't have to use the BIRT Report Engine API for this functionality.
>
> Snjeza
>
> Jason Weathersby wrote:
>> Anette,
>>
>> Use
>> options.setEmbeddable(true);
>>
>> This will strip off the html and body tags.
>> You should also be able to do this with 2.2 tag lib.
>>
>> Jason
>>
>> Anette wrote:
>>> I am trying to integrate BIRT reports into a portal (based on JSR-168
>>> Portlet Spec, JBoss Portal). Thanks to the example in the Wiki
>>> (http://wiki.eclipse.org/Portlet_Example) I got my first integrated
>>> very quickly. The problem: the result report engine generates an HTML
>>> page including header and body tags. However I need only a HTML
>>> fragment. Is it possible to configure the HTML output to be a fragement?
>>>
>>> Thanks,
>>>
>>> Anette
>>>
Re: HTML Fragment [message #244909 is a reply to message #244735] Tue, 26 June 2007 11:18 Go to previous messageGo to next message
Eclipse UserFriend
Anette,

I like the idea on having the embeddable as a URL parameter. Any chance
you could put it in Bugzilla?

Scott Rosenbaum

> It would be nice to have a URL parameter similar to "embeddable=true".
> We would be able to generate an embedded HTML fragment using BIRT URL
> and wouldn't have to use the BIRT Report Engine API for this
> functionality.
>
> Snjeza
>
> Jason Weathersby wrote:
>
>> Anette,
>>
>> Use
>> options.setEmbeddable(true);
>> This will strip off the html and body tags.
>> You should also be able to do this with 2.2 tag lib.
>> Jason
>>
>> Anette wrote:
>>
>>> I am trying to integrate BIRT reports into a portal (based on
>>> JSR-168 Portlet Spec, JBoss Portal). Thanks to the example in the
>>> Wiki (http://wiki.eclipse.org/Portlet_Example) I got my first
>>> integrated very quickly. The problem: the result report engine
>>> generates an HTML page including header and body tags. However I
>>> need only a HTML fragment. Is it possible to configure the HTML
>>> output to be a fragement?
>>>
>>> Thanks,
>>>
>>> Anette
>>>
Re: HTML Fragment [message #244935 is a reply to message #244851] Tue, 26 June 2007 12:11 Go to previous message
Eclipse UserFriend
I am using BIRT 2.1.2 and have modified the viewer in order to get an
embedded HTML.
I would like to have this functionality without any additional
modifications.
The following is yet another parameter that would also be useful:
output_file=C:\reports\rep.out
If this parameter would be present, BIRT would create output to the
C:\reports\rep.out file instead of rendering output to a browser.
This is especially suitable for non-html formats (pdf, xls...).
I have seen a lot of threads related to this functionality.

Adding these parameters is very simple because BIRT already has the
required API.

Snjeza

Jason Weathersby wrote:
> You may want to look at using the new BIRT tag library. It will embed
> the content using an iFrame. You can also modify the viewer to add this
> parameter.
>
> Jason
>
> Snjezana Peco wrote:
>> It would be nice to have a URL parameter similar to "embeddable=true".
>> We would be able to generate an embedded HTML fragment using BIRT URL
>> and wouldn't have to use the BIRT Report Engine API for this
>> functionality.
>>
>> Snjeza
>>
>> Jason Weathersby wrote:
>>> Anette,
>>>
>>> Use
>>> options.setEmbeddable(true);
>>>
>>> This will strip off the html and body tags.
>>> You should also be able to do this with 2.2 tag lib.
>>>
>>> Jason
>>>
>>> Anette wrote:
>>>> I am trying to integrate BIRT reports into a portal (based on
>>>> JSR-168 Portlet Spec, JBoss Portal). Thanks to the example in the
>>>> Wiki (http://wiki.eclipse.org/Portlet_Example) I got my first
>>>> integrated very quickly. The problem: the result report engine
>>>> generates an HTML page including header and body tags. However I
>>>> need only a HTML fragment. Is it possible to configure the HTML
>>>> output to be a fragement?
>>>>
>>>> Thanks,
>>>>
>>>> Anette
>>>>
Previous Topic:Legend Interactivity Issue
Next Topic:birt viewer
Goto Forum:
  


Current Time: Mon Jun 23 01:45:34 EDT 2025

Powered by FUDForum. Page generated in 0.04833 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top