Skip to main content

%DeepSee.UI.Dialog.ListingGroupAdd

Class %DeepSee.UI.Dialog.ListingGroupAdd Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]

This dialog allows the user to define a new Listing Group

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

msgClass

Property msgClass As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please enter a valid class name.")} ];

msgGroup

Property msgGroup As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("A listing group name must be defined.")} ];

msgDefineRequest

Property msgDefineRequest As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please define a new Listing Group.")} ];

XDatas

Style

XData Style

dialogBody

XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]

Contents of the dialog body.

Methods

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the dialog. This should be implemented in a subclass.

%OnGetSubtitle

Method %OnGetSubtitle() As %String

Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.

nameChanged

ClientMethod nameChanged(value, field) [ Language = javascript ]

Take steps to clean the user modified name for the listing group.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

ondialogFinish

ClientMethod ondialogFinish(action) As %Boolean [ 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.

IsValidClassName

ClassMethod IsValidClassName(pClassName As %String) As %Boolean [ ZenMethod ]

Test if the given class name is valid.

SaveData

Method SaveData(pClassName) As %String [ ZenMethod ]

Save general association data to server and compile.

onloadHandler

ClientMethod onloadHandler() [ Language = javascript ]

This client event, if present, is fired when the page is loaded.

TrimSpaces

ClassMethod TrimSpaces(pName As %String) As %String [ ZenMethod ]

Remove all spaces inside a string.