I am using facelets and do include a menu bar on top of the page via <ui:include> in the main template.
how could I call a modal panel from a menu if the modal panel is defined in another xhtml-file?
I want to reach that you could call some modal dialog boxes from evrywhere. Do I have to include the panels in every single file or the template or is there another way?
You may call modal panel - only via client JS so it must present on the page.