Import inicial do projeto.
[simdecs_seam.git] / SimDeCS / WebContent / layout / sort.xhtml
1 <ui:composition xmlns="http://www.w3.org/1999/xhtml"
2     xmlns:ui="http://java.sun.com/jsf/facelets"
3     xmlns:f="http://java.sun.com/jsf/core"
4     xmlns:h="http://java.sun.com/jsf/html"
5     xmlns:c="http://java.sun.com/jstl/core"
6     xmlns:s="http://jboss.com/products/seam/taglib">
7     <s:link styleClass="columnHeader" value="#{propertyLabel} #{entityList.orderColumn == propertyPath ? (entityList.orderDirection == 'desc' ? messages.down : messages.up) : ''}">
8         <f:param name="sort" value="#{propertyPath}"/>
9         <f:param name="dir" value="#{entityList.orderColumn == propertyPath and entityList.orderDirection == 'asc' ? 'desc' : 'asc'}"/>
10     </s:link>
11 </ui:composition>