| bea.com | products | dev2dev | support | askBEA |
![]() |
![]() |
|
|||||||
| e-docs > Liquid Data for WebLogic > Building Queries and Data Views > Other Functions |
|
Building Queries and Data Views
|
The other functions folder is where the if-then-else function is in the Data View Builder.
The xfext:if-then-else function accepts the value of a boolean parameter to select one of two other input parameters.
The If-then-else function is an extended function. For more information about extended functions, see Naming Conventions.
Liquid Data examines the value of the first parameter. If the condition is true, Liquid Data returns the value of the second parameter (then). If the condition is false, Liquid Data returns the value of the third parameter (else). If the returned condition is not a boolean value, Liquid Data generates an error.
XQuery Specification Compliance
This is an extended function. Liquid Data converts it to an XQuery if-then-else expression.
|
|
|