im trying to run the showcase example
here's my code :
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions"
>
<f:view>
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
</h:head>
<h:body>
<h:panelGrid columns="1" columnClasses="formColumn">
<h:outputText value="KeyFilter with mask on a p:inputText"/>
<p:inputText id="text1" required="true" style="margin-bottom: 10px;"/>
<h:outputText value="KeyFilter with regEx on a h:inputText"/>
<h:inputText id="text2" style="margin-bottom: 10px;">
<pe:keyFilter regEx="/[ABC]/i"/>
</h:inputText>
</h:panelGrid>
<pe:keyFilter for="text1" mask="num"/>
</h:body>
</f:view>
</html>