Refactoring

This commit is contained in:
dahoud
2026-03-01 22:00:28 +00:00
parent c0e2c4da45
commit 6b28cf751e
469 changed files with 26866 additions and 14768 deletions

View File

@@ -1,7 +1,5 @@
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:p="http://primefaces.org/ui">
<!--
Composant colonne Texte avec icône réutilisable - DRY/WOU
@@ -14,12 +12,13 @@
</ui:include>
-->
<p:column headerText="#{headerText}"
style="#{not empty width ? 'width: ' += width : ''}">
<p:column headerText="#{headerText}" sortBy="#{sortBy}" filterBy="#{filterBy}"
filterMatchMode="#{empty filterMatchMode ? 'contains' : filterMatchMode}"
style="#{not empty width ? 'width: ' += width : ''}">
<ui:fragment rendered="#{not empty icon}">
<i class="#{icon} mr-1"></i>
<i class="#{icon} mr-1 text-primary"></i>
</ui:fragment>
<h:outputText value="#{text}"/>
<h:outputText value="#{text}" styleClass="#{not empty styleClass ? styleClass : ''}" />
<ui:insert />
</p:column>
</ui:composition>
</ui:composition>