0 Replies Latest reply on Dec 5, 2007 8:59 AM by Janak Mewada

    <a4j:support> not updating Textbox value, but able to update

    Janak Mewada Newbie

      I want to update the value of a Textbox based on what user input in other Textbox.

      I am using <a4j:supoprt> Tag. It's able to update a Ouputtbox but when i replace with the Textbox, it's values is not getting updated.

      My page has following controlls

      <h:inputText size="50" value="#{bean.inputText}">
       <a4j:support event="onkeyup" reRender="rep1,rep2" ajaxSingle="true" actionListener="#{bean.actionListenerMethod}" />
      </h:inputText>
      
      
      <h:outputText value="OutputText : " /> <h:outputText value="#{bean.outText}" id="rep1" />
      <h:outputText value="Inputtext : " /> <h:inputText value="#{bean.outText}" id="rep2" />
      


      For above code, 'rep1' component is updated and rendered properly, but the 'rep2' which is a Textbox is not updating value.

      Any help or clue is welcome.