%CSP.UI.Component.SelectBoxUtils
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 componentProperty Inventory (Including Private)
Method Inventory (Including Private)
- DrawArrows()
- DrawArrowsOld()
- DrawAvailableList()
- DrawSelectList()
- DrawUpArrowsOld()
- clearList()
- doSelectBoxMove()
- doSelectBoxMoveAll()
- doSelectBoxMoveItem()
- doSelectBoxMoveList()
- getSelList()
Parameters
parameter avaList = avaList;
parameter selList = selList;
Properties (Including Private)
property avaList as %String [ InitialExpression = ..#avaList ];
Property methods: avaListDisplayToLogical(), avaListGet(), avaListIsValid(), avaListLogicalToDisplay(), avaListLogicalToOdbc(), avaListNormalize(), avaListSet()
property selList as %String [ InitialExpression = ..#selList ];
Property methods: selListDisplayToLogical(), selListGet(), selListIsValid(), selListLogicalToDisplay(), selListLogicalToOdbc(), selListNormalize(), selListSet()
Methods (Including Private)
classmethod DrawArrows(index As %String = "", isPage As %Boolean = 0) as %Status [ Language = objectscript ]
Draw arrows between Available and Selected list boxes.
classmethod DrawArrowsOld() [ Language = objectscript ]
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 [ Language = objectscript ]
Draw the beginning of the Available list box
method DrawSelectList(index As %String = "", isPage As %Boolean = 0, SelectedItems As %String = "") as %Status [ Language = objectscript ]
Draw the end of the Available list box, the arrows, and the Selected list box
classmethod DrawUpArrowsOld() [ Language = objectscript ]
Draw up and down arraws next to the Selected list box
Generic method used by other wizards
clientmethod clearList(listID, isPage) [ Language = javascript ]
Clear all options from a box (except for the first, instructional one)
clientmethod doSelectBoxMove(flag, isPage) [ Language = javascript ]
clientmethod doSelectBoxMoveAll(from, to) [ Language = javascript ]
clientmethod doSelectBoxMoveItem(list, bUp) [ Language = javascript ]
clientmethod doSelectBoxMoveList(from, to) [ Language = javascript ]
clientmethod getSelList(delim, includeLeadingDelim, isPage) [ Language = javascript ]
Return a delimited string of selected items