Skip to main content



      Home
Home » Archived » BIRT » BirtViewer Ajax navigation reuse
BirtViewer Ajax navigation reuse [message #169873] Tue, 13 June 2006 16:25 Go to next message
Eclipse UserFriend
Originally posted by: dan.smith.yahoo.com

I'm using version 2.0.1 of Birt and attempting to integrate it into a web
application using the engine api.

I have successfully created a servlet that can render BIRT reports. The one
thing I have to add is to add something like the BirtViewer has were you can
cycle through pages and export the data to different formats. Is there
anyway to easily integrate get the "default" ajax navigation "frameset" that
comes in the birtviewer?

Thanks for your time,
Dan Smith
Re: BirtViewer Ajax navigation reuse [message #169935 is a reply to message #169873] Tue, 13 June 2006 19:14 Go to previous messageGo to next message
Eclipse UserFriend
The ajax controls are implemented in js files in the ajax directory, but
most of the code is in viewer servlet.
I would probably start with it. Is there any reason not to just use the
Viewer?

Jason

"Dan Smith" <dan.smith@yahoo.com> wrote in message
news:e6n70h$i6f$1@utils.eclipse.org...
> I'm using version 2.0.1 of Birt and attempting to integrate it into a web
> application using the engine api.
>
> I have successfully created a servlet that can render BIRT reports. The
> one thing I have to add is to add something like the BirtViewer has were
> you can cycle through pages and export the data to different formats. Is
> there anyway to easily integrate get the "default" ajax navigation
> "frameset" that comes in the birtviewer?
>
> Thanks for your time,
> Dan Smith
>
Re: BirtViewer Ajax navigation reuse [message #170252 is a reply to message #169935] Wed, 14 June 2006 11:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: raison.fermat.eu

My purpose is the same as Dan,
I've got context parameters to set to the viewer (db informations also)
and I wanted them not to appears in the URL.
Maybe we want to add other fonctionality (saving parameters).
To reuse the viewer, I think I need to generate a subjdbc driver to pass
context informations

Jason Weathersby a écrit :
> The ajax controls are implemented in js files in the ajax directory, but
> most of the code is in viewer servlet.
> I would probably start with it. Is there any reason not to just use the
> Viewer?
>
> Jason
>
> "Dan Smith" <dan.smith@yahoo.com> wrote in message
> news:e6n70h$i6f$1@utils.eclipse.org...
>> I'm using version 2.0.1 of Birt and attempting to integrate it into a web
>> application using the engine api.
>>
>> I have successfully created a servlet that can render BIRT reports. The
>> one thing I have to add is to add something like the BirtViewer has were
>> you can cycle through pages and export the data to different formats. Is
>> there anyway to easily integrate get the "default" ajax navigation
>> "frameset" that comes in the birtviewer?
>>
>> Thanks for your time,
>> Dan Smith
>>
>
>
Re: BirtViewer Ajax navigation reuse [message #170260 is a reply to message #170252] Wed, 14 June 2006 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Actually, to use the webapp without any modification, I update the
webapp with a new servlet that I call with attributes in the header.
I then, do forward to the ViewerServlet, but javascript elements that
asked the user to fill parameters sometimes generates error ...



exquisitus a écrit :
> My purpose is the same as Dan,
> I've got context parameters to set to the viewer (db informations also)
> and I wanted them not to appears in the URL.
> Maybe we want to add other fonctionality (saving parameters).
> To reuse the viewer, I think I need to generate a subjdbc driver to pass
> context informations
>
> Jason Weathersby a écrit :
>> The ajax controls are implemented in js files in the ajax directory,
>> but most of the code is in viewer servlet.
>> I would probably start with it. Is there any reason not to just use
>> the Viewer?
>>
>> Jason
>>
>> "Dan Smith" <dan.smith@yahoo.com> wrote in message
>> news:e6n70h$i6f$1@utils.eclipse.org...
>>> I'm using version 2.0.1 of Birt and attempting to integrate it into a
>>> web application using the engine api.
>>>
>>> I have successfully created a servlet that can render BIRT reports.
>>> The one thing I have to add is to add something like the BirtViewer
>>> has were you can cycle through pages and export the data to different
>>> formats. Is there anyway to easily integrate get the "default" ajax
>>> navigation "frameset" that comes in the birtviewer?
>>>
>>> Thanks for your time,
>>> Dan Smith
>>>
>>
>>
Re: BirtViewer Ajax navigation reuse [message #170414 is a reply to message #170260] Wed, 14 June 2006 20:19 Go to previous messageGo to next message
Eclipse UserFriend
Another option is to pass specific information in session. In Javascript
BIRT Reports can read this information from session.

Jason
"exquisitus" <thibaudr@gmail.com> wrote in message
news:e6pb9b$9ih$1@utils.eclipse.org...
> Actually, to use the webapp without any modification, I update the webapp
> with a new servlet that I call with attributes in the header.
> I then, do forward to the ViewerServlet, but javascript elements that
> asked the user to fill parameters sometimes generates error ...
>
>
>
> exquisitus a
Re: BirtViewer Ajax navigation reuse [message #170780 is a reply to message #170414] Thu, 15 June 2006 15:58 Go to previous message
Eclipse UserFriend
OK, I've seen the example with Session Objects and it might be the good
solution. I also have to generate a subjdbc driver (...) to execute an
appContext method (use of these parameters).
But thanks to you, I know how I can set and use them !!!

Thanks for your help.

Jason Weathersby wrote:
> Another option is to pass specific information in session. In Javascript
> BIRT Reports can read this information from session.
>
> Jason
> "exquisitus" <thibaudr@gmail.com> wrote in message
> news:e6pb9b$9ih$1@utils.eclipse.org...
>> Actually, to use the webapp without any modification, I update the webapp
>> with a new servlet that I call with attributes in the header.
>> I then, do forward to the ViewerServlet, but javascript elements that
>> asked the user to fill parameters sometimes generates error ...
>>
>>
>>
>> exquisitus a écrit :
>>> My purpose is the same as Dan,
>>> I've got context parameters to set to the viewer (db informations also)
>>> and I wanted them not to appears in the URL.
>>> Maybe we want to add other fonctionality (saving parameters).
>>> To reuse the viewer, I think I need to generate a subjdbc driver to pass
>>> context informations
>>>
>>> Jason Weathersby a écrit :
>>>> The ajax controls are implemented in js files in the ajax directory, but
>>>> most of the code is in viewer servlet.
>>>> I would probably start with it. Is there any reason not to just use the
>>>> Viewer?
>>>>
>>>> Jason
>>>>
>>>> "Dan Smith" <dan.smith@yahoo.com> wrote in message
>>>> news:e6n70h$i6f$1@utils.eclipse.org...
>>>>> I'm using version 2.0.1 of Birt and attempting to integrate it into a
>>>>> web application using the engine api.
>>>>>
>>>>> I have successfully created a servlet that can render BIRT reports.
>>>>> The one thing I have to add is to add something like the BirtViewer has
>>>>> were you can cycle through pages and export the data to different
>>>>> formats. Is there anyway to easily integrate get the "default" ajax
>>>>> navigation "frameset" that comes in the birtviewer?
>>>>>
>>>>> Thanks for your time,
>>>>> Dan Smith
>>>>>
>>>>
>
>
Previous Topic:scripted data source and charts
Next Topic:Installing BIRT on Sybase's EAServer
Goto Forum:
  


Current Time: Sun Jul 13 13:55:43 EDT 2025

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

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

Back to the top