Siebel Developer's Reference > Siebel Web Engine Tags > Program Logic Tags >

If Tag


The if tag implements a simple IF THEN conditional branch. It uses the following format:

<swe:if condition="business_service,business_service_method,argument1:value1,argument2:value2,..."> ... </swe:if>

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
Siebel Developer's Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.