0 Replies Latest reply on Jun 27, 2007 11:11 AM by Tandeep Sidhu

    Trouble running simple ajax4jsf enabled page

    Tandeep Sidhu Newbie

      I am trying to run this simple jsf application with ajax4jsf support. On change of the option in the options list, I would like to update the label. Trouble is that the label only updates after 2 or 3 options are selected.

      Anyone got any ideas why this might be happeing?

      Here is the code.

      <h:selectOneMenu value="#{nontermCourseBean.type}" >
       <f:selectItem itemLabel="Organization" itemValue="Organization" />
       <f:selectItem itemLabel="Master Course" itemValue="Master Course" />
       <f:selectItem itemLabel="Test" itemValue="Test" />
       <a4j:support event="onchange" reRender="orgnamelabel" ajaxSingle="true" />
       <br />
       <h:outputLabel id="orgnamelabel" value="#{nontermCourseBean.type} Name"></h:outputLabel>

      Bean Config: