Setting the type of filter

In our example we are using the ChoiceRenderer to create a dropdown list. The ChoiceRenderer delegates to a specific renderer depending on what displayType is selected by the ChoiceBuilder. We are creating a drop down list which is not based on a codetable, so we selected "listdropdown" for the the display type.

Figure 1. Setting the type of filter
043      choices.setTypeOfDisplay("listdropdown");