class %DeepSee.UI.Dialog.FieldList
extends %DeepSee.UI.Dialog.standardDialog
This dialog lets the user add or edit the Field List for a Listing.
An existing list (delimited by comma) may be passed in.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
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 GetDataSourceInfo(pRoot As %String, Output pTree, ByRef pParms)
as %Status
Provide contents of the data source tree.
classmethod GetSQLNames(sourceClass As %String, fullName As %String)
as %String
[ ZenMethod ]
Get SQL Names from property name. Similar logic as in IsDate of Architect.
method doEdit(editObj)
[ Language = javascript ]
User edited a field. Change background color and enable Update button.
method doRemove()
[ Language = javascript ]
User clicked the Remove image. Remove the field from Field List box.
method doUpdate()
[ Language = javascript ]
User clicked the Update button. Update the selected row with new value.
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method moveItem(dir)
[ Language = javascript ]
User clicked the Move Up/Down image. Move the field up or down one level in the Field List box. dir = "up" or "dn".
method selectProperty(sourceObj)
[ Language = javascript ]
User selected a property from the tree. Get the SQLName for the selected value and put it into the Field List box.
method selectedRow(fieldObj)
[ Language = javascript ]
User clicked a row from the list box. Put selected value into textarea box for editing.