If true, then this dialog displays an Apply button.
User needs USE permissions on the %Ens_MessageHeader resource to view this page.
Avoid writing out the session cookie if we are in a Studio session.
Get the (localized) subtitle string for the dialog.
Get the (localized) title string for the dialog.
Return a link to the search filter documentation. We use
Linkto ensure we include the server prefix.
Wrapper method around %ZEN.Portal.ContextSearch which ensures that we avoid using search keys. It returns the results to the client in
Add a Condition to the current Term. draw indicates whether the conditions should be redrawn.
Adjust size and position of components on this page, provided resize handling is not disabled.
Rebuild the local Condition array based on the Conditions in the Message Viewer window. Note that the local array contains clones of the parent data to ensure that discarded changes don't affect the original values.
Method to reinitialise the conditions when the class type is changed. newVal is the new class name.
Utility method to change properties of the local conditions. index is the index of the condition; property is the name of the property; newVal is the new value.
Method to reinitialize the local conditions list and display when the property type is changed. newVal is the new property type.
Helper method to draw the class selection component, which is generally an "HTML-selector", but may also be a disabled text box when we are performing a Header search.
Render the current list of conditions on the client.
Helper method to create an HTML-based selector component which behaves much like the core
Insert the criteria into the parent's Filter object.
Return the supported joins in an array. The htmlFormat flag indicates whether the values should be returned as an array of <option> elements. selected contains the value of the currently selected value, if any.
Return the supported operators in an array. The htmlFormat flag indicates whether the values should be returned as an array of <option> elements. selected contains the value of the currently selected value, if any.
Helper method to ensure that all selector modals are hidden.
Hide the selector modal for a specified input control.
This client event, if present, is fired when a popup page has specified this component as its parent and fires an action.
popupName is the name of the popup window sending the action.
action is the name of the action.
value is the value associated with the action.
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. Set a flag to indicate that the changes should be applied.
Ensure that we have been opened from the Message Viewer.
Ensure that we hide any modal divs to avoid nasty geometry problems.
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).
Callback to ensure that we pick up the chosen value and hide the modal div containing the options.
Remove a condition from the local conditions list.
Helper method to load a finder dialog for picking VDoc information. type specifies the property type, which should be either 'VDocPath' or 'VDocSegment'. position indicates whether it is the first or second part of the property. condition is the index of the condition being changed.
Open the search filter documentation in a new window .
Display the options for a selector based on the name of the input control passed in inputName. This also hides all other visible selector modals, and will hide this control if it was already visible. The method will also check whether we have enough information to fetch the contents. If not, we report an error and return.