1 Reply Latest reply on May 26, 2008 9:35 AM by Jens Mueller

    modal panel drops message on screen after hiding

    Jens Mueller Novice

      Hi,
      i recently saw some strange behaviour of the modal panel. I use the modal panel as confirmation box for deletion of an item. the modalpanel is triggered from within a datable with:

      <a4j:commandButton id="delB" image="#{PathHandler.path}/del.gif" oncomplete="Richfaces.showModalPanel('deleteMPsource')" action="#{myBean.getObject}"
      reRender="deleteMPcollector"> </a4j:commandButton>
      


      in the bean the item gets preloaded and the message is loaded.
      sometimes the message is empty, as, i assume, the panel is rendered before the message is available. when selecting hiding the panel the panel disappears however the message
      "Richfaces.hideModalPanel('deleteMPcollector')"
      appears under my datatable. I did this many times before without this strange behaviour; the only thing that is different in this case, is that the object loaded in the background is quite huge.
      Smb any experiences with that?