Logical Attribute Handlers for Option Lists
You configure the logical attribute handler that populates the option list in the Management Console. When you do so, be sure to complete the following tasks:
cim1265
You configure the logical attribute handler that populates the option list in the Management Console. When you do so, be sure to complete the following tasks:
- Define the following two logical attributes:
- One logical attribute to contain the values in the option list.In the handler, use the method initializeOptionList() to populate the list items.
- One logical attribute to display the values currently selected in the list.This logical attribute is like any other logical attribute you add to a task screen. It can be associated with one or more physical attributes, and it can be restricted to a single value or allow multiple values.In the handler, use the methods toPhysical() and toLogical() to convert values to and from this logical attribute and any associated physical attribute.
- Typically, you define a physical attribute that corresponds to the attribute that displays the selected values. This physical attribute/logical attribute relationship is like any other that does not involve an option list.
- Optionally, specify user-defined properties that the handler uses when populating the option list and processing the selected values. For example, you might pass in the name of a file that contains the items in the option list.