I'm doing a test of pe: keyFilter, but I had a javascript error.
xhtml
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<!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:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions">
<ui:composition template="/template_login.xhtml">
<ui:define name="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:panelGrid>
<pe:keyFilter for="text1" mask="num"/>
</ui:define>
</ui:composition>
</html>
Code: Select all
TypeError: PrimeFaces.expressions is undefined
http://localhost:8080/sgcrm-war/faces/javax.faces.resource/keyfilter/keyfilter.js?ln=primefaces-extensions-uncompressed&v=null
Line 168
Any idea what can be happening
Thanks
primefaces 4.0
primefaces-extensions-2.0.0
glassfish 3.1.2.2