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:

$class=atg.scenario.targeting.Slot
$description=displays dates
$scope=session
generation=0
maxRenderSize=2
ordering=1
retrieval=1
valueType=java.util.Date

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: