<f:if condition=”{backgroundColor}==’pink'”>

<f:then>
<v:variable.set name=”id” value=”light-red”></v:variable.set>
<v:variable.set name=”class” value=”light-red-section “></v:variable.set>
</f:then>
<f:else>
<v:variable.set name=”id” value=”white-section”></v:variable.set>
<v:variable.set name=”class” value=””></v:variable.set>
</f:else>
</f:if>

<section id=”{id}” class=”{class}fadeInDown animated”>

Advertisements