4 Replies Latest reply on Jun 1, 2011 6:33 PM by Ilya Shaikovsky

    commandButton not working

    lessonz Newbie
      <rich:popupPanel id="errorPopup" modal="true" show="#{testBean.userMessageWaiting}">
          <a4j:outputPanel>
              <h:outputText class="centered" binding="#{testBean.errorMessage}" />
              <a4j:commandButton action="#{testBean.clearUserMessages}"
                  render="testGrid, actionButtons, testPanel, errorPopup"
                  value="OK" />
          </a4j:outputPanel>
      </rich:popupPanel>
      

       

      I have this popup inside of the html tags and outside of all other tags (in case scope is an issue). I also tried a JSF commandButton. The outputText is getting the errorMessage (a property) from the backing bean. The problem is when the button is clicked, the clearUserMessages() method in the same backing bean is never called. I have logging in the method, and that's not being output. Any help would be greatly appreciated. Thanks.