selectOneMenu « RichFaces « JSF Q&A

1. Using a4j:support's onchange event with h:selectOneMenu

<h:selectOneMenu id="selectOneMenu"  value="#{Bean1.val1}" >
    <f:selectItems value="#{Bean1.selectItems}"/>
    <a4j:support event="onchange" action="#{Bean1.onSelectOneMenuChange}" reRender="textbox1 , textbox2 , textbox3, textbox4"  />

<h:inputText id="textbox1" value="#{Bean1.textbox1}"> </h:inputText>
<h:inputText id="textbox2" value="#{Bean1.textbox2}"> </h:inputText>
<h:inputText ...

2. How to specify the order in which a rich:extendedDataTable selection and h:selectOneMenu value are applied

I'm working on an application that's basically a customised database administration tool. The page structure is basically the following:

  <h:selectOneMenu value='#{bean.selectedTable}'>
     <a4j:ajax event='change' ...

3. h:selectOneMenu labels not changing on a4j rerender

I have an h:selectOneMenu set up that looks something like this:

    <h:form id="tehForm">

4. selectOneMenu - a4j onchange do not work

I'm trying to make the following code working using a4j update. Here my souce code: File communauteThematiques.xhtml:

<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<ui:composition xmlns=""

5. JSF2: Is there any way to use a4j:param with rich:select or h:selectOneMenu

Is it possible to use with dropdown menus or is it also dependent on the parent object implementing ActionSource as the f:setPropertyActionLister is? Ideally I would have done something like ...

6. How to make two JSF selectOneMenus that depend on each other with AJAX?

I have two selectOneMenu. I need following:

  1. On first menu change I need to populate second one and some form's fields with AJAX
  2. On second menu change I need to populate only some ...

7. h:selectOneMenu is not working with jsf2

Recently we migrated to jboss-6.0.0.Final wiith richfaces-3.3.3.Final and jsf-2.0. After deployment we found the <h:selectOneMenu/> is not working properly if selectItems has the attribute 'noSelectionLabel' even <s:convertEnum/> is passed to the ...

8. Problem with Java Faces and h:selectOneMenu

I have a Modal form with three combos:

<h:panelGrid columns="3" id="parameterLabels" >
    <h:outputText id="lblCdrType" styleClass="formLabel" value="#{BRulesConfig.lblParameter307}:" />
    <h:selectOneMenu id="cmdCdrType" style="font-family:Verdana, Arial, Helvetica, sans-serif ;font-size: ...

9. jsf: how to uniquely populate selectOneMenu based on other selectOneMenu in each row in datatable

i am using datatable with multiple columns. first column has select combo for categories. on selection of category list of items should be populated in next combo in next column. this is ...

10. How to call action when select noSelectionLabel?

I have this code above which works perfectly when i select some of the items on him... The a4j:support works fine and rerender my another field correctly... The problem is if i ...