1 Reply Latest reply on Nov 7, 2007 10:41 AM by madman1

    commandButton reRender problem

    madman1 Newbie

      I want select from java code the part of the page to reRender.

      I have something like this:

      <a4j:commandButton value="a" reRender="#{myBean.reRender}"/>


      I read the tld doc of the commandButton, and iI find this:

      commandButton:reRender:
      Id['s] (in format of call UIComponent.findComponent()) of components, rendered in case of AjaxRequest caused by this component. Can be single id, comma-separated list of Id's, or EL Expression with array or Collection

      And I tried this signatures for the method
      myBean.getReRender();


       public String[] getReRender() {
       .......
       }
      
       public Object[] getReRender(){
       ......
       }
      
       public List getReRender(){
       .......
       }
      
       public List<String> getReRender(){
       ......
       }
      


      But this methods never will be called. I don't know what is the problem.

      What is the correct signature.

      And something is important, this commandButton is inside a ModalPanel.[