2 Replies Latest reply on Apr 9, 2008 5:49 AM by Ilya Shaikovsky

    rerending of h:inputText inside a4j:repeat

    Deb Dutta Novice

      Hi I have a problem,
      within my a4j:repeat i have a inputText..
      on select of my List box i want to rerender this input text,so that value of input box will be changed can it will show the changed value..
      how can i do that?
      this is my stucture...where i have to add <a4j:region> to work correctly,
      please help

      <a4j:repeat value="#{bean.myList}" var="item">
      
      <h:inputText
       id="text1" value="#{item.text1}">
       </h:inputText>
       <h:selectOneListbox size="1" value="#{item.listvalueText}">
      
      
       <f:selectItems value="#{item.valuelist}" />
       <a4j:support event="onchange" immediate="true" action="#{bean.loadAction}"
       reRender="text1">
      
      
      </a4j:support>
      </h:selectOneListbox>
      </a4j:repeat >


      thanks in advance