Save Confirmation Dialog

The Save Confirmation dialog is a BI Beans thin bean, for use in an HTML-client application. It allows users to confirm or to cancel the saving of a thin Dataview to the BI Beans Catalog.

The Save Confirmation dialog appears in two different scenarios:

The ThinBeanUI implementation of the Save Confirmation dialog is the oracle.dss.thin.beans.dataView.SaveConfirmation class. The UINode for the Save Confirmation dialog is oracle.dss.thin.beans.dataView.SaveConfirmationBean. To render the dialog, your servlet must associate the SaveConfirmation object with the SaveConfirmationBean object.

The JSP tag for this dialog is the SaveConfirmation tag. In the UIX Language, the definition element is the saveConfirmationDef element, and the UINode is the saveConfirmation element.

The SaveConfirmation does not need to be stored in the HTTP session.

Events that this bean generates

The Save Confirmation dialog generates the following thin-bean events, which are defined in the oracle.dss.thin.beans.BIConstants interface:

Event that this bean handles

The Save Confirmation dialog handles the BIConstants.INIT_EVENT. The SaveConfirmation object passes this event to any ThinBeanDialogListener implementations that have been registered with it.

Initializing the Save Confirmation dialog

Your application must account for the two ways in which the Save Confirmation dialog can be invoked.

Initializing from a Save button or hyperlink (for saving in place)

When it is invoked from a Save button or hyperlink, then you can initialize the Save Confirmation dialog as you would any of the thin dialogs. In your initialization code, complete the following tasks:

Initializing in a ThinViewListener (for confirming a save as over another object)

When a thin presentation bean tries to save itself under a different name or in a different location, and an object already exists by that name in that location, then the thin presentation bean calls the saveConfirmationRequested method of a ThinViewListener that is registered with the presentation bean. You must implement the ThinViewListener, initializing the Save Confirmation dialog in your implementation of saveConfirmationRequested. In your initialization code, complete the following tasks: