<vb:each from="tabs" value="tab" key="tabid"> <li<vb:if condition="$selected == $tabid"> class="selected"</vb:if> id="{vb:raw tab.name}">