Web browser support for modal dialogs is quite limited. To date, there is no standard browser support for rendering a complex modal dialog window. Fortunately, the ICEfaces library includes such a component.
To render a simple modal dialog with ICEfaces, we can use the
<ice:panelPopup> tag. This tag has a "header" and "body" facet to render the dialog title and message content, respectively.
modal attribute of the tag expects a Boolean value that determines whether the dialog is modal or not. When this attribute is set to true, the dialog appears centered over a transparent gray background that covers the entire screen. When this attribute is set to false, the dialog is displayed next ...