Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.0

HTMLDropDownGeneratorForProcess

Scoped name

Abstract.HTMLDropDownGeneratorForProcess

Purpose

Inherit from this function if you want to have a drop down box, with dynamically loaded data on you page.

Usage

The normal usage is when you have an entity with a limited number of entries - and want to select one of these entries as part of the input for an event on a webpage.

Examples

Dynamically loaded drop downs are used in several of the business processes used by the administration interface of Websydian Express - for example on the user maintenance pages, where you can select a folder list that you want to assign to the user - this drop down is loaded based on the entries in the folder list table for the site.

Special considerations

Often you will use the same drop down box on many pages. This means that is a good idea to let HTMLDropDownGeneratorForProcess inherit from PageGeneratorNoPresentation as these pages normally will be used by several business processes that have more than one presentation. Inheriting from PageGeneratorNoPresentaion means that you do not have to create new templates for the drop down box for each presentation.

More information