The <rich:modalPanel/>
tag allows modal panels to be displayed within a web page. A modal panel takes the focus of the web application, causing all other regions of the web page to be disabled until the modal panel is closed. In the following screenshot, a modal panel is displayed showing the copyright information for an application. Until the Close link is clicked, the rest of the web page is disabled.
A modal panel can contain any content that is allowed on a standard web page (text, images, links, and so on). With the <rich:modalPanel />
, the user can grab the title bar of the panel and drag the modal panel around the screen. Again, while this is being done, the panel retains its modal status, and the rest of the web page is not accessible.
The <rich:modalPanel />
has a JSF facet named header
. A JSF facet is a section of a control that can be defined separately from the control itself. In this case, the header
facet allows the header of the modal...