Extending ScriptedDataSetEventHandler
Options
In BIRT Report Designer I curretly have a scripted dataset with a Java event handler. This event handler connects succesfully to an EJB remote service to get the data. What I need to add for the initial connection is to pop up a dialog box to get the user to enter their authentication details.
Having only tinkerred briefly with Eclipse and BIRT I am unsure of the best approach to achieve this. Is there a BIRT extension point I should use to create a plugin that I can access from the event handler or should I create the dialog box in the event handler or something else.
If any BIRT guru can give me a a starter on the best approach it would be gratefully appreciated.
Kim
Having only tinkerred briefly with Eclipse and BIRT I am unsure of the best approach to achieve this. Is there a BIRT extension point I should use to create a plugin that I can access from the event handler or should I create the dialog box in the event handler or something else.
If any BIRT guru can give me a a starter on the best approach it would be gratefully appreciated.
Kim
0
Comments
-
Ashwini
Thank you for the suggestion which would work well for a few reports. However, the user will be designing many hundreds of reports and I don't want to have the parameter on every report.
The event handler is generic to all the reports and to make the user experience elegant I want them to log in once and then use the credentials as long as the report designer is open. My initial ideas where that I would check for the existence of a credential object on ThreadLocal. If it does not exist then the login dialog would appear, authenticate the user and save the credentials. If it did then we would use the existing values.
Cheers,
Kim0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 104 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax