Messieurs j'utilise un composant
1 2 3 4 5 6 7 8
| <rich:comboBox id="categories" value="#{acquisitionBean.selected.libelle_cat}"
suggestionValues="#{acquisitionBean.list_categorie}"
selectFirstOnUpdate="false"
immediate="true"
defaultLabel="Selectionnez categorie..."
directInputSuggestions="true">
<a4j:support reRender="sous_categories,montants" event="onselect" action="#{acquisitionBean.doGetCategorie}"/>
</rich:comboBox> |
et un commandButton
<a4j:commandButton action="#{acquisitionBean.ajouter_categorie}" reRender="montants,outputpanel" value="Ajouter"/>
comment puis je remettre la valeur de ma combo au defaultLabel="Selectionnez categorie..." ou la vider carrément.
merci
Partager