abstract class %CSP.UI.Component.SelectBoxUtils
Utility methods for "available-selected" list box components
If isPage = 1, the list boxes are drawn on a page, not as part of a component
parameter avaList = "avaList";
parameter selList = "selList";
property avaList
as %String [ InitialExpression = ..#avaList ];
property selList
as %String [ InitialExpression = ..#selList ];
classmethod DrawArrows(index As %String = "", isPage As %Boolean = 0)
as %Status
Draw arrows between Available and Selected list boxes.
classmethod DrawArrowsOld()
Draw arrows between Available and Selected list boxes.
Generic method used by other wizards
method DrawAvailableList(index As %String = "", isPage As %Boolean = 0)
as %Status
Draw the beginning of the Available list box
method DrawSelectList(index As %String = "", isPage As %Boolean = 0, SelectedItems As %String = "")
as %Status
Draw the end of the Available list box, the arrows, and the Selected list box
classmethod DrawUpArrowsOld()
Draw up and down arraws next to the Selected list box
Generic method used by other wizards
method clearList(listID, isPage)
[ Language = javascript ]
Clear all options from a box (except for the first, instructional one)
method doSelectBoxMove(flag, isPage)
[ Language = javascript ]
method doSelectBoxMoveAll(from, to)
[ Language = javascript ]
method doSelectBoxMoveItem(list, bUp)
[ Language = javascript ]
method doSelectBoxMoveList(from, to)
[ Language = javascript ]
method getSelList(delim, includeLeadingDelim, isPage)
[ Language = javascript ]
Return a delimited string of selected items