0 Replies Latest reply on Oct 19, 2010 5:21 PM by Jose Miguel Loor

    Binded outputPanel does not rerender

    Jose Miguel Loor Apprentice

      hello

       

      i have the following code in my xhtml page:

       

      <rich:panel id="mainPanel" style="text-align:left;">
           <a4j:outputPanel id="paramsPanel" binding="#{parametroController.paramsPanel}" />
           <a4j:outputPanel id="commandPanel">
                <a4j:commandButton id="saveCommandButton" actionListener="#{parametroController.saveActionListener}" reRender="mainPanel" />
           </a4j:outputPanel>
      </rich:panel>

       

      as you see, the paramsPanel is binded to a controller class. The first time the page is loaded, the paramsPanel binding is called (the getter method) and a bunch of controls is dinamically created.

       

      When i hit the saveCommandButton the saveActionListener is called correctly and everything is saved to the database; but, the binded panel is not refreshed. I have traced the code and the associated getter method is not called again on reRender;

       

      why could be the problem ??

       

      thanks