Class ZmMsgController
Extends
ZmMailListController.
This class controls the display and management of a single message in the content area. Since it
needs to handle pretty much the same operations as a list, it extends ZmMailListController.
Defined in: ZmMsgController.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates an empty message controller.
|
Method Summary
Method Attributes |
Method Name and Description |
|
show(msg, parentController, callback, markRead, hidePagination, forceLoad, noTruncate)
Displays a message in the single-pane view.
|
- Methods borrowed from class ZmMailListController:
- getMsg, isReadingPaneOn, isReadingPaneOnRight, sendReadReceipt, switchView
- Methods borrowed from class ZmListController:
- getCurrentSearchResults, getItemCount, getItems, getList, getListView, getSearchString, getSearchStringHint, getTabGroup, handleKeyAction, isDraftsFolder, isOutboxFolder, isSyncFailuresFolder, setHasMore, setList
- Methods borrowed from class ZmBaseController:
- getCurrentToolbar, getCurrentView, getItemView, isCurrent, setSessionId
- Methods borrowed from class ZmController:
- getApp, getCurrentViewId, getCurrentViewType, getKeyMapName, getNewFolderCallback, getSessionId, getViewElements, isTransient, mapSupported, popupErrorDialog, popupUploadErrorDialog, setCurrentViewId, setCurrentViewType
Class Detail
ZmMsgController(container, type, mailApp, sessionId)
Creates an empty message controller.
Author: Parag Shah, Conrad Damon.
- Parameters:
-
{DwtControl} container
- the containing shell
-
{constant} type
- type of controller
-
{ZmApp} mailApp
- the containing application
-
{string} sessionId
- the session id
Method Detail
show(msg, parentController, callback, markRead, hidePagination, forceLoad, noTruncate)
Displays a message in the single-pane view.
- Parameters:
-
{ZmMailMsg} msg
- the message to display
-
{ZmListController} parentController
- the controller that called this method
-
{AjxCallback} callback
- the client callback
-
{Boolean} markRead
- if
true , mark msg read
-
{Boolean} hidePagination
- if
true , hide the pagination buttons
-
forceLoad
-
noTruncate
|