The Export Options dialog is a BI Beans thin bean, for use in an HTML-client application. It allows users to specify the data to export and the format for the exported data.
The ThinBeanUI
implementation of the Export Options dialog is
the oracle.dss.thin.beans.dataView.ExportOptions
class. The UINode
for the Export Options dialog is oracle.dss.thin.beans.dataView.ExportOptionsBean
.
Your servlet must associate
the ExportOptions
object with the ExportOptionsBean
.
The JSP tag for this dialog is the ExportOptions
tag. In the UIX Language, the definition element is the exportOptionsDef
element, and the UINode
is the exportOptions element.
The Export Options dialog collects information from the user, and the event that it generates is handled by the view whose data is being exported. It does not need to be stored in the HTTP session, but you can store it in the HTTP session if you want to reuse the dialog page. How you initialize the dialog depends on whether you store the ExportOptions
in the session or instantiate it only when it is needed.
The Export Options dialog generates the following thin-bean events, which are defined in the oracle.dss.thin.beans.BIConstants
interface:
EXPORT_EVENT
-- This is the event that the OK
navigation should initiate. It is generated by the ExportOptions.generateOnClickSubmit
method. Set
an event target on the ExportOptions
for this event, to
route the event to the thin presentation bean that is being exported. The
thin presentation bean handles this event.
CANCEL_EVENT
-- This event indicates that the user has canceled the export. Set an event target to route this event to your application.
See Setting Up OK and Cancel Navigation for a Thin Dialog for information about connecting these events to buttons or hyperlinks in the page that contains the thin dialog.
The Export Options bean handles the BIConstants.INIT_EVENT
. The ExportOptions
object passes this event to any ThinBeanDialogListener
implementations that have been registered with it.
Initialize the Export Options dialog as you would initialize any thin bean dialog. In your initialization code, set the view to export, by calling ExportOptions.setView
.