This is the Message Resend page of the ZEN application.
We always do a "resend" from the message viewer page but a "resubmit" from the suspended messages page.
If true, this is the second time through this page and we are definitely resending the message. Otherwise it is the first time through.
property Suspended
as %ZEN.Datatype.boolean(ZENURL="SUSP") [ InitialExpression = 0 ];
If supplied and true, this tells us that the parent page is the suspended messages page rather than the message viewer page.
We always do a "resend" from the message viewer page but a "resubmit" from the suspended messages page.
Resend - clone a new header for the message and send with the new header.
Resubmit - do not clone a new header for the message, instead resubmit using the old header.
property canViewContents
as %ZEN.Datatype.boolean [ InitialExpression = $system.Security.Check("%Ens_MessageContent","USE") ]; property canViewHeaders
as %ZEN.Datatype.boolean [ InitialExpression = $system.Security.Check("%Ens_MessageHeader","USE") ]; property canViewTrace
as %ZEN.Datatype.boolean [ InitialExpression = $system.Security.Check("%Ens_MessageTrace","USE") ]; property messageDisplayPage
as %ZEN.Datatype.string [ InitialExpression = "EnsPortal.Dialog.MessageBodyDisplay.zen" ];
Page to use for displaying message content.
property messageTracePage
as %ZEN.Datatype.string [ InitialExpression = "EnsPortal.VisualTrace.zen" ];
Page for displaying the visual trace.
property resendResultPage
as %ZEN.Datatype.string [ InitialExpression = "EnsPortal.MessageResendAfter.zen" ];
Page to use for displaying the results of the resend.
property viewerPage
as %ZEN.Datatype.string [ InitialExpression = "EnsPortal.MessageViewer.zen" ];
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List)
as %Status
method onunloadHandler()
[ Language = javascript ]
This client event, if present, is fired when the page is unloaded.
If this method returns a string value, then that is used as the
return value of the HTML page's onbeforeunload handler (if more than
one component returns a string, the first one encountered is used).
method saveEdit()
[ Language = javascript ]
This method is invoked when the user clicks OK on the automatically generated HTML form
from DrawHTMLFields(). It references fields on the form and submits the form.
Then it displays the URL provided when the form was created in DrawHTMLFields().
method showBody(messageId)
[ Language = javascript ]
Update the details for a selected message.
method showHeader(messageId)
[ Language = javascript ]
Update the details for a selected message.
method showTrace(session)
[ Language = javascript ]
User clicked a link for Trace. Display the Visual Trace page in a popup,
so user can click the arrows to go from session to session without losing his/her place in the display.