1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
<t:dataTable id="tableDevis" var="devisObject" styleClass="liste" width="100%"
binding="#{devisBean.tableDevis}" value="#{devisBean.devisTableObjects}"
footerClass="numberTotal" rowClasses="table-row0, table-row1"
columnClasses="text, text" cellspacing="1"
cellpadding="4" border="0" varDetailToggler="detailToggler">
<t:column>
<t:commandLink rendered="#{detailToggler.currentDetailExpanded}"
action="#{detailToggler.toggleDetail}">
<t:graphicImage url="../img/bt_expand_on.gif" alt="" />
</t:commandLink>
<t:commandLink rendered="#{!detailToggler.currentDetailExpanded}"
action="#{detailToggler.toggleDetail}">
<t:graphicImage url="../img/bt_expand_off.gif" alt="" />
</t:commandLink>
</t:column>
<t:column>
<f:facet name="header">
<t:outputText value="Pièce" />
</f:facet>
<t:outputText value="#{devisObject.piece.libelle}"
title="#{devisObject.piece.libelleLong}" />
</t:column>
<f:facet name="detailStamp">
<t:div id="tableDevisRowDetail">
<t:panelGrid columns="5">
<t:column>
<f:facet name="header">
<t:outputText value="Qté" />
</f:facet>
<t:outputText id="devisQuantite"
value="#{devisObject.quantiteFormatted}"
styleClass="columnNumber" />
<f:facet name="footer">
<h:panelGroup>
<t:outputText id="devisTotalQuantite"
value="#{devisBean.totalQuantite}" />
</h:panelGroup>
</f:facet>
</t:column>
</t:panelGrid>
</t:div>
</f:facet>
</t:dataTable> |
Partager