Time for action – installing and configuring PrimeFaces extensions
Let us see how we can install PrimeFaces extensions and configure it.
- Configure a
primefaces-extensions.jar
dependency inpom.xml
:<dependency> <groupId>org.primefaces.extensions</groupId> <artifactId>primefaces-extensions</artifactId> <version>1.0.0</version> </dependency>
- Add a
primefaces-extensions
namespace and use any of its components. Let us use tooltip component'sautoShow
feature:<!DOCTYPE html> <html xmlns="http://www.w3c.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui" xmlns:pe="http://primefaces.org/ui/extensions"> <h:head> </h:head> <h:body> <h:form style="width: 800px; margin: 0 auto;"> <h:panelGrid column="3"> <h:outputLabel value="Name:" /> <p:inputText id="name...