4 Replies Latest reply on Aug 24, 2009 1:52 PM by Yasir Qureshi

    re-rendering inputtext

    Yasir Qureshi Newbie


      I am trying to re-render inputText from selection in a select list, it does not work, if I change inputtext to outputText it works just fine this is code:

      <h:selectOneListBox value="#{myBean.name}" valueChangeListener="#{myBean.doSelectOption}">
      <a4j:support event="onchange" reRender="nameInput"/>
      <f:selectItem itemValue="AB" itemLabel="AB"/>
      <f:selectItem itemValue="CD" itemLabel="CD"/>
      <h:inputText value="#{myBean.name}" id="nameInput">
      </h:inputText >