4 Replies Latest reply on Oct 26, 2007 6:59 AM by Pete Muir

    Universal JSF-native confirmation box

    Nicklas Karlsson Master


      I know there are javascript-workarounds that enable you to use the JS confirm() to confirm actions on commandlinks but my question is:

      Is there some way of intercepting (e.g. with some actionlistener and captureCurrentRequest/redirect magic) a commandlink (or button) and popup a view?

      In my example case I have a dirty flag on my entity and would like to confirm loading another entity over the changes. So that clicking "OK" would be just like the dialog had never been there.