Home > Class Reference > ENSLIB namespace > %DeepSee.UI.Dialog.ImageUpload

%DeepSee.UI.Dialog.ImageUpload

class %DeepSee.UI.Dialog.ImageUpload extends %DeepSee.UI.Dialog.standardDialog

This dialog lets the user upload an image into the "covers" directory.

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
parameter PAGENAME = Image Upload;
Displayed name of this page.

Properties (Including Private)

property fileName as %ZEN.Datatype.string (ZENURL = "FILE");
Name of image file.
Property methods: fileNameDisplayToLogical(), fileNameGet(), fileNameIsValid(), fileNameLogicalToDisplay(), fileNameLogicalToOdbc(), fileNameNormalize(), fileNameSet()

Methods (Including Private)

classmethod %GetImageDirectory() as %String
Return the physical directory in which cover images files are stored.
method %OnAfterCreatePage() as %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
classmethod %OnSubmit(pSubmit As %ZEN.Submit) as %Status
This callback is called when a form on this page is submitted. pSubmit is a %ZEN.Submit object containing details of the form submit.
Subclasses override this method.
clientmethod changeImage() [ Language = javascript ]
User has selected a new image.
clientmethod getDialogValue() [ Language = javascript ]
Inherited description: Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
clientmethod ondialogFinish(action) [ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

Inherited Members

Inherited Properties (Including Private)