Skip to main content



      Home
Home » Archived » BIRT » How to override the function for the "Finish" button on a Data Source Wizard Page?(I want to override the code behind the "Finish" button on a custom data source wizard page. This is needed for authenticating to a server.)
How to override the function for the "Finish" button on a Data Source Wizard Page? [message #891991] Tue, 26 June 2012 14:59 Go to next message
Eclipse UserFriend
I have been trying to override the code behind the "Finish" button on a custom data source wizard like XMLSelectionWizardPage in eclipse in other to authenticate to a server before continuing. This is necessary to be able to pull xml data.
Re: How to override the function for the "Finish" button on a Data Source Wizard P [message #892046 is a reply to message #891991] Tue, 26 June 2012 20:34 Go to previous messageGo to next message
Eclipse UserFriend
Michael,

Do they need to only authenticate at design time? If you put this on
the finish button how will it be handled at run time?

Jason

On 6/26/2012 2:59 PM, Michael Aro wrote:
> I have been trying to override the code behind the "Finish" button on a
> custom data source wizard like XMLSelectionWizardPage in eclipse in
> other to authenticate to a server before continuing. This is necessary
> to be able to pull xml data.
Re: How to override the function for the "Finish" button on a Data Source Wizard P [message #892048 is a reply to message #892046] Tue, 26 June 2012 20:50 Go to previous messageGo to next message
Eclipse UserFriend
Jason,

I have changed the design. Previously, I wanted to add some code to the 'Finish' button at design time to make sure that the Eclipse client authenticate with the server given URL, username and password. But I am not so strict about it anymore as one could have a bad data source. Therefore, using the 'Test Connection' button to verify will be enough at design time. I can then set the login information as custom properties which I can get back in a Connection object that implements the IConnection interface. With this, I can authenticate at run-time.

Thanks for the reply.

Michael.
Re: How to override the function for the "Finish" button on a Data Source [message #892051 is a reply to message #892048] Tue, 26 June 2012 21:08 Go to previous message
Eclipse UserFriend
Michael

Thanks for the update.

Jason

On 6/26/2012 8:50 PM, Michael Aro wrote:
> Jason,
>
> I have changed the design. Previously, I wanted to add some code to the
> 'Finish' button at design time to make sure that the Eclipse client
> authenticate with the server given URL, username and password. But I am
> not so strict about it anymore as one could have a bad data source.
> Therefore, using the 'Test Connection' button to verify will be enough
> at design time. I can then set the login information as custom
> properties which I can get back in a Connection object that implements
> the IConnection interface. With this, I can authenticate at run-time.
> Thanks for the reply.
>
> Michael.
Previous Topic:BIRT chart engine issue
Next Topic:bigint problem
Goto Forum:
  


Current Time: Sat Jul 12 10:09:29 EDT 2025

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

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

Back to the top