Slot components can contain repository items, as described previously, or they can contain objects of types String, Date, Long, or Double. Slots that are designed to display these objects are of class atg.scenario.targeting.Slot. The following .properties file shows a component instance of this class:

$description=displays dates

The valueType property specifies the Class object of the type of values that the slot will display.

The process for creating a slot of this type is almost identical to the process for creating a repository item slot; see the previous section for details. The exceptions are as follows:

loading table of contents...