This examples shows you quickly how to get started with using modal panel component in RichFaces (rich:modalPanel). Modal panel control really improves user experience. How many times have you opened a regular browser popup and then by mistake clicked the parent window or even somewhere else? If you do that, the popup window will disappear. You can try to open the window again but the popup might be minimized and jut reloading each.
Modal panel improves user experience where appropriate. With a modal panel, once the panel is opened, you can’t do anything with the parent window unless you OK or Cancel from the modal panel. Much better. Go to Help/About in any desktop application. You can’t do anything with the parent window. We would like to do the same thing.
Here is how it looks:
Leave a Reply