rendered paste body<ui:component
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:s="http://myfaces.apache.org/sandbox">
<t:div styleClass="#{styleClass}" rendered="#{rendered}">
<h:form>
<t:div id="divSort" styleClass="direita">
<t:dataList value="#{bean.sortDefinitions}" var="sortDefinition">
<h:outputLink title="#{sortDefinition.fieldDefinition.label}" value="#" onclick="form.submit();">
<t:updateActionListener property="#{bean.sortDefinition}" value="#{sortDefinition}"/>
<h:outputText value="#{sortDefinition.fieldDefinition.label}" />
</h:outputLink>
</t:dataList>
</t:div>
<!--
<h:outputLabel for="sortFields" value="#{label}" styleClass="#{labelClass}"/>
<h:selectOneMenu id="sortFields" value="#{bean.sortDefinition}"
converter="jigsaw.SortDefinitionConverter" onchange="form.submit();">
<s:selectItems value="#{bean.sortDefinitions}" var="sortDefinition" itemLabel="#{sortDefinition.fieldDefinition.label}" itemValue="#{sortDefinition}" />
</h:selectOneMenu>
-->
</h:form>
</t:div>
</ui:component>