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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
| <a4j:outputPanel id="listeRequetes">
<h:outputText value="#{messages['ecr_req_1.aucune.requete']}" rendered="#{listeRequetes.rowCount == 0}" />
<rich:panel styleClass="panelWidth97" rendered="#{listeRequetes.rowCount > 0}">
<rich:dataTable value="#{listeRequetes}" var="requete" styleClass="panelWidth"
onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
<rich:column styleClass="#{ecr_req_1.getStyle(requete)}">
<f:facet name="header">
<h:outputText value="#{messages['ecr_req_1.categorie']}" />
</f:facet>
<h:outputText value="#{requete.categorieRequete.libelle}" />
<a4j:support event="onclick" action="#{ecr_req_1.selectionnerRequete(requete)}"
reRender="listeRequetes,informationsRequete,barreAction" />
</rich:column>
<rich:column styleClass="#{ecr_req_1.getStyle(requete)}">
<f:facet name="header">
<h:outputText value="#{messages['ecr_req_1.libelle_requete']}" />
</f:facet>
<h:outputText value="#{requete.libelle}" />
<a4j:support event="onclick" action="#{ecr_req_1.selectionnerRequete(requete)}"
reRender="listeRequetes,informationsRequete,barreAction" />
</rich:column>
<rich:column styleClass="#{ecr_req_1.getStyle(requete)}">
<f:facet name="header">
<h:outputText value="#{messages['ecr_req_1.type']}" />
</f:facet>
<h:outputText value="#{requete.typeCourrier.libelle}" rendered="#{requete.categorieRequete.courrier}" />
<a4j:support event="onclick" action="#{ecr_req_1.selectionnerRequete(requete)}"
reRender="listeRequetes,informationsRequete,barreAction" />
</rich:column>
<rich:column styleClass="#{ecr_req_1.getStyle(requete)}">
<f:facet name="header">
<h:outputText value="#{messages['ecr_req_1.sousCategorie']}" />
</f:facet>
<h:outputText value="#{requete.sousCategorieRequete.libelle}"
rendered="#{not requete.categorieRequete.courrier}" />
<a4j:support event="onclick" action="#{ecr_req_1.selectionnerRequete(requete)}"
reRender="listeRequetes,informationsRequete,barreAction" />
</rich:column>
<rich:column styleClass="#{ecr_req_1.getStyle(requete)}" style="text-align:center;width:40px">
<f:facet name="header">
<h:outputText value="#{messages['ecr_req_1.executer']}" />
</f:facet>
<h:commandLink action="#{ecr_req_1.executer(requete)}" title="#{messages['ecr_req_1.executer']}"
rendered="#{reglesGestionHabilitationRequetes.isRgCHabReq3(requete) and not requete.categorieRequete.courrier}">
<h:graphicImage value="/img/icons/green-arrow.png" border="0" width="15px" height="15px"
styleClass="imgLink" />
</h:commandLink>
</rich:column>
</rich:dataTable>
</rich:panel>
</a4j:outputPanel> |
Partager