If Tag
The if tag implements a simple IF THEN conditional branch. It uses the following format:
<div od-if condition="business_service,business_service_method,argument1:value1,argument2:value2,..."> ... <!--od section if close–>
where:
condition. Defines the condition.
argument:value defines an argument and value pair.
If SWE evaluates the condition to:
TRUE. It processes the body of the if tag.
FALSE. It ignores the body of the if tag.
You can use the if tag with any business service, such as a custom business service that examines an HTTP header. The output arguments for this business service must contain a property that includes the name of the business service method and a value of 1 or 0 that indicates if the condition is true or false.
The predefined Web Engine State Properties business service supports the following conditions:
IsEvenRow
IsOddRow
IsCurrentRow
IsErrorRow
IsRowMultipleOf
IsRowPositionOf
IsLastDisplayedRow
IsHighInteractive
IsHighInteractiveApplet
IsLowInteractive
Invalid