6 Replies Latest reply on May 22, 2007 12:50 PM by Alexander Smirnov

    input fields within a4j:repeat

    Zwirek Zwirek Newbie


      A have a problem with rerendering input fields within a4j:repeat
      (and h:dataTable) tag.

      My jsp code:

      <a4j:outputPanel id="panelPie">
      <a4j:repeat value="#{AgeBean.age.pieList}" var="pie" id="listaRepeat">
       <a4j:region id="rrr">
       <h:inputText value="#{pie.numer}" id="numerPie" styleClass="inp"/>
       <a4j:commandButton value="Add" action="#{AgeBean.addPie}" reRender="panelPie"/>

      My managed bean method:
       public void addPie(){
       Pie ent = new Pie();

      When I click _in Firefox_ "Add" button and write something in my new created
      input text field and then click "Add" button again, this input field is
      rerendered as blank field (in managed bean I have null value for pie.numer

      In IE 6.0 everything works.
      A4J, version 1.1.1 (1.1.0 too).
      JSF RI, Implementation-Version: 1.1_02-b08 (from OC4J

      Sorry for my English.
      Best regards