Hybrid Integration
10.1
|
Integrating On-Premises Applications
|
Document Conventions
|
Using Dynamic Server Pages (DSPs)
|
Using the DSP Tags
|
Conditionally Executing Blocks of Code
Conditionally Executing Blocks of Code
Building Conditional Blocks With the %ifvar% Tag
Testing for a Particular Value
Building Conditional Blocks with the %switch% Tag
Specifying a Default Case
There are two tags you can use to conditionally execute code in a DSP:
%ifvar%
and
%switch%
. Both tags selectively execute a block of code based on the existence or value of a variable at run time.
Copyright ©
2015
- 2017
| Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.