I'm new in primefaces, I've joined an existing project, and I would like to open a dialog with a form. In a first time, I've tried to just display a message in a dialog as shown in this page : http://www.primefaces.org/showcase/ui/d ... essage.jsf, but my Eclipse tells me the following error message :
The method showMessageInDialog(FacesMessage) is undefined for the type RequestContext.
Same error if I try the openDialog method.mobdro.bio/ luckypatcher.tips/ kodi.bio/
Here is my faces-config.xml's content:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<faces-config
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
version="2.0">
<application>
<action-listener>org.primefaces.application.DialogActionListener</action-listener>
<navigation-handler>org.primefaces.application.DialogNavigationHandler</navigation-handler>
<view-handler>org.primefaces.application.DialogViewHandler</view-handler>
</application>
</faces-config>
Thanks in advance.