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
|
<h:form id="searchForm" >
<table width="100%">
<tr><td align="left">
<h:outputText value="#{i18n.catalogue_recherche_nomenclature} "/>
<rich:comboBox enableManualInput="false" id="iNomenclature" selectFirstOnUpdate="false" suggestionValues="# {coherenceElementNomenclatureFilterBean.comboNomenclatureList}" value="#{coherenceElementNomenclatureFilterBean.nomenclatureSelected}" valueChangeListener="#{coherenceElementNomenclatureFilterBean.onNomenclatureChangeValue}" >
<a4j:support event="onselect" reRender="combo4data"/>
</rich:comboBox>
<h:panelGrid id="combo4data">
<c:if test="#{not empty coherenceElementNomenclatureFilterBean.lisCombosElementNomenclature}">
<a4j:repeat value="#{coherenceElementNomenclatureFilterBean.lisCombosElementNomenclature}" var="combo">
<h:outputText value="#{combo.libelleStructure}" rendered="#{not empty combo}"/>
<rich:comboBox enableManualInput="false" defaultLabel="" directInputSuggestions="false" selectFirstOnUpdate="true" valueChangeListener="#{coherenceElementNomenclatureFilterBean.onElementChangeValue}" rendered="#{not empty combo}" disabled="#{empty combo.listElements}" value="#{combo.idElementSelected}" >
<f:selectItems value="#{combo.listElements}" />
<a4j:support event="onselect" reRender="combo4data" action="#{coherenceElementNomenclatureFilterBean.returning}"/>
</rich:comboBox>
</a4j:repeat>
</c:if>
</h:panelGrid>
</td></tr>
<tr>
<td align="right">
<h:commandButton id="recherchecCATA" reRender="result" value="Rechercher" styleClass="rsButton" action="#{coherenceCataStartegieMarketing.filterCatalogue}"/>
<f:param name="idElement" value="#{coherenceElementNomenclatureFilterBean.elementNomenclatureSelected}" binding="#{coherenceCataStartegieMarketing.idElement}"/>
<a4j:commandButton id="efface" reRender="donneesRecherche" value="Effacer" styleClass="rsButton"/>
</td>
</tr>
</table>
</h:form> |