JSF Confirmation
My application looks and works great so far. My users will have a lot of crucial decisions to make, like deleting or editing entities or accepting applications which causes an email. For that reason I want to integrate a common form of confirmation. And that's why I ask you:
What's your favourite way of confirmation (infobox, confirmation page etc..) and how to implement it properly?
I am开发者_Python百科 looking forward to your ideas :-)
I will vote for a dialog:
you can user friendly PrimeFaces dialog.
- The simplest way would be to use javascript:
confirm("Are you sure?")
- A more stylable way would be to use
<rich:modalPanel>
with Yes/No, which in turn would submit the form. See an example
精彩评论