posted 14 years ago
I discussed something like the the other day, which was the usefulness of a "confirm" action button tag. Which, as far as I know, no one has yet implemented, but things are slow today, so....
Your first issue is that since Actions are server-side, but confirmations are client-side, you're either going to have to pop over to a confirmation page or implement an AJAX function.
In either of the above 2 events, you'd probably best be served by having a backing been in request scope that can be filled with the question and receives the answer. I don't think an actionListener is necessarily going to help here.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.