I would like to use a modal dialog, as shown in the show case: http://www.primefaces.org/showcase/ui/dialog.jsf
It's not working, neither the modal neither the basic... I tried it in many places, and even with this very simple code:
Code: Select all
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
xmlns:sf="http://www.springframework.org/tags/faces" xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:sec="http://www.springframework.org/security/tags" xmlns:c="http://java.sun.com/jsp/jstl/core">
<p:dialog header="Modal Dialog" widgetVar="widgetTemp">
<h:outputText value="Resistance to PrimeFaces is futile!" />
</p:dialog>
</ui:composition>
any ideas please!? Thanks.