The Save As dialog is a BI Beans thin bean, for use in an HTML-client application. It collects information from users about where to save a thin presentation bean in the BI Beans Catalog.
The ThinBeanUI
implementation of the Save As dialog is the oracle.dss.thin.beans.dataView.SaveAs
class. The UINode
for the Save As dialog is oracle.dss.thin.beans.dataView.SaveAsBean
.
To render the Save As dialog, your servlet must associate
the SaveAs
object with the SaveAsBean
object.
The JSP tag for this dialog is the SaveAs tag. In the UIX Language, the definition element is the saveAsDef element, and the UINode is the saveAs element.
The SaveAs
object should be stored
in the session, because it is used in conjunction with the Explorer
Detail bean, which is stored in the session.
The Save As dialog generates the following thin-bean events, which are defined in the oracle.dss.thin.beans.BIConstants
interface:
SAVE_EVENT
-- This is the event that the OK
navigation should initiate. This event is generated by the SaveAs.generateOnClickSubmit
method. Set
an event target on the SaveAs
for this event, to route
the event to the thin presentation bean that is being saved. The thin presentation
bean handles this event.
CANCEL_EVENT
-- This event indicates that the user has canceled. Set an event target to route this event to your application. See Setting Up OK and Cancel Navigation for a Thin Dialog for more information.
The Save As bean handles the BIConstants.INIT_EVENT
. The SaveAs
object passes this event to any ThinBeanDialogListener
implementations that have been registered with it.
Initialize the Save As dialog as you would initialize any thin bean dialog. In your initialization code, complete the following tasks:
Set the properties of the SaveAs
object to match the persistable attributes of the view that is being saved.
Associate the SaveAs
with an Explorer Detail by calling the
ExplorerDetail.setSaveAs
method.