0 Replies Latest reply on May 20, 2009 4:09 PM by fkj

    Help with jQuery mask plugin

    fkj

      I'm trying to use jQuery mask plugin but it's not working.

       <?xml version="1.0" encoding="UTF-8"?>
       <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:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich">
      
       <h:inputText id="teste" value="#{clienteBean.cpf}" maxlength="18"
       size="25">
       <rich:jQuery selector="#teste" query="mask('999.999.999-99')" />
      
       </h:inputText>
       </ui:composition>
      


      Am I missing something?

      Thanks,
      Felipe