2 Replies Latest reply on Feb 16, 2011 12:52 PM by Robert Gary

    a4j:commandButton inComplete action??

    Robert Gary Newbie

      Richfaces 3.3.3.Final JBoss AS 6.0.0.Final

       

      I'm looking for a way that I can perform an operation after the backing bean action has completed. I've tried...

       

              <a4j:commandButton value="editButton" image="/xxx/images/modify.gif" action="#{backingBean.edit}"

                       oncomplete="Richfaces.showModalPanel('editPanel');"/>

       

       

      However, the panel is still displayed before the backing bean has a chance to run its edit method. I'm I misunderstanding the onComplete action?

       

      -Robert