I would like to compare an enum in <isif>
condition, something like:
<isif condition="#benefit:type == BenefitTypeEnum:Discount#">
<!-- Do discount specific code here -->
</isif>
Is something like that possible?
I found out that the following is possible to use enums in ISML:
<isif condition="Benefit:Type EQ 'DISCOUNT'">
<!-- Discount specific code here -->
</isif>
In this example 'DISCOUNT'
is the name of the enum value in Java