Skip to main content



      Home
Home » Archived » BIRT » Problems with Custom ODA Data Set Page
Problems with Custom ODA Data Set Page [message #362663] Tue, 20 May 2008 19:37 Go to next message
Eclipse UserFriend
In response to the how-to question posted to the birt-dev mailing list:

Jonas,

>> My problem is, that the "ok"-button and the "cancel"-button do nothing
>> anymore

It could be that your custom page implementation of
DataSetWizardPage#canLeave() is returning false? The "Cancel" button on the
the Data Set Editor dialog should still work though. Try also to check your
workspace/.metadata/.log file for any unexpected exceptions that might have
occurred.

Linda
-----Original Message-----

From: birt-dev-bounces@eclipse.org [mailto:birt-dev-bounces@eclipse.org] On
Behalf Of JB4You

Sent: Tuesday, May 20, 2008 7:28 AM

To: birt-dev@eclipse.org

Subject: [birt-dev] Problems with Report Designer



Hallo,

i designed my own ODA Driver for an new data source within BIRT. Therefor i
also had to change some things in the Report Designer. All was okay so far,
because i had an example, which was very similar to my project. Now i am
stuck somewhere between designing a report and defining the data set. When i
want to define a new data set, i can not end the action. All is working
fine, i choose the data source, send the query, choose the data and organize
it in columns, which i want to work with later. Than, i click on "finish",
and birt gives the overview-page, where i can see all pages again, i edited
for this data set. The first thing, i see is, that he doesn't update the
title on the PropertyPage i added. As i said, i had an example, which was
very similar to my project, i just had to add a new page for selecting the
Data Source explicitly. At the overview, which comes, when you defined your
data set and clicked on finish in the wizard, the title of this page seams
not to appear. But this is not the problem, i think i just have to search
long enough to solve this. My problem is, that the "ok"-button and the
"cancel"-button do nothing anymore, so i am not able to go on or back again.

Can anyone tell me, where i have to look. I must have missing something when
i was editing the example for my means. But what?

Would be nice, if someone wants to discuss this here.

Thanxs in advance,

Jonas Bassl
Re: Problems with Custom ODA Data Set Page [message #362674 is a reply to message #362663] Wed, 21 May 2008 03:32 Go to previous message
Eclipse UserFriend
Originally posted by: Jonas.bassl.googlemail.com

Thank you Linda,

the DataSetWizardPage#canLeave()-function was returning true all the time.
But after playing with my performCancel()- and performOk()-functions, it
works now. I can click the OK-button and the Cancel-button which both do
the same, just close the last overview-window. I hope this behaviour is
normal. But there is still the strange case, that on MY custom page, the
"Finish"-is active. While i was finding out, which function could control
this, i implemented a function canFinish() which returns false, but this
doesn't change anything. Can anyone give me a hint?

Regards,
Jonas
Previous Topic:Cross Tabs with empty columns/rows ? (please!)
Next Topic:How to specify generated report size
Goto Forum:
  


Current Time: Tue Sep 16 18:38:30 EDT 2025

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

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

Back to the top