6 Replies Latest reply on Sep 12, 2008 1:54 AM by Little Prince

    How to show a modal panel after actionlistener?

    Little Prince Newbie

      Hi all,
      my problem is as below.
      i want to populate some data inside a modal panel.
      so i want to call actionlistener before onclick on modal panel.

      <h:commandLink value="#{mydata.day}" actionListener="#{someActionToPopulateData}"
       onclick="Richfaces.showModalPanel('panel');"></h:commandLink>
      


      But it always call onclick before calling actionListener. How to resolve this problem?

      Thanks