5 Replies Latest reply on Mar 3, 2010 11:10 AM by rhume

    newbie: how to do a confirmation dialog box?  with rich:moda

      Hi,

      I'm new to RichFaces. I have a basic show/hide rich:modalPanel working and it's pretty cool.

      My question is, I want to add "Are you sure?" text with "OK" and "Cancel" buttons where clicking "OK" causes an action of "#{myHandler.doDelete}" and clicking "Cancel" hides the modal panel.

      Can someone point me in the right direction with a simple example of rich:modelPanel that uses buttons this way?

      Or, if I'm barking up the wrong tree, is there a better way to do this in RichFaces?

      Thanks,
      rh