1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| <h:form><rich:panel id="tablepanel" header="Liste des services" >
<h:panelGrid columns="1" style="text-align:center">
<rich:comboBox binding="#{ServiceBean.dataCombo}" id="servcbx" suggestionValues="#{ServiceBean.service_list}"
value="#{ServiceBean.current_service}" directInputSuggestions="true">
<a4j:support immediate="true" event="onselect" reRender="panelinfo" action="#{ServiceBean.selectvalue}" ajaxSingle="true"/>
</rich:comboBox>
</h:panelGrid>
</rich:panel>
<rich:panel id="panelinfo" header="Détails du responsable">
<h:panelGrid columns="2" width="400" style="text-align:left">
<h:selectBooleanCheckbox id="delegation" value="#{ServiceBean.service.delegation}" />
<h:outputText value="Délégation" />
<h:outputText value="Nom du responsable" />
<rich:comboBox id="utilisateur" suggestionValues="#{ServiceBean.user_list}"
defaultLabel=" " value="#{ServiceBean.current_user}" >
</rich:comboBox>
<h:outputText value="prénom du responsable" />
<h:inputText id="libelle" value="#{ServiceBean.cur_user_surname}"></h:inputText>
<h:outputText value="Téléphone du responsable" />
<h:inputText id="tel" value="#{ServiceBean.cur_user_tel}"></h:inputText>
</h:panelGrid>
</rich:panel> </h:form> |