Condition elements follow and further qualify an Event element, essentially adding an “if” statement to it. The options that appear for the condition vary according to the event that the condition follows.

Element

Use

Event’s

Uses properties of the associated ATG event to qualify the scenario Event element. See Using Event Elements in Scenarios for more information.

Variable

Qualifies the event using a variable that you defined earlier in this segment. (You use Set Variable Action elements to define variables. See Using Action Elements in Scenarios for more information.)

Request’s

Qualifies the event using the contents or characteristics of the HTTP request issued to the ATG system by the visitor’s Web browser.

Browser’s

Qualifies the event according to a characteristic or setting of the site visitor’s Web browser. Example:

Browser's supports cookies is true

Locale’s

Adds a locale-related qualification to the event.

Locale-related elements are relevant if you are working on a Web site that displays content in different languages depending on the language setting in a visitor’s browser. For more information about localization and internationalization, refer to the ATG Programming Guide.

Today’s

Uses a specific date or time to qualify the event. Example:

Today's dateAsDate is after Dec 1, 2001, 12:00 AM

For more information, refer to the next section, Using the Today’s Condition.

 
loading table of contents...